@allbluecn/database 0.9.0 → 0.9.2

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.
Files changed (132) hide show
  1. package/desktop-init.ts +2 -2
  2. package/dist/get-prisma.js +1 -1
  3. package/dist/lib/share-utils.js +3 -3
  4. package/generated/browser.ts +115 -25
  5. package/generated/client.ts +115 -25
  6. package/generated/commonInputTypes.ts +34 -0
  7. package/generated/enums.ts +14 -0
  8. package/generated/internal/class.ts +234 -54
  9. package/generated/internal/prismaNamespace.ts +2190 -511
  10. package/generated/internal/prismaNamespaceBrowser.ts +391 -76
  11. package/generated/models/AgentConversation.ts +89 -89
  12. package/generated/models/AiProvider.ts +3 -3
  13. package/generated/models/AiStreamChunk.ts +3 -3
  14. package/generated/models/AnyHubMarketApp.ts +8 -8
  15. package/generated/models/AuditLog.ts +6 -6
  16. package/generated/models/BlockInstance.ts +17 -17
  17. package/generated/models/Bug.ts +5023 -0
  18. package/generated/models/BugActivity.ts +1765 -0
  19. package/generated/models/BugComment.ts +1853 -0
  20. package/generated/models/BugEvent.ts +1339 -0
  21. package/generated/models/BugFilterView.ts +1438 -0
  22. package/generated/models/BugFixRun.ts +1479 -0
  23. package/generated/models/BugLabel.ts +1349 -0
  24. package/generated/models/BugProjectSettings.ts +1403 -0
  25. package/generated/models/BugReproRun.ts +1582 -0
  26. package/generated/models/ChatPersistenceMeta.ts +3 -3
  27. package/generated/models/Comment.ts +99 -99
  28. package/generated/models/Component.ts +9 -9
  29. package/generated/models/ComponentInstance.ts +17 -17
  30. package/generated/models/CustomRole.ts +8 -8
  31. package/generated/models/Design.ts +2872 -0
  32. package/generated/models/DesignPage.ts +2402 -0
  33. package/generated/models/DesignTag.ts +1430 -0
  34. package/generated/models/DesignVersion.ts +2121 -0
  35. package/generated/models/DesktopSetting.ts +3 -3
  36. package/generated/models/Iteration.ts +148 -0
  37. package/generated/models/Label.ts +118 -0
  38. package/generated/models/LicenseKey.ts +16 -16
  39. package/generated/models/NotificationPreference.ts +5 -5
  40. package/generated/models/PageVersion.ts +49 -49
  41. package/generated/models/Plan.ts +5 -5
  42. package/generated/models/Project.ts +1970 -58
  43. package/generated/models/ProjectAccessToken.ts +1705 -0
  44. package/generated/models/ProjectWebhook.ts +1409 -0
  45. package/generated/models/Review.ts +118 -118
  46. package/generated/models/Share.ts +83 -83
  47. package/generated/models/ShareVersion.ts +15 -15
  48. package/generated/models/SsoProvider.ts +8 -8
  49. package/generated/models/Story.ts +973 -87
  50. package/generated/models/StoryDesignLink.ts +1430 -0
  51. package/generated/models/StoryFilterView.ts +12 -12
  52. package/generated/models/SystemPromptVersion.ts +6 -6
  53. package/generated/models/Tag.ts +49 -49
  54. package/generated/models/TestAutomationArtifact.ts +1790 -0
  55. package/generated/models/TestCase.ts +3568 -0
  56. package/generated/models/TestCaseFilterView.ts +1587 -0
  57. package/generated/models/TestCaseFolder.ts +1795 -0
  58. package/generated/models/TestExecRun.ts +1673 -0
  59. package/generated/models/TestGenerationRun.ts +1952 -0
  60. package/generated/models/TestPlan.ts +1950 -0
  61. package/generated/models/TestPlanCase.ts +1430 -0
  62. package/generated/models/TestRun.ts +1979 -0
  63. package/generated/models/TestRunCase.ts +2772 -0
  64. package/generated/models/ThirdPartyDependency.ts +19 -15
  65. package/generated/models/User.ts +12141 -2721
  66. package/generated/models.ts +26 -8
  67. package/generated-sqlite/browser.ts +8 -23
  68. package/generated-sqlite/client.ts +8 -23
  69. package/generated-sqlite/internal/class.ts +20 -50
  70. package/generated-sqlite/internal/prismaNamespace.ts +166 -437
  71. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +25 -71
  72. package/generated-sqlite/models/AgentConversation.ts +89 -89
  73. package/generated-sqlite/models/AiProvider.ts +3 -3
  74. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  75. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  76. package/generated-sqlite/models/BlockInstance.ts +17 -17
  77. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  78. package/generated-sqlite/models/Comment.ts +99 -99
  79. package/generated-sqlite/models/Component.ts +9 -9
  80. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  81. package/generated-sqlite/models/Design.ts +2679 -0
  82. package/generated-sqlite/models/DesignPage.ts +2398 -0
  83. package/generated-sqlite/models/DesignTag.ts +1426 -0
  84. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  85. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  86. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  87. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  88. package/generated-sqlite/models/PageVersion.ts +49 -49
  89. package/generated-sqlite/models/Review.ts +118 -118
  90. package/generated-sqlite/models/Share.ts +83 -83
  91. package/generated-sqlite/models/ShareVersion.ts +15 -15
  92. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  93. package/generated-sqlite/models/Tag.ts +49 -49
  94. package/generated-sqlite/models/User.ts +1201 -1321
  95. package/generated-sqlite/models/Workspace.ts +164 -0
  96. package/generated-sqlite/models.ts +4 -7
  97. package/index.ts +17 -3
  98. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  99. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  100. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  101. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  102. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  103. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  104. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  105. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  106. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  107. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  108. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  109. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  110. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  111. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  112. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  113. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  114. package/package.json +4 -4
  115. package/schema.prisma +687 -177
  116. package/schema.sqlite.prisma +149 -151
  117. package/src/lib/share-utils.ts +2 -2
  118. package/generated/models/Artboard.ts +0 -1811
  119. package/generated/models/ArtboardExport.ts +0 -1548
  120. package/generated/models/DesignProject.ts +0 -1643
  121. package/generated/models/PRD.ts +0 -2805
  122. package/generated/models/PRDPage.ts +0 -2402
  123. package/generated/models/PRDTag.ts +0 -1430
  124. package/generated/models/PRDVersion.ts +0 -2121
  125. package/generated/models/StoryPrdLink.ts +0 -1430
  126. package/generated-sqlite/models/Artboard.ts +0 -1808
  127. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  128. package/generated-sqlite/models/DesignProject.ts +0 -1640
  129. package/generated-sqlite/models/PRD.ts +0 -2616
  130. package/generated-sqlite/models/PRDPage.ts +0 -2398
  131. package/generated-sqlite/models/PRDTag.ts +0 -1426
  132. package/generated-sqlite/models/PRDVersion.ts +0 -2117
@@ -0,0 +1,1790 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `TestAutomationArtifact` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.ts"
13
+ import type * as Prisma from "../internal/prismaNamespace.ts"
14
+
15
+ /**
16
+ * Model TestAutomationArtifact
17
+ *
18
+ */
19
+ export type TestAutomationArtifactModel = runtime.Types.Result.DefaultSelection<Prisma.$TestAutomationArtifactPayload>
20
+
21
+ export type AggregateTestAutomationArtifact = {
22
+ _count: TestAutomationArtifactCountAggregateOutputType | null
23
+ _avg: TestAutomationArtifactAvgAggregateOutputType | null
24
+ _sum: TestAutomationArtifactSumAggregateOutputType | null
25
+ _min: TestAutomationArtifactMinAggregateOutputType | null
26
+ _max: TestAutomationArtifactMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type TestAutomationArtifactAvgAggregateOutputType = {
30
+ caseVersion: number | null
31
+ }
32
+
33
+ export type TestAutomationArtifactSumAggregateOutputType = {
34
+ caseVersion: number | null
35
+ }
36
+
37
+ export type TestAutomationArtifactMinAggregateOutputType = {
38
+ id: string | null
39
+ caseId: string | null
40
+ caseVersion: number | null
41
+ kind: string | null
42
+ status: string | null
43
+ language: string | null
44
+ code: string | null
45
+ targetPath: string | null
46
+ createdById: string | null
47
+ createdAt: Date | null
48
+ adoptedAt: Date | null
49
+ }
50
+
51
+ export type TestAutomationArtifactMaxAggregateOutputType = {
52
+ id: string | null
53
+ caseId: string | null
54
+ caseVersion: number | null
55
+ kind: string | null
56
+ status: string | null
57
+ language: string | null
58
+ code: string | null
59
+ targetPath: string | null
60
+ createdById: string | null
61
+ createdAt: Date | null
62
+ adoptedAt: Date | null
63
+ }
64
+
65
+ export type TestAutomationArtifactCountAggregateOutputType = {
66
+ id: number
67
+ caseId: number
68
+ caseVersion: number
69
+ kind: number
70
+ status: number
71
+ language: number
72
+ code: number
73
+ targetPath: number
74
+ verifyRun: number
75
+ createdById: number
76
+ createdAt: number
77
+ adoptedAt: number
78
+ _all: number
79
+ }
80
+
81
+
82
+ export type TestAutomationArtifactAvgAggregateInputType = {
83
+ caseVersion?: true
84
+ }
85
+
86
+ export type TestAutomationArtifactSumAggregateInputType = {
87
+ caseVersion?: true
88
+ }
89
+
90
+ export type TestAutomationArtifactMinAggregateInputType = {
91
+ id?: true
92
+ caseId?: true
93
+ caseVersion?: true
94
+ kind?: true
95
+ status?: true
96
+ language?: true
97
+ code?: true
98
+ targetPath?: true
99
+ createdById?: true
100
+ createdAt?: true
101
+ adoptedAt?: true
102
+ }
103
+
104
+ export type TestAutomationArtifactMaxAggregateInputType = {
105
+ id?: true
106
+ caseId?: true
107
+ caseVersion?: true
108
+ kind?: true
109
+ status?: true
110
+ language?: true
111
+ code?: true
112
+ targetPath?: true
113
+ createdById?: true
114
+ createdAt?: true
115
+ adoptedAt?: true
116
+ }
117
+
118
+ export type TestAutomationArtifactCountAggregateInputType = {
119
+ id?: true
120
+ caseId?: true
121
+ caseVersion?: true
122
+ kind?: true
123
+ status?: true
124
+ language?: true
125
+ code?: true
126
+ targetPath?: true
127
+ verifyRun?: true
128
+ createdById?: true
129
+ createdAt?: true
130
+ adoptedAt?: true
131
+ _all?: true
132
+ }
133
+
134
+ export type TestAutomationArtifactAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
+ /**
136
+ * Filter which TestAutomationArtifact to aggregate.
137
+ */
138
+ where?: Prisma.TestAutomationArtifactWhereInput
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
141
+ *
142
+ * Determine the order of TestAutomationArtifacts to fetch.
143
+ */
144
+ orderBy?: Prisma.TestAutomationArtifactOrderByWithRelationInput | Prisma.TestAutomationArtifactOrderByWithRelationInput[]
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
147
+ *
148
+ * Sets the start position
149
+ */
150
+ cursor?: Prisma.TestAutomationArtifactWhereUniqueInput
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
153
+ *
154
+ * Take `±n` TestAutomationArtifacts from the position of the cursor.
155
+ */
156
+ take?: number
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
159
+ *
160
+ * Skip the first `n` TestAutomationArtifacts.
161
+ */
162
+ skip?: number
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
+ *
166
+ * Count returned TestAutomationArtifacts
167
+ **/
168
+ _count?: true | TestAutomationArtifactCountAggregateInputType
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
+ *
172
+ * Select which fields to average
173
+ **/
174
+ _avg?: TestAutomationArtifactAvgAggregateInputType
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
177
+ *
178
+ * Select which fields to sum
179
+ **/
180
+ _sum?: TestAutomationArtifactSumAggregateInputType
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Select which fields to find the minimum value
185
+ **/
186
+ _min?: TestAutomationArtifactMinAggregateInputType
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Select which fields to find the maximum value
191
+ **/
192
+ _max?: TestAutomationArtifactMaxAggregateInputType
193
+ }
194
+
195
+ export type GetTestAutomationArtifactAggregateType<T extends TestAutomationArtifactAggregateArgs> = {
196
+ [P in keyof T & keyof AggregateTestAutomationArtifact]: P extends '_count' | 'count'
197
+ ? T[P] extends true
198
+ ? number
199
+ : Prisma.GetScalarType<T[P], AggregateTestAutomationArtifact[P]>
200
+ : Prisma.GetScalarType<T[P], AggregateTestAutomationArtifact[P]>
201
+ }
202
+
203
+
204
+
205
+
206
+ export type TestAutomationArtifactGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
207
+ where?: Prisma.TestAutomationArtifactWhereInput
208
+ orderBy?: Prisma.TestAutomationArtifactOrderByWithAggregationInput | Prisma.TestAutomationArtifactOrderByWithAggregationInput[]
209
+ by: Prisma.TestAutomationArtifactScalarFieldEnum[] | Prisma.TestAutomationArtifactScalarFieldEnum
210
+ having?: Prisma.TestAutomationArtifactScalarWhereWithAggregatesInput
211
+ take?: number
212
+ skip?: number
213
+ _count?: TestAutomationArtifactCountAggregateInputType | true
214
+ _avg?: TestAutomationArtifactAvgAggregateInputType
215
+ _sum?: TestAutomationArtifactSumAggregateInputType
216
+ _min?: TestAutomationArtifactMinAggregateInputType
217
+ _max?: TestAutomationArtifactMaxAggregateInputType
218
+ }
219
+
220
+ export type TestAutomationArtifactGroupByOutputType = {
221
+ id: string
222
+ caseId: string
223
+ caseVersion: number
224
+ kind: string
225
+ status: string
226
+ language: string
227
+ code: string
228
+ targetPath: string | null
229
+ verifyRun: runtime.JsonValue | null
230
+ createdById: string
231
+ createdAt: Date
232
+ adoptedAt: Date | null
233
+ _count: TestAutomationArtifactCountAggregateOutputType | null
234
+ _avg: TestAutomationArtifactAvgAggregateOutputType | null
235
+ _sum: TestAutomationArtifactSumAggregateOutputType | null
236
+ _min: TestAutomationArtifactMinAggregateOutputType | null
237
+ _max: TestAutomationArtifactMaxAggregateOutputType | null
238
+ }
239
+
240
+ export type GetTestAutomationArtifactGroupByPayload<T extends TestAutomationArtifactGroupByArgs> = Prisma.PrismaPromise<
241
+ Array<
242
+ Prisma.PickEnumerable<TestAutomationArtifactGroupByOutputType, T['by']> &
243
+ {
244
+ [P in ((keyof T) & (keyof TestAutomationArtifactGroupByOutputType))]: P extends '_count'
245
+ ? T[P] extends boolean
246
+ ? number
247
+ : Prisma.GetScalarType<T[P], TestAutomationArtifactGroupByOutputType[P]>
248
+ : Prisma.GetScalarType<T[P], TestAutomationArtifactGroupByOutputType[P]>
249
+ }
250
+ >
251
+ >
252
+
253
+
254
+
255
+ export type TestAutomationArtifactWhereInput = {
256
+ AND?: Prisma.TestAutomationArtifactWhereInput | Prisma.TestAutomationArtifactWhereInput[]
257
+ OR?: Prisma.TestAutomationArtifactWhereInput[]
258
+ NOT?: Prisma.TestAutomationArtifactWhereInput | Prisma.TestAutomationArtifactWhereInput[]
259
+ id?: Prisma.StringFilter<"TestAutomationArtifact"> | string
260
+ caseId?: Prisma.StringFilter<"TestAutomationArtifact"> | string
261
+ caseVersion?: Prisma.IntFilter<"TestAutomationArtifact"> | number
262
+ kind?: Prisma.StringFilter<"TestAutomationArtifact"> | string
263
+ status?: Prisma.StringFilter<"TestAutomationArtifact"> | string
264
+ language?: Prisma.StringFilter<"TestAutomationArtifact"> | string
265
+ code?: Prisma.StringFilter<"TestAutomationArtifact"> | string
266
+ targetPath?: Prisma.StringNullableFilter<"TestAutomationArtifact"> | string | null
267
+ verifyRun?: Prisma.JsonNullableFilter<"TestAutomationArtifact">
268
+ createdById?: Prisma.StringFilter<"TestAutomationArtifact"> | string
269
+ createdAt?: Prisma.DateTimeFilter<"TestAutomationArtifact"> | Date | string
270
+ adoptedAt?: Prisma.DateTimeNullableFilter<"TestAutomationArtifact"> | Date | string | null
271
+ case?: Prisma.XOR<Prisma.TestCaseScalarRelationFilter, Prisma.TestCaseWhereInput>
272
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
273
+ }
274
+
275
+ export type TestAutomationArtifactOrderByWithRelationInput = {
276
+ id?: Prisma.SortOrder
277
+ caseId?: Prisma.SortOrder
278
+ caseVersion?: Prisma.SortOrder
279
+ kind?: Prisma.SortOrder
280
+ status?: Prisma.SortOrder
281
+ language?: Prisma.SortOrder
282
+ code?: Prisma.SortOrder
283
+ targetPath?: Prisma.SortOrderInput | Prisma.SortOrder
284
+ verifyRun?: Prisma.SortOrderInput | Prisma.SortOrder
285
+ createdById?: Prisma.SortOrder
286
+ createdAt?: Prisma.SortOrder
287
+ adoptedAt?: Prisma.SortOrderInput | Prisma.SortOrder
288
+ case?: Prisma.TestCaseOrderByWithRelationInput
289
+ createdBy?: Prisma.UserOrderByWithRelationInput
290
+ }
291
+
292
+ export type TestAutomationArtifactWhereUniqueInput = Prisma.AtLeast<{
293
+ id?: string
294
+ AND?: Prisma.TestAutomationArtifactWhereInput | Prisma.TestAutomationArtifactWhereInput[]
295
+ OR?: Prisma.TestAutomationArtifactWhereInput[]
296
+ NOT?: Prisma.TestAutomationArtifactWhereInput | Prisma.TestAutomationArtifactWhereInput[]
297
+ caseId?: Prisma.StringFilter<"TestAutomationArtifact"> | string
298
+ caseVersion?: Prisma.IntFilter<"TestAutomationArtifact"> | number
299
+ kind?: Prisma.StringFilter<"TestAutomationArtifact"> | string
300
+ status?: Prisma.StringFilter<"TestAutomationArtifact"> | string
301
+ language?: Prisma.StringFilter<"TestAutomationArtifact"> | string
302
+ code?: Prisma.StringFilter<"TestAutomationArtifact"> | string
303
+ targetPath?: Prisma.StringNullableFilter<"TestAutomationArtifact"> | string | null
304
+ verifyRun?: Prisma.JsonNullableFilter<"TestAutomationArtifact">
305
+ createdById?: Prisma.StringFilter<"TestAutomationArtifact"> | string
306
+ createdAt?: Prisma.DateTimeFilter<"TestAutomationArtifact"> | Date | string
307
+ adoptedAt?: Prisma.DateTimeNullableFilter<"TestAutomationArtifact"> | Date | string | null
308
+ case?: Prisma.XOR<Prisma.TestCaseScalarRelationFilter, Prisma.TestCaseWhereInput>
309
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
310
+ }, "id">
311
+
312
+ export type TestAutomationArtifactOrderByWithAggregationInput = {
313
+ id?: Prisma.SortOrder
314
+ caseId?: Prisma.SortOrder
315
+ caseVersion?: Prisma.SortOrder
316
+ kind?: Prisma.SortOrder
317
+ status?: Prisma.SortOrder
318
+ language?: Prisma.SortOrder
319
+ code?: Prisma.SortOrder
320
+ targetPath?: Prisma.SortOrderInput | Prisma.SortOrder
321
+ verifyRun?: Prisma.SortOrderInput | Prisma.SortOrder
322
+ createdById?: Prisma.SortOrder
323
+ createdAt?: Prisma.SortOrder
324
+ adoptedAt?: Prisma.SortOrderInput | Prisma.SortOrder
325
+ _count?: Prisma.TestAutomationArtifactCountOrderByAggregateInput
326
+ _avg?: Prisma.TestAutomationArtifactAvgOrderByAggregateInput
327
+ _max?: Prisma.TestAutomationArtifactMaxOrderByAggregateInput
328
+ _min?: Prisma.TestAutomationArtifactMinOrderByAggregateInput
329
+ _sum?: Prisma.TestAutomationArtifactSumOrderByAggregateInput
330
+ }
331
+
332
+ export type TestAutomationArtifactScalarWhereWithAggregatesInput = {
333
+ AND?: Prisma.TestAutomationArtifactScalarWhereWithAggregatesInput | Prisma.TestAutomationArtifactScalarWhereWithAggregatesInput[]
334
+ OR?: Prisma.TestAutomationArtifactScalarWhereWithAggregatesInput[]
335
+ NOT?: Prisma.TestAutomationArtifactScalarWhereWithAggregatesInput | Prisma.TestAutomationArtifactScalarWhereWithAggregatesInput[]
336
+ id?: Prisma.StringWithAggregatesFilter<"TestAutomationArtifact"> | string
337
+ caseId?: Prisma.StringWithAggregatesFilter<"TestAutomationArtifact"> | string
338
+ caseVersion?: Prisma.IntWithAggregatesFilter<"TestAutomationArtifact"> | number
339
+ kind?: Prisma.StringWithAggregatesFilter<"TestAutomationArtifact"> | string
340
+ status?: Prisma.StringWithAggregatesFilter<"TestAutomationArtifact"> | string
341
+ language?: Prisma.StringWithAggregatesFilter<"TestAutomationArtifact"> | string
342
+ code?: Prisma.StringWithAggregatesFilter<"TestAutomationArtifact"> | string
343
+ targetPath?: Prisma.StringNullableWithAggregatesFilter<"TestAutomationArtifact"> | string | null
344
+ verifyRun?: Prisma.JsonNullableWithAggregatesFilter<"TestAutomationArtifact">
345
+ createdById?: Prisma.StringWithAggregatesFilter<"TestAutomationArtifact"> | string
346
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"TestAutomationArtifact"> | Date | string
347
+ adoptedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TestAutomationArtifact"> | Date | string | null
348
+ }
349
+
350
+ export type TestAutomationArtifactCreateInput = {
351
+ id?: string
352
+ caseVersion: number
353
+ kind: string
354
+ status?: string
355
+ language?: string
356
+ code: string
357
+ targetPath?: string | null
358
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
359
+ createdAt?: Date | string
360
+ adoptedAt?: Date | string | null
361
+ case: Prisma.TestCaseCreateNestedOneWithoutArtifactsInput
362
+ createdBy: Prisma.UserCreateNestedOneWithoutTestArtifactsCreatedInput
363
+ }
364
+
365
+ export type TestAutomationArtifactUncheckedCreateInput = {
366
+ id?: string
367
+ caseId: string
368
+ caseVersion: number
369
+ kind: string
370
+ status?: string
371
+ language?: string
372
+ code: string
373
+ targetPath?: string | null
374
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
375
+ createdById: string
376
+ createdAt?: Date | string
377
+ adoptedAt?: Date | string | null
378
+ }
379
+
380
+ export type TestAutomationArtifactUpdateInput = {
381
+ id?: Prisma.StringFieldUpdateOperationsInput | string
382
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
383
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
384
+ status?: Prisma.StringFieldUpdateOperationsInput | string
385
+ language?: Prisma.StringFieldUpdateOperationsInput | string
386
+ code?: Prisma.StringFieldUpdateOperationsInput | string
387
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
388
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
389
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
390
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
391
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutArtifactsNestedInput
392
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestArtifactsCreatedNestedInput
393
+ }
394
+
395
+ export type TestAutomationArtifactUncheckedUpdateInput = {
396
+ id?: Prisma.StringFieldUpdateOperationsInput | string
397
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
398
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
399
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
400
+ status?: Prisma.StringFieldUpdateOperationsInput | string
401
+ language?: Prisma.StringFieldUpdateOperationsInput | string
402
+ code?: Prisma.StringFieldUpdateOperationsInput | string
403
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
404
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
405
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
406
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
407
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
408
+ }
409
+
410
+ export type TestAutomationArtifactCreateManyInput = {
411
+ id?: string
412
+ caseId: string
413
+ caseVersion: number
414
+ kind: string
415
+ status?: string
416
+ language?: string
417
+ code: string
418
+ targetPath?: string | null
419
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
420
+ createdById: string
421
+ createdAt?: Date | string
422
+ adoptedAt?: Date | string | null
423
+ }
424
+
425
+ export type TestAutomationArtifactUpdateManyMutationInput = {
426
+ id?: Prisma.StringFieldUpdateOperationsInput | string
427
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
428
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
429
+ status?: Prisma.StringFieldUpdateOperationsInput | string
430
+ language?: Prisma.StringFieldUpdateOperationsInput | string
431
+ code?: Prisma.StringFieldUpdateOperationsInput | string
432
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
433
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
434
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
435
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
436
+ }
437
+
438
+ export type TestAutomationArtifactUncheckedUpdateManyInput = {
439
+ id?: Prisma.StringFieldUpdateOperationsInput | string
440
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
441
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
442
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
443
+ status?: Prisma.StringFieldUpdateOperationsInput | string
444
+ language?: Prisma.StringFieldUpdateOperationsInput | string
445
+ code?: Prisma.StringFieldUpdateOperationsInput | string
446
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
447
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
448
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
449
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
450
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
451
+ }
452
+
453
+ export type TestAutomationArtifactListRelationFilter = {
454
+ every?: Prisma.TestAutomationArtifactWhereInput
455
+ some?: Prisma.TestAutomationArtifactWhereInput
456
+ none?: Prisma.TestAutomationArtifactWhereInput
457
+ }
458
+
459
+ export type TestAutomationArtifactOrderByRelationAggregateInput = {
460
+ _count?: Prisma.SortOrder
461
+ }
462
+
463
+ export type TestAutomationArtifactCountOrderByAggregateInput = {
464
+ id?: Prisma.SortOrder
465
+ caseId?: Prisma.SortOrder
466
+ caseVersion?: Prisma.SortOrder
467
+ kind?: Prisma.SortOrder
468
+ status?: Prisma.SortOrder
469
+ language?: Prisma.SortOrder
470
+ code?: Prisma.SortOrder
471
+ targetPath?: Prisma.SortOrder
472
+ verifyRun?: Prisma.SortOrder
473
+ createdById?: Prisma.SortOrder
474
+ createdAt?: Prisma.SortOrder
475
+ adoptedAt?: Prisma.SortOrder
476
+ }
477
+
478
+ export type TestAutomationArtifactAvgOrderByAggregateInput = {
479
+ caseVersion?: Prisma.SortOrder
480
+ }
481
+
482
+ export type TestAutomationArtifactMaxOrderByAggregateInput = {
483
+ id?: Prisma.SortOrder
484
+ caseId?: Prisma.SortOrder
485
+ caseVersion?: Prisma.SortOrder
486
+ kind?: Prisma.SortOrder
487
+ status?: Prisma.SortOrder
488
+ language?: Prisma.SortOrder
489
+ code?: Prisma.SortOrder
490
+ targetPath?: Prisma.SortOrder
491
+ createdById?: Prisma.SortOrder
492
+ createdAt?: Prisma.SortOrder
493
+ adoptedAt?: Prisma.SortOrder
494
+ }
495
+
496
+ export type TestAutomationArtifactMinOrderByAggregateInput = {
497
+ id?: Prisma.SortOrder
498
+ caseId?: Prisma.SortOrder
499
+ caseVersion?: Prisma.SortOrder
500
+ kind?: Prisma.SortOrder
501
+ status?: Prisma.SortOrder
502
+ language?: Prisma.SortOrder
503
+ code?: Prisma.SortOrder
504
+ targetPath?: Prisma.SortOrder
505
+ createdById?: Prisma.SortOrder
506
+ createdAt?: Prisma.SortOrder
507
+ adoptedAt?: Prisma.SortOrder
508
+ }
509
+
510
+ export type TestAutomationArtifactSumOrderByAggregateInput = {
511
+ caseVersion?: Prisma.SortOrder
512
+ }
513
+
514
+ export type TestAutomationArtifactCreateNestedManyWithoutCreatedByInput = {
515
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput> | Prisma.TestAutomationArtifactCreateWithoutCreatedByInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput[]
516
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput[]
517
+ createMany?: Prisma.TestAutomationArtifactCreateManyCreatedByInputEnvelope
518
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
519
+ }
520
+
521
+ export type TestAutomationArtifactUncheckedCreateNestedManyWithoutCreatedByInput = {
522
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput> | Prisma.TestAutomationArtifactCreateWithoutCreatedByInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput[]
523
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput[]
524
+ createMany?: Prisma.TestAutomationArtifactCreateManyCreatedByInputEnvelope
525
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
526
+ }
527
+
528
+ export type TestAutomationArtifactUpdateManyWithoutCreatedByNestedInput = {
529
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput> | Prisma.TestAutomationArtifactCreateWithoutCreatedByInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput[]
530
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput[]
531
+ upsert?: Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCreatedByInput[]
532
+ createMany?: Prisma.TestAutomationArtifactCreateManyCreatedByInputEnvelope
533
+ set?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
534
+ disconnect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
535
+ delete?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
536
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
537
+ update?: Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCreatedByInput[]
538
+ updateMany?: Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCreatedByInput | Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCreatedByInput[]
539
+ deleteMany?: Prisma.TestAutomationArtifactScalarWhereInput | Prisma.TestAutomationArtifactScalarWhereInput[]
540
+ }
541
+
542
+ export type TestAutomationArtifactUncheckedUpdateManyWithoutCreatedByNestedInput = {
543
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput> | Prisma.TestAutomationArtifactCreateWithoutCreatedByInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput[]
544
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCreatedByInput[]
545
+ upsert?: Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCreatedByInput[]
546
+ createMany?: Prisma.TestAutomationArtifactCreateManyCreatedByInputEnvelope
547
+ set?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
548
+ disconnect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
549
+ delete?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
550
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
551
+ update?: Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCreatedByInput[]
552
+ updateMany?: Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCreatedByInput | Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCreatedByInput[]
553
+ deleteMany?: Prisma.TestAutomationArtifactScalarWhereInput | Prisma.TestAutomationArtifactScalarWhereInput[]
554
+ }
555
+
556
+ export type TestAutomationArtifactCreateNestedManyWithoutCaseInput = {
557
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput> | Prisma.TestAutomationArtifactCreateWithoutCaseInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput[]
558
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput[]
559
+ createMany?: Prisma.TestAutomationArtifactCreateManyCaseInputEnvelope
560
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
561
+ }
562
+
563
+ export type TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput = {
564
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput> | Prisma.TestAutomationArtifactCreateWithoutCaseInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput[]
565
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput[]
566
+ createMany?: Prisma.TestAutomationArtifactCreateManyCaseInputEnvelope
567
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
568
+ }
569
+
570
+ export type TestAutomationArtifactUpdateManyWithoutCaseNestedInput = {
571
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput> | Prisma.TestAutomationArtifactCreateWithoutCaseInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput[]
572
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput[]
573
+ upsert?: Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCaseInput | Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCaseInput[]
574
+ createMany?: Prisma.TestAutomationArtifactCreateManyCaseInputEnvelope
575
+ set?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
576
+ disconnect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
577
+ delete?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
578
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
579
+ update?: Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCaseInput | Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCaseInput[]
580
+ updateMany?: Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCaseInput | Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCaseInput[]
581
+ deleteMany?: Prisma.TestAutomationArtifactScalarWhereInput | Prisma.TestAutomationArtifactScalarWhereInput[]
582
+ }
583
+
584
+ export type TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput = {
585
+ create?: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput> | Prisma.TestAutomationArtifactCreateWithoutCaseInput[] | Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput[]
586
+ connectOrCreate?: Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput | Prisma.TestAutomationArtifactCreateOrConnectWithoutCaseInput[]
587
+ upsert?: Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCaseInput | Prisma.TestAutomationArtifactUpsertWithWhereUniqueWithoutCaseInput[]
588
+ createMany?: Prisma.TestAutomationArtifactCreateManyCaseInputEnvelope
589
+ set?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
590
+ disconnect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
591
+ delete?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
592
+ connect?: Prisma.TestAutomationArtifactWhereUniqueInput | Prisma.TestAutomationArtifactWhereUniqueInput[]
593
+ update?: Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCaseInput | Prisma.TestAutomationArtifactUpdateWithWhereUniqueWithoutCaseInput[]
594
+ updateMany?: Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCaseInput | Prisma.TestAutomationArtifactUpdateManyWithWhereWithoutCaseInput[]
595
+ deleteMany?: Prisma.TestAutomationArtifactScalarWhereInput | Prisma.TestAutomationArtifactScalarWhereInput[]
596
+ }
597
+
598
+ export type TestAutomationArtifactCreateWithoutCreatedByInput = {
599
+ id?: string
600
+ caseVersion: number
601
+ kind: string
602
+ status?: string
603
+ language?: string
604
+ code: string
605
+ targetPath?: string | null
606
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
607
+ createdAt?: Date | string
608
+ adoptedAt?: Date | string | null
609
+ case: Prisma.TestCaseCreateNestedOneWithoutArtifactsInput
610
+ }
611
+
612
+ export type TestAutomationArtifactUncheckedCreateWithoutCreatedByInput = {
613
+ id?: string
614
+ caseId: string
615
+ caseVersion: number
616
+ kind: string
617
+ status?: string
618
+ language?: string
619
+ code: string
620
+ targetPath?: string | null
621
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
622
+ createdAt?: Date | string
623
+ adoptedAt?: Date | string | null
624
+ }
625
+
626
+ export type TestAutomationArtifactCreateOrConnectWithoutCreatedByInput = {
627
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
628
+ create: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput>
629
+ }
630
+
631
+ export type TestAutomationArtifactCreateManyCreatedByInputEnvelope = {
632
+ data: Prisma.TestAutomationArtifactCreateManyCreatedByInput | Prisma.TestAutomationArtifactCreateManyCreatedByInput[]
633
+ skipDuplicates?: boolean
634
+ }
635
+
636
+ export type TestAutomationArtifactUpsertWithWhereUniqueWithoutCreatedByInput = {
637
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
638
+ update: Prisma.XOR<Prisma.TestAutomationArtifactUpdateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedUpdateWithoutCreatedByInput>
639
+ create: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCreatedByInput>
640
+ }
641
+
642
+ export type TestAutomationArtifactUpdateWithWhereUniqueWithoutCreatedByInput = {
643
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
644
+ data: Prisma.XOR<Prisma.TestAutomationArtifactUpdateWithoutCreatedByInput, Prisma.TestAutomationArtifactUncheckedUpdateWithoutCreatedByInput>
645
+ }
646
+
647
+ export type TestAutomationArtifactUpdateManyWithWhereWithoutCreatedByInput = {
648
+ where: Prisma.TestAutomationArtifactScalarWhereInput
649
+ data: Prisma.XOR<Prisma.TestAutomationArtifactUpdateManyMutationInput, Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCreatedByInput>
650
+ }
651
+
652
+ export type TestAutomationArtifactScalarWhereInput = {
653
+ AND?: Prisma.TestAutomationArtifactScalarWhereInput | Prisma.TestAutomationArtifactScalarWhereInput[]
654
+ OR?: Prisma.TestAutomationArtifactScalarWhereInput[]
655
+ NOT?: Prisma.TestAutomationArtifactScalarWhereInput | Prisma.TestAutomationArtifactScalarWhereInput[]
656
+ id?: Prisma.StringFilter<"TestAutomationArtifact"> | string
657
+ caseId?: Prisma.StringFilter<"TestAutomationArtifact"> | string
658
+ caseVersion?: Prisma.IntFilter<"TestAutomationArtifact"> | number
659
+ kind?: Prisma.StringFilter<"TestAutomationArtifact"> | string
660
+ status?: Prisma.StringFilter<"TestAutomationArtifact"> | string
661
+ language?: Prisma.StringFilter<"TestAutomationArtifact"> | string
662
+ code?: Prisma.StringFilter<"TestAutomationArtifact"> | string
663
+ targetPath?: Prisma.StringNullableFilter<"TestAutomationArtifact"> | string | null
664
+ verifyRun?: Prisma.JsonNullableFilter<"TestAutomationArtifact">
665
+ createdById?: Prisma.StringFilter<"TestAutomationArtifact"> | string
666
+ createdAt?: Prisma.DateTimeFilter<"TestAutomationArtifact"> | Date | string
667
+ adoptedAt?: Prisma.DateTimeNullableFilter<"TestAutomationArtifact"> | Date | string | null
668
+ }
669
+
670
+ export type TestAutomationArtifactCreateWithoutCaseInput = {
671
+ id?: string
672
+ caseVersion: number
673
+ kind: string
674
+ status?: string
675
+ language?: string
676
+ code: string
677
+ targetPath?: string | null
678
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
679
+ createdAt?: Date | string
680
+ adoptedAt?: Date | string | null
681
+ createdBy: Prisma.UserCreateNestedOneWithoutTestArtifactsCreatedInput
682
+ }
683
+
684
+ export type TestAutomationArtifactUncheckedCreateWithoutCaseInput = {
685
+ id?: string
686
+ caseVersion: number
687
+ kind: string
688
+ status?: string
689
+ language?: string
690
+ code: string
691
+ targetPath?: string | null
692
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
693
+ createdById: string
694
+ createdAt?: Date | string
695
+ adoptedAt?: Date | string | null
696
+ }
697
+
698
+ export type TestAutomationArtifactCreateOrConnectWithoutCaseInput = {
699
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
700
+ create: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput>
701
+ }
702
+
703
+ export type TestAutomationArtifactCreateManyCaseInputEnvelope = {
704
+ data: Prisma.TestAutomationArtifactCreateManyCaseInput | Prisma.TestAutomationArtifactCreateManyCaseInput[]
705
+ skipDuplicates?: boolean
706
+ }
707
+
708
+ export type TestAutomationArtifactUpsertWithWhereUniqueWithoutCaseInput = {
709
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
710
+ update: Prisma.XOR<Prisma.TestAutomationArtifactUpdateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedUpdateWithoutCaseInput>
711
+ create: Prisma.XOR<Prisma.TestAutomationArtifactCreateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedCreateWithoutCaseInput>
712
+ }
713
+
714
+ export type TestAutomationArtifactUpdateWithWhereUniqueWithoutCaseInput = {
715
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
716
+ data: Prisma.XOR<Prisma.TestAutomationArtifactUpdateWithoutCaseInput, Prisma.TestAutomationArtifactUncheckedUpdateWithoutCaseInput>
717
+ }
718
+
719
+ export type TestAutomationArtifactUpdateManyWithWhereWithoutCaseInput = {
720
+ where: Prisma.TestAutomationArtifactScalarWhereInput
721
+ data: Prisma.XOR<Prisma.TestAutomationArtifactUpdateManyMutationInput, Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseInput>
722
+ }
723
+
724
+ export type TestAutomationArtifactCreateManyCreatedByInput = {
725
+ id?: string
726
+ caseId: string
727
+ caseVersion: number
728
+ kind: string
729
+ status?: string
730
+ language?: string
731
+ code: string
732
+ targetPath?: string | null
733
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
734
+ createdAt?: Date | string
735
+ adoptedAt?: Date | string | null
736
+ }
737
+
738
+ export type TestAutomationArtifactUpdateWithoutCreatedByInput = {
739
+ id?: Prisma.StringFieldUpdateOperationsInput | string
740
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
741
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
742
+ status?: Prisma.StringFieldUpdateOperationsInput | string
743
+ language?: Prisma.StringFieldUpdateOperationsInput | string
744
+ code?: Prisma.StringFieldUpdateOperationsInput | string
745
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
746
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
747
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
748
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
749
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutArtifactsNestedInput
750
+ }
751
+
752
+ export type TestAutomationArtifactUncheckedUpdateWithoutCreatedByInput = {
753
+ id?: Prisma.StringFieldUpdateOperationsInput | string
754
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
755
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
756
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
757
+ status?: Prisma.StringFieldUpdateOperationsInput | string
758
+ language?: Prisma.StringFieldUpdateOperationsInput | string
759
+ code?: Prisma.StringFieldUpdateOperationsInput | string
760
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
761
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
762
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
763
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
764
+ }
765
+
766
+ export type TestAutomationArtifactUncheckedUpdateManyWithoutCreatedByInput = {
767
+ id?: Prisma.StringFieldUpdateOperationsInput | string
768
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
769
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
770
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
771
+ status?: Prisma.StringFieldUpdateOperationsInput | string
772
+ language?: Prisma.StringFieldUpdateOperationsInput | string
773
+ code?: Prisma.StringFieldUpdateOperationsInput | string
774
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
775
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
776
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
777
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
778
+ }
779
+
780
+ export type TestAutomationArtifactCreateManyCaseInput = {
781
+ id?: string
782
+ caseVersion: number
783
+ kind: string
784
+ status?: string
785
+ language?: string
786
+ code: string
787
+ targetPath?: string | null
788
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
789
+ createdById: string
790
+ createdAt?: Date | string
791
+ adoptedAt?: Date | string | null
792
+ }
793
+
794
+ export type TestAutomationArtifactUpdateWithoutCaseInput = {
795
+ id?: Prisma.StringFieldUpdateOperationsInput | string
796
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
797
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
798
+ status?: Prisma.StringFieldUpdateOperationsInput | string
799
+ language?: Prisma.StringFieldUpdateOperationsInput | string
800
+ code?: Prisma.StringFieldUpdateOperationsInput | string
801
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
802
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
803
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
804
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
805
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestArtifactsCreatedNestedInput
806
+ }
807
+
808
+ export type TestAutomationArtifactUncheckedUpdateWithoutCaseInput = {
809
+ id?: Prisma.StringFieldUpdateOperationsInput | string
810
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
811
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
812
+ status?: Prisma.StringFieldUpdateOperationsInput | string
813
+ language?: Prisma.StringFieldUpdateOperationsInput | string
814
+ code?: Prisma.StringFieldUpdateOperationsInput | string
815
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
816
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
817
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
818
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
819
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
820
+ }
821
+
822
+ export type TestAutomationArtifactUncheckedUpdateManyWithoutCaseInput = {
823
+ id?: Prisma.StringFieldUpdateOperationsInput | string
824
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
825
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
826
+ status?: Prisma.StringFieldUpdateOperationsInput | string
827
+ language?: Prisma.StringFieldUpdateOperationsInput | string
828
+ code?: Prisma.StringFieldUpdateOperationsInput | string
829
+ targetPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
830
+ verifyRun?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
831
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
832
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
833
+ adoptedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
834
+ }
835
+
836
+
837
+
838
+ export type TestAutomationArtifactSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
839
+ id?: boolean
840
+ caseId?: boolean
841
+ caseVersion?: boolean
842
+ kind?: boolean
843
+ status?: boolean
844
+ language?: boolean
845
+ code?: boolean
846
+ targetPath?: boolean
847
+ verifyRun?: boolean
848
+ createdById?: boolean
849
+ createdAt?: boolean
850
+ adoptedAt?: boolean
851
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
852
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
853
+ }, ExtArgs["result"]["testAutomationArtifact"]>
854
+
855
+ export type TestAutomationArtifactSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
856
+ id?: boolean
857
+ caseId?: boolean
858
+ caseVersion?: boolean
859
+ kind?: boolean
860
+ status?: boolean
861
+ language?: boolean
862
+ code?: boolean
863
+ targetPath?: boolean
864
+ verifyRun?: boolean
865
+ createdById?: boolean
866
+ createdAt?: boolean
867
+ adoptedAt?: boolean
868
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
869
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
870
+ }, ExtArgs["result"]["testAutomationArtifact"]>
871
+
872
+ export type TestAutomationArtifactSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
873
+ id?: boolean
874
+ caseId?: boolean
875
+ caseVersion?: boolean
876
+ kind?: boolean
877
+ status?: boolean
878
+ language?: boolean
879
+ code?: boolean
880
+ targetPath?: boolean
881
+ verifyRun?: boolean
882
+ createdById?: boolean
883
+ createdAt?: boolean
884
+ adoptedAt?: boolean
885
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
886
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
887
+ }, ExtArgs["result"]["testAutomationArtifact"]>
888
+
889
+ export type TestAutomationArtifactSelectScalar = {
890
+ id?: boolean
891
+ caseId?: boolean
892
+ caseVersion?: boolean
893
+ kind?: boolean
894
+ status?: boolean
895
+ language?: boolean
896
+ code?: boolean
897
+ targetPath?: boolean
898
+ verifyRun?: boolean
899
+ createdById?: boolean
900
+ createdAt?: boolean
901
+ adoptedAt?: boolean
902
+ }
903
+
904
+ export type TestAutomationArtifactOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "caseId" | "caseVersion" | "kind" | "status" | "language" | "code" | "targetPath" | "verifyRun" | "createdById" | "createdAt" | "adoptedAt", ExtArgs["result"]["testAutomationArtifact"]>
905
+ export type TestAutomationArtifactInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
906
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
907
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
908
+ }
909
+ export type TestAutomationArtifactIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
910
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
911
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
912
+ }
913
+ export type TestAutomationArtifactIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
914
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
915
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
916
+ }
917
+
918
+ export type $TestAutomationArtifactPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
919
+ name: "TestAutomationArtifact"
920
+ objects: {
921
+ case: Prisma.$TestCasePayload<ExtArgs>
922
+ createdBy: Prisma.$UserPayload<ExtArgs>
923
+ }
924
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
925
+ id: string
926
+ caseId: string
927
+ caseVersion: number
928
+ kind: string
929
+ status: string
930
+ language: string
931
+ code: string
932
+ targetPath: string | null
933
+ verifyRun: runtime.JsonValue | null
934
+ createdById: string
935
+ createdAt: Date
936
+ adoptedAt: Date | null
937
+ }, ExtArgs["result"]["testAutomationArtifact"]>
938
+ composites: {}
939
+ }
940
+
941
+ export type TestAutomationArtifactGetPayload<S extends boolean | null | undefined | TestAutomationArtifactDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload, S>
942
+
943
+ export type TestAutomationArtifactCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
944
+ Omit<TestAutomationArtifactFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
945
+ select?: TestAutomationArtifactCountAggregateInputType | true
946
+ }
947
+
948
+ export interface TestAutomationArtifactDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
949
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TestAutomationArtifact'], meta: { name: 'TestAutomationArtifact' } }
950
+ /**
951
+ * Find zero or one TestAutomationArtifact that matches the filter.
952
+ * @param {TestAutomationArtifactFindUniqueArgs} args - Arguments to find a TestAutomationArtifact
953
+ * @example
954
+ * // Get one TestAutomationArtifact
955
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.findUnique({
956
+ * where: {
957
+ * // ... provide filter here
958
+ * }
959
+ * })
960
+ */
961
+ findUnique<T extends TestAutomationArtifactFindUniqueArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
962
+
963
+ /**
964
+ * Find one TestAutomationArtifact that matches the filter or throw an error with `error.code='P2025'`
965
+ * if no matches were found.
966
+ * @param {TestAutomationArtifactFindUniqueOrThrowArgs} args - Arguments to find a TestAutomationArtifact
967
+ * @example
968
+ * // Get one TestAutomationArtifact
969
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.findUniqueOrThrow({
970
+ * where: {
971
+ * // ... provide filter here
972
+ * }
973
+ * })
974
+ */
975
+ findUniqueOrThrow<T extends TestAutomationArtifactFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
976
+
977
+ /**
978
+ * Find the first TestAutomationArtifact that matches the filter.
979
+ * Note, that providing `undefined` is treated as the value not being there.
980
+ * Read more here: https://pris.ly/d/null-undefined
981
+ * @param {TestAutomationArtifactFindFirstArgs} args - Arguments to find a TestAutomationArtifact
982
+ * @example
983
+ * // Get one TestAutomationArtifact
984
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.findFirst({
985
+ * where: {
986
+ * // ... provide filter here
987
+ * }
988
+ * })
989
+ */
990
+ findFirst<T extends TestAutomationArtifactFindFirstArgs>(args?: Prisma.SelectSubset<T, TestAutomationArtifactFindFirstArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
991
+
992
+ /**
993
+ * Find the first TestAutomationArtifact that matches the filter or
994
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
995
+ * Note, that providing `undefined` is treated as the value not being there.
996
+ * Read more here: https://pris.ly/d/null-undefined
997
+ * @param {TestAutomationArtifactFindFirstOrThrowArgs} args - Arguments to find a TestAutomationArtifact
998
+ * @example
999
+ * // Get one TestAutomationArtifact
1000
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.findFirstOrThrow({
1001
+ * where: {
1002
+ * // ... provide filter here
1003
+ * }
1004
+ * })
1005
+ */
1006
+ findFirstOrThrow<T extends TestAutomationArtifactFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TestAutomationArtifactFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1007
+
1008
+ /**
1009
+ * Find zero or more TestAutomationArtifacts that matches the filter.
1010
+ * Note, that providing `undefined` is treated as the value not being there.
1011
+ * Read more here: https://pris.ly/d/null-undefined
1012
+ * @param {TestAutomationArtifactFindManyArgs} args - Arguments to filter and select certain fields only.
1013
+ * @example
1014
+ * // Get all TestAutomationArtifacts
1015
+ * const testAutomationArtifacts = await prisma.testAutomationArtifact.findMany()
1016
+ *
1017
+ * // Get first 10 TestAutomationArtifacts
1018
+ * const testAutomationArtifacts = await prisma.testAutomationArtifact.findMany({ take: 10 })
1019
+ *
1020
+ * // Only select the `id`
1021
+ * const testAutomationArtifactWithIdOnly = await prisma.testAutomationArtifact.findMany({ select: { id: true } })
1022
+ *
1023
+ */
1024
+ findMany<T extends TestAutomationArtifactFindManyArgs>(args?: Prisma.SelectSubset<T, TestAutomationArtifactFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1025
+
1026
+ /**
1027
+ * Create a TestAutomationArtifact.
1028
+ * @param {TestAutomationArtifactCreateArgs} args - Arguments to create a TestAutomationArtifact.
1029
+ * @example
1030
+ * // Create one TestAutomationArtifact
1031
+ * const TestAutomationArtifact = await prisma.testAutomationArtifact.create({
1032
+ * data: {
1033
+ * // ... data to create a TestAutomationArtifact
1034
+ * }
1035
+ * })
1036
+ *
1037
+ */
1038
+ create<T extends TestAutomationArtifactCreateArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactCreateArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1039
+
1040
+ /**
1041
+ * Create many TestAutomationArtifacts.
1042
+ * @param {TestAutomationArtifactCreateManyArgs} args - Arguments to create many TestAutomationArtifacts.
1043
+ * @example
1044
+ * // Create many TestAutomationArtifacts
1045
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.createMany({
1046
+ * data: [
1047
+ * // ... provide data here
1048
+ * ]
1049
+ * })
1050
+ *
1051
+ */
1052
+ createMany<T extends TestAutomationArtifactCreateManyArgs>(args?: Prisma.SelectSubset<T, TestAutomationArtifactCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1053
+
1054
+ /**
1055
+ * Create many TestAutomationArtifacts and returns the data saved in the database.
1056
+ * @param {TestAutomationArtifactCreateManyAndReturnArgs} args - Arguments to create many TestAutomationArtifacts.
1057
+ * @example
1058
+ * // Create many TestAutomationArtifacts
1059
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.createManyAndReturn({
1060
+ * data: [
1061
+ * // ... provide data here
1062
+ * ]
1063
+ * })
1064
+ *
1065
+ * // Create many TestAutomationArtifacts and only return the `id`
1066
+ * const testAutomationArtifactWithIdOnly = await prisma.testAutomationArtifact.createManyAndReturn({
1067
+ * select: { id: true },
1068
+ * data: [
1069
+ * // ... provide data here
1070
+ * ]
1071
+ * })
1072
+ * Note, that providing `undefined` is treated as the value not being there.
1073
+ * Read more here: https://pris.ly/d/null-undefined
1074
+ *
1075
+ */
1076
+ createManyAndReturn<T extends TestAutomationArtifactCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TestAutomationArtifactCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1077
+
1078
+ /**
1079
+ * Delete a TestAutomationArtifact.
1080
+ * @param {TestAutomationArtifactDeleteArgs} args - Arguments to delete one TestAutomationArtifact.
1081
+ * @example
1082
+ * // Delete one TestAutomationArtifact
1083
+ * const TestAutomationArtifact = await prisma.testAutomationArtifact.delete({
1084
+ * where: {
1085
+ * // ... filter to delete one TestAutomationArtifact
1086
+ * }
1087
+ * })
1088
+ *
1089
+ */
1090
+ delete<T extends TestAutomationArtifactDeleteArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactDeleteArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1091
+
1092
+ /**
1093
+ * Update one TestAutomationArtifact.
1094
+ * @param {TestAutomationArtifactUpdateArgs} args - Arguments to update one TestAutomationArtifact.
1095
+ * @example
1096
+ * // Update one TestAutomationArtifact
1097
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.update({
1098
+ * where: {
1099
+ * // ... provide filter here
1100
+ * },
1101
+ * data: {
1102
+ * // ... provide data here
1103
+ * }
1104
+ * })
1105
+ *
1106
+ */
1107
+ update<T extends TestAutomationArtifactUpdateArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactUpdateArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1108
+
1109
+ /**
1110
+ * Delete zero or more TestAutomationArtifacts.
1111
+ * @param {TestAutomationArtifactDeleteManyArgs} args - Arguments to filter TestAutomationArtifacts to delete.
1112
+ * @example
1113
+ * // Delete a few TestAutomationArtifacts
1114
+ * const { count } = await prisma.testAutomationArtifact.deleteMany({
1115
+ * where: {
1116
+ * // ... provide filter here
1117
+ * }
1118
+ * })
1119
+ *
1120
+ */
1121
+ deleteMany<T extends TestAutomationArtifactDeleteManyArgs>(args?: Prisma.SelectSubset<T, TestAutomationArtifactDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1122
+
1123
+ /**
1124
+ * Update zero or more TestAutomationArtifacts.
1125
+ * Note, that providing `undefined` is treated as the value not being there.
1126
+ * Read more here: https://pris.ly/d/null-undefined
1127
+ * @param {TestAutomationArtifactUpdateManyArgs} args - Arguments to update one or more rows.
1128
+ * @example
1129
+ * // Update many TestAutomationArtifacts
1130
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.updateMany({
1131
+ * where: {
1132
+ * // ... provide filter here
1133
+ * },
1134
+ * data: {
1135
+ * // ... provide data here
1136
+ * }
1137
+ * })
1138
+ *
1139
+ */
1140
+ updateMany<T extends TestAutomationArtifactUpdateManyArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1141
+
1142
+ /**
1143
+ * Update zero or more TestAutomationArtifacts and returns the data updated in the database.
1144
+ * @param {TestAutomationArtifactUpdateManyAndReturnArgs} args - Arguments to update many TestAutomationArtifacts.
1145
+ * @example
1146
+ * // Update many TestAutomationArtifacts
1147
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.updateManyAndReturn({
1148
+ * where: {
1149
+ * // ... provide filter here
1150
+ * },
1151
+ * data: [
1152
+ * // ... provide data here
1153
+ * ]
1154
+ * })
1155
+ *
1156
+ * // Update zero or more TestAutomationArtifacts and only return the `id`
1157
+ * const testAutomationArtifactWithIdOnly = await prisma.testAutomationArtifact.updateManyAndReturn({
1158
+ * select: { id: true },
1159
+ * where: {
1160
+ * // ... provide filter here
1161
+ * },
1162
+ * data: [
1163
+ * // ... provide data here
1164
+ * ]
1165
+ * })
1166
+ * Note, that providing `undefined` is treated as the value not being there.
1167
+ * Read more here: https://pris.ly/d/null-undefined
1168
+ *
1169
+ */
1170
+ updateManyAndReturn<T extends TestAutomationArtifactUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1171
+
1172
+ /**
1173
+ * Create or update one TestAutomationArtifact.
1174
+ * @param {TestAutomationArtifactUpsertArgs} args - Arguments to update or create a TestAutomationArtifact.
1175
+ * @example
1176
+ * // Update or create a TestAutomationArtifact
1177
+ * const testAutomationArtifact = await prisma.testAutomationArtifact.upsert({
1178
+ * create: {
1179
+ * // ... data to create a TestAutomationArtifact
1180
+ * },
1181
+ * update: {
1182
+ * // ... in case it already exists, update
1183
+ * },
1184
+ * where: {
1185
+ * // ... the filter for the TestAutomationArtifact we want to update
1186
+ * }
1187
+ * })
1188
+ */
1189
+ upsert<T extends TestAutomationArtifactUpsertArgs>(args: Prisma.SelectSubset<T, TestAutomationArtifactUpsertArgs<ExtArgs>>): Prisma.Prisma__TestAutomationArtifactClient<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1190
+
1191
+
1192
+ /**
1193
+ * Count the number of TestAutomationArtifacts.
1194
+ * Note, that providing `undefined` is treated as the value not being there.
1195
+ * Read more here: https://pris.ly/d/null-undefined
1196
+ * @param {TestAutomationArtifactCountArgs} args - Arguments to filter TestAutomationArtifacts to count.
1197
+ * @example
1198
+ * // Count the number of TestAutomationArtifacts
1199
+ * const count = await prisma.testAutomationArtifact.count({
1200
+ * where: {
1201
+ * // ... the filter for the TestAutomationArtifacts we want to count
1202
+ * }
1203
+ * })
1204
+ **/
1205
+ count<T extends TestAutomationArtifactCountArgs>(
1206
+ args?: Prisma.Subset<T, TestAutomationArtifactCountArgs>,
1207
+ ): Prisma.PrismaPromise<
1208
+ T extends runtime.Types.Utils.Record<'select', any>
1209
+ ? T['select'] extends true
1210
+ ? number
1211
+ : Prisma.GetScalarType<T['select'], TestAutomationArtifactCountAggregateOutputType>
1212
+ : number
1213
+ >
1214
+
1215
+ /**
1216
+ * Allows you to perform aggregations operations on a TestAutomationArtifact.
1217
+ * Note, that providing `undefined` is treated as the value not being there.
1218
+ * Read more here: https://pris.ly/d/null-undefined
1219
+ * @param {TestAutomationArtifactAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1220
+ * @example
1221
+ * // Ordered by age ascending
1222
+ * // Where email contains prisma.io
1223
+ * // Limited to the 10 users
1224
+ * const aggregations = await prisma.user.aggregate({
1225
+ * _avg: {
1226
+ * age: true,
1227
+ * },
1228
+ * where: {
1229
+ * email: {
1230
+ * contains: "prisma.io",
1231
+ * },
1232
+ * },
1233
+ * orderBy: {
1234
+ * age: "asc",
1235
+ * },
1236
+ * take: 10,
1237
+ * })
1238
+ **/
1239
+ aggregate<T extends TestAutomationArtifactAggregateArgs>(args: Prisma.Subset<T, TestAutomationArtifactAggregateArgs>): Prisma.PrismaPromise<GetTestAutomationArtifactAggregateType<T>>
1240
+
1241
+ /**
1242
+ * Group by TestAutomationArtifact.
1243
+ * Note, that providing `undefined` is treated as the value not being there.
1244
+ * Read more here: https://pris.ly/d/null-undefined
1245
+ * @param {TestAutomationArtifactGroupByArgs} args - Group by arguments.
1246
+ * @example
1247
+ * // Group by city, order by createdAt, get count
1248
+ * const result = await prisma.user.groupBy({
1249
+ * by: ['city', 'createdAt'],
1250
+ * orderBy: {
1251
+ * createdAt: true
1252
+ * },
1253
+ * _count: {
1254
+ * _all: true
1255
+ * },
1256
+ * })
1257
+ *
1258
+ **/
1259
+ groupBy<
1260
+ T extends TestAutomationArtifactGroupByArgs,
1261
+ HasSelectOrTake extends Prisma.Or<
1262
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1263
+ Prisma.Extends<'take', Prisma.Keys<T>>
1264
+ >,
1265
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1266
+ ? { orderBy: TestAutomationArtifactGroupByArgs['orderBy'] }
1267
+ : { orderBy?: TestAutomationArtifactGroupByArgs['orderBy'] },
1268
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1269
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1270
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1271
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1272
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1273
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1274
+ InputErrors extends ByEmpty extends Prisma.True
1275
+ ? `Error: "by" must not be empty.`
1276
+ : HavingValid extends Prisma.False
1277
+ ? {
1278
+ [P in HavingFields]: P extends ByFields
1279
+ ? never
1280
+ : P extends string
1281
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1282
+ : [
1283
+ Error,
1284
+ 'Field ',
1285
+ P,
1286
+ ` in "having" needs to be provided in "by"`,
1287
+ ]
1288
+ }[HavingFields]
1289
+ : 'take' extends Prisma.Keys<T>
1290
+ ? 'orderBy' extends Prisma.Keys<T>
1291
+ ? ByValid extends Prisma.True
1292
+ ? {}
1293
+ : {
1294
+ [P in OrderFields]: P extends ByFields
1295
+ ? never
1296
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1297
+ }[OrderFields]
1298
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1299
+ : 'skip' extends Prisma.Keys<T>
1300
+ ? 'orderBy' extends Prisma.Keys<T>
1301
+ ? ByValid extends Prisma.True
1302
+ ? {}
1303
+ : {
1304
+ [P in OrderFields]: P extends ByFields
1305
+ ? never
1306
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1307
+ }[OrderFields]
1308
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1309
+ : ByValid extends Prisma.True
1310
+ ? {}
1311
+ : {
1312
+ [P in OrderFields]: P extends ByFields
1313
+ ? never
1314
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1315
+ }[OrderFields]
1316
+ >(args: Prisma.SubsetIntersection<T, TestAutomationArtifactGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTestAutomationArtifactGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1317
+ /**
1318
+ * Fields of the TestAutomationArtifact model
1319
+ */
1320
+ readonly fields: TestAutomationArtifactFieldRefs;
1321
+ }
1322
+
1323
+ /**
1324
+ * The delegate class that acts as a "Promise-like" for TestAutomationArtifact.
1325
+ * Why is this prefixed with `Prisma__`?
1326
+ * Because we want to prevent naming conflicts as mentioned in
1327
+ * https://github.com/prisma/prisma-client-js/issues/707
1328
+ */
1329
+ export interface Prisma__TestAutomationArtifactClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1330
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1331
+ case<T extends Prisma.TestCaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCaseDefaultArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1332
+ 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>
1333
+ /**
1334
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1335
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1336
+ * @param onrejected The callback to execute when the Promise is rejected.
1337
+ * @returns A Promise for the completion of which ever callback is executed.
1338
+ */
1339
+ 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>
1340
+ /**
1341
+ * Attaches a callback for only the rejection of the Promise.
1342
+ * @param onrejected The callback to execute when the Promise is rejected.
1343
+ * @returns A Promise for the completion of the callback.
1344
+ */
1345
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1346
+ /**
1347
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1348
+ * resolved value cannot be modified from the callback.
1349
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1350
+ * @returns A Promise for the completion of the callback.
1351
+ */
1352
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1353
+ }
1354
+
1355
+
1356
+
1357
+
1358
+ /**
1359
+ * Fields of the TestAutomationArtifact model
1360
+ */
1361
+ export interface TestAutomationArtifactFieldRefs {
1362
+ readonly id: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1363
+ readonly caseId: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1364
+ readonly caseVersion: Prisma.FieldRef<"TestAutomationArtifact", 'Int'>
1365
+ readonly kind: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1366
+ readonly status: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1367
+ readonly language: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1368
+ readonly code: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1369
+ readonly targetPath: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1370
+ readonly verifyRun: Prisma.FieldRef<"TestAutomationArtifact", 'Json'>
1371
+ readonly createdById: Prisma.FieldRef<"TestAutomationArtifact", 'String'>
1372
+ readonly createdAt: Prisma.FieldRef<"TestAutomationArtifact", 'DateTime'>
1373
+ readonly adoptedAt: Prisma.FieldRef<"TestAutomationArtifact", 'DateTime'>
1374
+ }
1375
+
1376
+
1377
+ // Custom InputTypes
1378
+ /**
1379
+ * TestAutomationArtifact findUnique
1380
+ */
1381
+ export type TestAutomationArtifactFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1382
+ /**
1383
+ * Select specific fields to fetch from the TestAutomationArtifact
1384
+ */
1385
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1386
+ /**
1387
+ * Omit specific fields from the TestAutomationArtifact
1388
+ */
1389
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1390
+ /**
1391
+ * Choose, which related nodes to fetch as well
1392
+ */
1393
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1394
+ /**
1395
+ * Filter, which TestAutomationArtifact to fetch.
1396
+ */
1397
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
1398
+ }
1399
+
1400
+ /**
1401
+ * TestAutomationArtifact findUniqueOrThrow
1402
+ */
1403
+ export type TestAutomationArtifactFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1404
+ /**
1405
+ * Select specific fields to fetch from the TestAutomationArtifact
1406
+ */
1407
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1408
+ /**
1409
+ * Omit specific fields from the TestAutomationArtifact
1410
+ */
1411
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1412
+ /**
1413
+ * Choose, which related nodes to fetch as well
1414
+ */
1415
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1416
+ /**
1417
+ * Filter, which TestAutomationArtifact to fetch.
1418
+ */
1419
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
1420
+ }
1421
+
1422
+ /**
1423
+ * TestAutomationArtifact findFirst
1424
+ */
1425
+ export type TestAutomationArtifactFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1426
+ /**
1427
+ * Select specific fields to fetch from the TestAutomationArtifact
1428
+ */
1429
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1430
+ /**
1431
+ * Omit specific fields from the TestAutomationArtifact
1432
+ */
1433
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1434
+ /**
1435
+ * Choose, which related nodes to fetch as well
1436
+ */
1437
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1438
+ /**
1439
+ * Filter, which TestAutomationArtifact to fetch.
1440
+ */
1441
+ where?: Prisma.TestAutomationArtifactWhereInput
1442
+ /**
1443
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1444
+ *
1445
+ * Determine the order of TestAutomationArtifacts to fetch.
1446
+ */
1447
+ orderBy?: Prisma.TestAutomationArtifactOrderByWithRelationInput | Prisma.TestAutomationArtifactOrderByWithRelationInput[]
1448
+ /**
1449
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1450
+ *
1451
+ * Sets the position for searching for TestAutomationArtifacts.
1452
+ */
1453
+ cursor?: Prisma.TestAutomationArtifactWhereUniqueInput
1454
+ /**
1455
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1456
+ *
1457
+ * Take `±n` TestAutomationArtifacts from the position of the cursor.
1458
+ */
1459
+ take?: number
1460
+ /**
1461
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1462
+ *
1463
+ * Skip the first `n` TestAutomationArtifacts.
1464
+ */
1465
+ skip?: number
1466
+ /**
1467
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1468
+ *
1469
+ * Filter by unique combinations of TestAutomationArtifacts.
1470
+ */
1471
+ distinct?: Prisma.TestAutomationArtifactScalarFieldEnum | Prisma.TestAutomationArtifactScalarFieldEnum[]
1472
+ }
1473
+
1474
+ /**
1475
+ * TestAutomationArtifact findFirstOrThrow
1476
+ */
1477
+ export type TestAutomationArtifactFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1478
+ /**
1479
+ * Select specific fields to fetch from the TestAutomationArtifact
1480
+ */
1481
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1482
+ /**
1483
+ * Omit specific fields from the TestAutomationArtifact
1484
+ */
1485
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1486
+ /**
1487
+ * Choose, which related nodes to fetch as well
1488
+ */
1489
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1490
+ /**
1491
+ * Filter, which TestAutomationArtifact to fetch.
1492
+ */
1493
+ where?: Prisma.TestAutomationArtifactWhereInput
1494
+ /**
1495
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1496
+ *
1497
+ * Determine the order of TestAutomationArtifacts to fetch.
1498
+ */
1499
+ orderBy?: Prisma.TestAutomationArtifactOrderByWithRelationInput | Prisma.TestAutomationArtifactOrderByWithRelationInput[]
1500
+ /**
1501
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1502
+ *
1503
+ * Sets the position for searching for TestAutomationArtifacts.
1504
+ */
1505
+ cursor?: Prisma.TestAutomationArtifactWhereUniqueInput
1506
+ /**
1507
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1508
+ *
1509
+ * Take `±n` TestAutomationArtifacts from the position of the cursor.
1510
+ */
1511
+ take?: number
1512
+ /**
1513
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1514
+ *
1515
+ * Skip the first `n` TestAutomationArtifacts.
1516
+ */
1517
+ skip?: number
1518
+ /**
1519
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1520
+ *
1521
+ * Filter by unique combinations of TestAutomationArtifacts.
1522
+ */
1523
+ distinct?: Prisma.TestAutomationArtifactScalarFieldEnum | Prisma.TestAutomationArtifactScalarFieldEnum[]
1524
+ }
1525
+
1526
+ /**
1527
+ * TestAutomationArtifact findMany
1528
+ */
1529
+ export type TestAutomationArtifactFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1530
+ /**
1531
+ * Select specific fields to fetch from the TestAutomationArtifact
1532
+ */
1533
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1534
+ /**
1535
+ * Omit specific fields from the TestAutomationArtifact
1536
+ */
1537
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1538
+ /**
1539
+ * Choose, which related nodes to fetch as well
1540
+ */
1541
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1542
+ /**
1543
+ * Filter, which TestAutomationArtifacts to fetch.
1544
+ */
1545
+ where?: Prisma.TestAutomationArtifactWhereInput
1546
+ /**
1547
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1548
+ *
1549
+ * Determine the order of TestAutomationArtifacts to fetch.
1550
+ */
1551
+ orderBy?: Prisma.TestAutomationArtifactOrderByWithRelationInput | Prisma.TestAutomationArtifactOrderByWithRelationInput[]
1552
+ /**
1553
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1554
+ *
1555
+ * Sets the position for listing TestAutomationArtifacts.
1556
+ */
1557
+ cursor?: Prisma.TestAutomationArtifactWhereUniqueInput
1558
+ /**
1559
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1560
+ *
1561
+ * Take `±n` TestAutomationArtifacts from the position of the cursor.
1562
+ */
1563
+ take?: number
1564
+ /**
1565
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1566
+ *
1567
+ * Skip the first `n` TestAutomationArtifacts.
1568
+ */
1569
+ skip?: number
1570
+ /**
1571
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1572
+ *
1573
+ * Filter by unique combinations of TestAutomationArtifacts.
1574
+ */
1575
+ distinct?: Prisma.TestAutomationArtifactScalarFieldEnum | Prisma.TestAutomationArtifactScalarFieldEnum[]
1576
+ }
1577
+
1578
+ /**
1579
+ * TestAutomationArtifact create
1580
+ */
1581
+ export type TestAutomationArtifactCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1582
+ /**
1583
+ * Select specific fields to fetch from the TestAutomationArtifact
1584
+ */
1585
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1586
+ /**
1587
+ * Omit specific fields from the TestAutomationArtifact
1588
+ */
1589
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1590
+ /**
1591
+ * Choose, which related nodes to fetch as well
1592
+ */
1593
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1594
+ /**
1595
+ * The data needed to create a TestAutomationArtifact.
1596
+ */
1597
+ data: Prisma.XOR<Prisma.TestAutomationArtifactCreateInput, Prisma.TestAutomationArtifactUncheckedCreateInput>
1598
+ }
1599
+
1600
+ /**
1601
+ * TestAutomationArtifact createMany
1602
+ */
1603
+ export type TestAutomationArtifactCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1604
+ /**
1605
+ * The data used to create many TestAutomationArtifacts.
1606
+ */
1607
+ data: Prisma.TestAutomationArtifactCreateManyInput | Prisma.TestAutomationArtifactCreateManyInput[]
1608
+ skipDuplicates?: boolean
1609
+ }
1610
+
1611
+ /**
1612
+ * TestAutomationArtifact createManyAndReturn
1613
+ */
1614
+ export type TestAutomationArtifactCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1615
+ /**
1616
+ * Select specific fields to fetch from the TestAutomationArtifact
1617
+ */
1618
+ select?: Prisma.TestAutomationArtifactSelectCreateManyAndReturn<ExtArgs> | null
1619
+ /**
1620
+ * Omit specific fields from the TestAutomationArtifact
1621
+ */
1622
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1623
+ /**
1624
+ * The data used to create many TestAutomationArtifacts.
1625
+ */
1626
+ data: Prisma.TestAutomationArtifactCreateManyInput | Prisma.TestAutomationArtifactCreateManyInput[]
1627
+ skipDuplicates?: boolean
1628
+ /**
1629
+ * Choose, which related nodes to fetch as well
1630
+ */
1631
+ include?: Prisma.TestAutomationArtifactIncludeCreateManyAndReturn<ExtArgs> | null
1632
+ }
1633
+
1634
+ /**
1635
+ * TestAutomationArtifact update
1636
+ */
1637
+ export type TestAutomationArtifactUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1638
+ /**
1639
+ * Select specific fields to fetch from the TestAutomationArtifact
1640
+ */
1641
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1642
+ /**
1643
+ * Omit specific fields from the TestAutomationArtifact
1644
+ */
1645
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1646
+ /**
1647
+ * Choose, which related nodes to fetch as well
1648
+ */
1649
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1650
+ /**
1651
+ * The data needed to update a TestAutomationArtifact.
1652
+ */
1653
+ data: Prisma.XOR<Prisma.TestAutomationArtifactUpdateInput, Prisma.TestAutomationArtifactUncheckedUpdateInput>
1654
+ /**
1655
+ * Choose, which TestAutomationArtifact to update.
1656
+ */
1657
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
1658
+ }
1659
+
1660
+ /**
1661
+ * TestAutomationArtifact updateMany
1662
+ */
1663
+ export type TestAutomationArtifactUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1664
+ /**
1665
+ * The data used to update TestAutomationArtifacts.
1666
+ */
1667
+ data: Prisma.XOR<Prisma.TestAutomationArtifactUpdateManyMutationInput, Prisma.TestAutomationArtifactUncheckedUpdateManyInput>
1668
+ /**
1669
+ * Filter which TestAutomationArtifacts to update
1670
+ */
1671
+ where?: Prisma.TestAutomationArtifactWhereInput
1672
+ /**
1673
+ * Limit how many TestAutomationArtifacts to update.
1674
+ */
1675
+ limit?: number
1676
+ }
1677
+
1678
+ /**
1679
+ * TestAutomationArtifact updateManyAndReturn
1680
+ */
1681
+ export type TestAutomationArtifactUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1682
+ /**
1683
+ * Select specific fields to fetch from the TestAutomationArtifact
1684
+ */
1685
+ select?: Prisma.TestAutomationArtifactSelectUpdateManyAndReturn<ExtArgs> | null
1686
+ /**
1687
+ * Omit specific fields from the TestAutomationArtifact
1688
+ */
1689
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1690
+ /**
1691
+ * The data used to update TestAutomationArtifacts.
1692
+ */
1693
+ data: Prisma.XOR<Prisma.TestAutomationArtifactUpdateManyMutationInput, Prisma.TestAutomationArtifactUncheckedUpdateManyInput>
1694
+ /**
1695
+ * Filter which TestAutomationArtifacts to update
1696
+ */
1697
+ where?: Prisma.TestAutomationArtifactWhereInput
1698
+ /**
1699
+ * Limit how many TestAutomationArtifacts to update.
1700
+ */
1701
+ limit?: number
1702
+ /**
1703
+ * Choose, which related nodes to fetch as well
1704
+ */
1705
+ include?: Prisma.TestAutomationArtifactIncludeUpdateManyAndReturn<ExtArgs> | null
1706
+ }
1707
+
1708
+ /**
1709
+ * TestAutomationArtifact upsert
1710
+ */
1711
+ export type TestAutomationArtifactUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1712
+ /**
1713
+ * Select specific fields to fetch from the TestAutomationArtifact
1714
+ */
1715
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1716
+ /**
1717
+ * Omit specific fields from the TestAutomationArtifact
1718
+ */
1719
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1720
+ /**
1721
+ * Choose, which related nodes to fetch as well
1722
+ */
1723
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1724
+ /**
1725
+ * The filter to search for the TestAutomationArtifact to update in case it exists.
1726
+ */
1727
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
1728
+ /**
1729
+ * In case the TestAutomationArtifact found by the `where` argument doesn't exist, create a new TestAutomationArtifact with this data.
1730
+ */
1731
+ create: Prisma.XOR<Prisma.TestAutomationArtifactCreateInput, Prisma.TestAutomationArtifactUncheckedCreateInput>
1732
+ /**
1733
+ * In case the TestAutomationArtifact was found with the provided `where` argument, update it with this data.
1734
+ */
1735
+ update: Prisma.XOR<Prisma.TestAutomationArtifactUpdateInput, Prisma.TestAutomationArtifactUncheckedUpdateInput>
1736
+ }
1737
+
1738
+ /**
1739
+ * TestAutomationArtifact delete
1740
+ */
1741
+ export type TestAutomationArtifactDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1742
+ /**
1743
+ * Select specific fields to fetch from the TestAutomationArtifact
1744
+ */
1745
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1746
+ /**
1747
+ * Omit specific fields from the TestAutomationArtifact
1748
+ */
1749
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1750
+ /**
1751
+ * Choose, which related nodes to fetch as well
1752
+ */
1753
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1754
+ /**
1755
+ * Filter which TestAutomationArtifact to delete.
1756
+ */
1757
+ where: Prisma.TestAutomationArtifactWhereUniqueInput
1758
+ }
1759
+
1760
+ /**
1761
+ * TestAutomationArtifact deleteMany
1762
+ */
1763
+ export type TestAutomationArtifactDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1764
+ /**
1765
+ * Filter which TestAutomationArtifacts to delete
1766
+ */
1767
+ where?: Prisma.TestAutomationArtifactWhereInput
1768
+ /**
1769
+ * Limit how many TestAutomationArtifacts to delete.
1770
+ */
1771
+ limit?: number
1772
+ }
1773
+
1774
+ /**
1775
+ * TestAutomationArtifact without action
1776
+ */
1777
+ export type TestAutomationArtifactDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1778
+ /**
1779
+ * Select specific fields to fetch from the TestAutomationArtifact
1780
+ */
1781
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
1782
+ /**
1783
+ * Omit specific fields from the TestAutomationArtifact
1784
+ */
1785
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
1786
+ /**
1787
+ * Choose, which related nodes to fetch as well
1788
+ */
1789
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
1790
+ }