@allbluecn/database 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/LICENSE +661 -0
  2. package/dist/get-prisma.d.ts +1 -0
  3. package/dist/get-prisma.js +7 -0
  4. package/generated/browser.ts +60 -0
  5. package/generated/client.ts +60 -0
  6. package/generated/commonInputTypes.ts +106 -46
  7. package/generated/internal/class.ts +124 -4
  8. package/generated/internal/prismaNamespace.ts +1121 -25
  9. package/generated/internal/prismaNamespaceBrowser.ts +202 -6
  10. package/generated/models/AiProviderConfig.ts +100 -1
  11. package/generated/models/AiStreamChunk.ts +1159 -0
  12. package/generated/models/AiUsageLog.ts +91 -31
  13. package/generated/models/Blob.ts +1428 -0
  14. package/generated/models/BusinessAgentBinding.ts +1553 -0
  15. package/generated/models/ChatInterrupt.ts +42 -1
  16. package/generated/models/ChatMessage.ts +58 -29
  17. package/generated/models/ChatPersistenceMeta.ts +1121 -0
  18. package/generated/models/ChatRun.ts +166 -1
  19. package/generated/models/ChatThread.ts +294 -1
  20. package/generated/models/CodeSnippet.ts +1555 -0
  21. package/generated/models/DesktopSetting.ts +1059 -0
  22. package/generated/models/GenerationRun.ts +193 -1
  23. package/generated/models/HarnessPlugin.ts +1677 -0
  24. package/generated/models/HarnessWorkspace.ts +1650 -0
  25. package/generated/models/InvitationCode.ts +0 -8
  26. package/generated/models/Plan.ts +115 -1
  27. package/generated/models/SandboxInstance.ts +1277 -0
  28. package/generated/models/SystemPromptTemplate.ts +1583 -0
  29. package/generated/models/SystemPromptVersion.ts +1459 -0
  30. package/generated/models/User.ts +4524 -866
  31. package/generated/models/UserAgent.ts +250 -1
  32. package/generated/models/Workspace.ts +3 -1
  33. package/generated/models/WorkspaceFile.ts +1535 -0
  34. package/generated/models.ts +12 -0
  35. package/generated-sqlite/browser.ts +60 -0
  36. package/generated-sqlite/client.ts +60 -0
  37. package/generated-sqlite/commonInputTypes.ts +192 -78
  38. package/generated-sqlite/internal/class.ts +124 -4
  39. package/generated-sqlite/internal/prismaNamespace.ts +1135 -25
  40. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +202 -6
  41. package/generated-sqlite/models/AiProviderConfig.ts +100 -1
  42. package/generated-sqlite/models/AiStreamChunk.ts +1157 -0
  43. package/generated-sqlite/models/AiUsageLog.ts +91 -31
  44. package/generated-sqlite/models/Blob.ts +1425 -0
  45. package/generated-sqlite/models/BusinessAgentBinding.ts +1549 -0
  46. package/generated-sqlite/models/ChatInterrupt.ts +42 -1
  47. package/generated-sqlite/models/ChatMessage.ts +58 -29
  48. package/generated-sqlite/models/ChatPersistenceMeta.ts +1119 -0
  49. package/generated-sqlite/models/ChatRun.ts +174 -1
  50. package/generated-sqlite/models/ChatThread.ts +293 -1
  51. package/generated-sqlite/models/CodeSnippet.ts +1552 -0
  52. package/generated-sqlite/models/DesktopSetting.ts +1057 -0
  53. package/generated-sqlite/models/GenerationRun.ts +193 -1
  54. package/generated-sqlite/models/HarnessPlugin.ts +1674 -0
  55. package/generated-sqlite/models/HarnessWorkspace.ts +1647 -0
  56. package/generated-sqlite/models/InvitationCode.ts +0 -8
  57. package/generated-sqlite/models/PageVersion.ts +0 -8
  58. package/generated-sqlite/models/Plan.ts +115 -1
  59. package/generated-sqlite/models/SandboxInstance.ts +1283 -0
  60. package/generated-sqlite/models/SystemPromptTemplate.ts +1581 -0
  61. package/generated-sqlite/models/SystemPromptVersion.ts +1456 -0
  62. package/generated-sqlite/models/User.ts +3778 -708
  63. package/generated-sqlite/models/UserAgent.ts +250 -1
  64. package/generated-sqlite/models/Workspace.ts +3 -1
  65. package/generated-sqlite/models/WorkspaceFile.ts +1532 -0
  66. package/generated-sqlite/models.ts +12 -0
  67. package/get-prisma.ts +6 -0
  68. package/index.ts +11 -6
  69. package/migrations/20260914002427_ai_p0_durable_runs_meta/migration.sql +15 -0
  70. package/migrations/20260914041010_ai_p0_interrupt_requested_at/migration.sql +15 -0
  71. package/migrations/20260914041909_ai_p0_message_tool_call_id/migration.sql +2 -0
  72. package/migrations/20260914042448_ai_p0_message_content_json/migration.sql +27 -0
  73. package/migrations/20260914150229_harness_plugin/migration.sql +27 -0
  74. package/migrations/20260914174404_prompt_platform_agents/migration.sql +67 -0
  75. package/migrations/20260915090000_add_memory_facts/migration.sql +22 -0
  76. package/migrations/20260915124417_ai_p3_sandbox_durable/migration.sql +48 -0
  77. package/migrations/20260915150034_sandbox_instance_updatedat_bigint/migration.sql +2 -0
  78. package/migrations/20260915154000_add_code_snippets/migration.sql +31 -0
  79. package/migrations/20260916090000_ai_usage_log_nullable_workspace/migration.sql +10 -0
  80. package/migrations/20260916192752_add_ai_source_mode/migration.sql +13 -0
  81. package/migrations/20260917044512_harness_workspace/migration.sql +47 -0
  82. package/migrations/20260917100000_add_media_plan_limits/migration.sql +3 -0
  83. package/migrations/20260917163433_add_generation_run_linked_target/migration.sql +2 -0
  84. package/migrations/20260920050606_add_blob_table/migration.sql +17 -0
  85. package/migrations/20260920093412_add_byteplus_voice_fields/migration.sql +3 -0
  86. package/package.json +8 -3
  87. package/schema.prisma +321 -88
  88. package/schema.sqlite.prisma +779 -546
@@ -0,0 +1,1677 @@
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 `HarnessPlugin` 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 HarnessPlugin
17
+ *
18
+ */
19
+ export type HarnessPluginModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessPluginPayload>
20
+
21
+ export type AggregateHarnessPlugin = {
22
+ _count: HarnessPluginCountAggregateOutputType | null
23
+ _avg: HarnessPluginAvgAggregateOutputType | null
24
+ _sum: HarnessPluginSumAggregateOutputType | null
25
+ _min: HarnessPluginMinAggregateOutputType | null
26
+ _max: HarnessPluginMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type HarnessPluginAvgAggregateOutputType = {
30
+ version: number | null
31
+ }
32
+
33
+ export type HarnessPluginSumAggregateOutputType = {
34
+ version: number | null
35
+ }
36
+
37
+ export type HarnessPluginMinAggregateOutputType = {
38
+ id: string | null
39
+ userId: string | null
40
+ name: string | null
41
+ purpose: string | null
42
+ codeHost: string | null
43
+ codeClient: string | null
44
+ version: number | null
45
+ status: string | null
46
+ lastError: string | null
47
+ createdAt: Date | null
48
+ updatedAt: Date | null
49
+ isDeleted: boolean | null
50
+ }
51
+
52
+ export type HarnessPluginMaxAggregateOutputType = {
53
+ id: string | null
54
+ userId: string | null
55
+ name: string | null
56
+ purpose: string | null
57
+ codeHost: string | null
58
+ codeClient: string | null
59
+ version: number | null
60
+ status: string | null
61
+ lastError: string | null
62
+ createdAt: Date | null
63
+ updatedAt: Date | null
64
+ isDeleted: boolean | null
65
+ }
66
+
67
+ export type HarnessPluginCountAggregateOutputType = {
68
+ id: number
69
+ userId: number
70
+ name: number
71
+ purpose: number
72
+ codeHost: number
73
+ codeClient: number
74
+ tools: number
75
+ version: number
76
+ status: number
77
+ lastError: number
78
+ createdAt: number
79
+ updatedAt: number
80
+ isDeleted: number
81
+ _all: number
82
+ }
83
+
84
+
85
+ export type HarnessPluginAvgAggregateInputType = {
86
+ version?: true
87
+ }
88
+
89
+ export type HarnessPluginSumAggregateInputType = {
90
+ version?: true
91
+ }
92
+
93
+ export type HarnessPluginMinAggregateInputType = {
94
+ id?: true
95
+ userId?: true
96
+ name?: true
97
+ purpose?: true
98
+ codeHost?: true
99
+ codeClient?: true
100
+ version?: true
101
+ status?: true
102
+ lastError?: true
103
+ createdAt?: true
104
+ updatedAt?: true
105
+ isDeleted?: true
106
+ }
107
+
108
+ export type HarnessPluginMaxAggregateInputType = {
109
+ id?: true
110
+ userId?: true
111
+ name?: true
112
+ purpose?: true
113
+ codeHost?: true
114
+ codeClient?: true
115
+ version?: true
116
+ status?: true
117
+ lastError?: true
118
+ createdAt?: true
119
+ updatedAt?: true
120
+ isDeleted?: true
121
+ }
122
+
123
+ export type HarnessPluginCountAggregateInputType = {
124
+ id?: true
125
+ userId?: true
126
+ name?: true
127
+ purpose?: true
128
+ codeHost?: true
129
+ codeClient?: true
130
+ tools?: true
131
+ version?: true
132
+ status?: true
133
+ lastError?: true
134
+ createdAt?: true
135
+ updatedAt?: true
136
+ isDeleted?: true
137
+ _all?: true
138
+ }
139
+
140
+ export type HarnessPluginAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
141
+ /**
142
+ * Filter which HarnessPlugin to aggregate.
143
+ */
144
+ where?: Prisma.HarnessPluginWhereInput
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
147
+ *
148
+ * Determine the order of HarnessPlugins to fetch.
149
+ */
150
+ orderBy?: Prisma.HarnessPluginOrderByWithRelationInput | Prisma.HarnessPluginOrderByWithRelationInput[]
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
153
+ *
154
+ * Sets the start position
155
+ */
156
+ cursor?: Prisma.HarnessPluginWhereUniqueInput
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
159
+ *
160
+ * Take `±n` HarnessPlugins from the position of the cursor.
161
+ */
162
+ take?: number
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
165
+ *
166
+ * Skip the first `n` HarnessPlugins.
167
+ */
168
+ skip?: number
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
+ *
172
+ * Count returned HarnessPlugins
173
+ **/
174
+ _count?: true | HarnessPluginCountAggregateInputType
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
177
+ *
178
+ * Select which fields to average
179
+ **/
180
+ _avg?: HarnessPluginAvgAggregateInputType
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Select which fields to sum
185
+ **/
186
+ _sum?: HarnessPluginSumAggregateInputType
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Select which fields to find the minimum value
191
+ **/
192
+ _min?: HarnessPluginMinAggregateInputType
193
+ /**
194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
+ *
196
+ * Select which fields to find the maximum value
197
+ **/
198
+ _max?: HarnessPluginMaxAggregateInputType
199
+ }
200
+
201
+ export type GetHarnessPluginAggregateType<T extends HarnessPluginAggregateArgs> = {
202
+ [P in keyof T & keyof AggregateHarnessPlugin]: P extends '_count' | 'count'
203
+ ? T[P] extends true
204
+ ? number
205
+ : Prisma.GetScalarType<T[P], AggregateHarnessPlugin[P]>
206
+ : Prisma.GetScalarType<T[P], AggregateHarnessPlugin[P]>
207
+ }
208
+
209
+
210
+
211
+
212
+ export type HarnessPluginGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
213
+ where?: Prisma.HarnessPluginWhereInput
214
+ orderBy?: Prisma.HarnessPluginOrderByWithAggregationInput | Prisma.HarnessPluginOrderByWithAggregationInput[]
215
+ by: Prisma.HarnessPluginScalarFieldEnum[] | Prisma.HarnessPluginScalarFieldEnum
216
+ having?: Prisma.HarnessPluginScalarWhereWithAggregatesInput
217
+ take?: number
218
+ skip?: number
219
+ _count?: HarnessPluginCountAggregateInputType | true
220
+ _avg?: HarnessPluginAvgAggregateInputType
221
+ _sum?: HarnessPluginSumAggregateInputType
222
+ _min?: HarnessPluginMinAggregateInputType
223
+ _max?: HarnessPluginMaxAggregateInputType
224
+ }
225
+
226
+ export type HarnessPluginGroupByOutputType = {
227
+ id: string
228
+ userId: string
229
+ name: string
230
+ purpose: string
231
+ codeHost: string | null
232
+ codeClient: string | null
233
+ tools: runtime.JsonValue
234
+ version: number
235
+ status: string
236
+ lastError: string | null
237
+ createdAt: Date
238
+ updatedAt: Date
239
+ isDeleted: boolean
240
+ _count: HarnessPluginCountAggregateOutputType | null
241
+ _avg: HarnessPluginAvgAggregateOutputType | null
242
+ _sum: HarnessPluginSumAggregateOutputType | null
243
+ _min: HarnessPluginMinAggregateOutputType | null
244
+ _max: HarnessPluginMaxAggregateOutputType | null
245
+ }
246
+
247
+ export type GetHarnessPluginGroupByPayload<T extends HarnessPluginGroupByArgs> = Prisma.PrismaPromise<
248
+ Array<
249
+ Prisma.PickEnumerable<HarnessPluginGroupByOutputType, T['by']> &
250
+ {
251
+ [P in ((keyof T) & (keyof HarnessPluginGroupByOutputType))]: P extends '_count'
252
+ ? T[P] extends boolean
253
+ ? number
254
+ : Prisma.GetScalarType<T[P], HarnessPluginGroupByOutputType[P]>
255
+ : Prisma.GetScalarType<T[P], HarnessPluginGroupByOutputType[P]>
256
+ }
257
+ >
258
+ >
259
+
260
+
261
+
262
+ export type HarnessPluginWhereInput = {
263
+ AND?: Prisma.HarnessPluginWhereInput | Prisma.HarnessPluginWhereInput[]
264
+ OR?: Prisma.HarnessPluginWhereInput[]
265
+ NOT?: Prisma.HarnessPluginWhereInput | Prisma.HarnessPluginWhereInput[]
266
+ id?: Prisma.StringFilter<"HarnessPlugin"> | string
267
+ userId?: Prisma.StringFilter<"HarnessPlugin"> | string
268
+ name?: Prisma.StringFilter<"HarnessPlugin"> | string
269
+ purpose?: Prisma.StringFilter<"HarnessPlugin"> | string
270
+ codeHost?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
271
+ codeClient?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
272
+ tools?: Prisma.JsonFilter<"HarnessPlugin">
273
+ version?: Prisma.IntFilter<"HarnessPlugin"> | number
274
+ status?: Prisma.StringFilter<"HarnessPlugin"> | string
275
+ lastError?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
276
+ createdAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
277
+ updatedAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
278
+ isDeleted?: Prisma.BoolFilter<"HarnessPlugin"> | boolean
279
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
280
+ }
281
+
282
+ export type HarnessPluginOrderByWithRelationInput = {
283
+ id?: Prisma.SortOrder
284
+ userId?: Prisma.SortOrder
285
+ name?: Prisma.SortOrder
286
+ purpose?: Prisma.SortOrder
287
+ codeHost?: Prisma.SortOrderInput | Prisma.SortOrder
288
+ codeClient?: Prisma.SortOrderInput | Prisma.SortOrder
289
+ tools?: Prisma.SortOrder
290
+ version?: Prisma.SortOrder
291
+ status?: Prisma.SortOrder
292
+ lastError?: Prisma.SortOrderInput | Prisma.SortOrder
293
+ createdAt?: Prisma.SortOrder
294
+ updatedAt?: Prisma.SortOrder
295
+ isDeleted?: Prisma.SortOrder
296
+ user?: Prisma.UserOrderByWithRelationInput
297
+ }
298
+
299
+ export type HarnessPluginWhereUniqueInput = Prisma.AtLeast<{
300
+ id?: string
301
+ userId_name?: Prisma.HarnessPluginUserIdNameCompoundUniqueInput
302
+ AND?: Prisma.HarnessPluginWhereInput | Prisma.HarnessPluginWhereInput[]
303
+ OR?: Prisma.HarnessPluginWhereInput[]
304
+ NOT?: Prisma.HarnessPluginWhereInput | Prisma.HarnessPluginWhereInput[]
305
+ userId?: Prisma.StringFilter<"HarnessPlugin"> | string
306
+ name?: Prisma.StringFilter<"HarnessPlugin"> | string
307
+ purpose?: Prisma.StringFilter<"HarnessPlugin"> | string
308
+ codeHost?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
309
+ codeClient?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
310
+ tools?: Prisma.JsonFilter<"HarnessPlugin">
311
+ version?: Prisma.IntFilter<"HarnessPlugin"> | number
312
+ status?: Prisma.StringFilter<"HarnessPlugin"> | string
313
+ lastError?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
314
+ createdAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
315
+ updatedAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
316
+ isDeleted?: Prisma.BoolFilter<"HarnessPlugin"> | boolean
317
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
318
+ }, "id" | "userId_name">
319
+
320
+ export type HarnessPluginOrderByWithAggregationInput = {
321
+ id?: Prisma.SortOrder
322
+ userId?: Prisma.SortOrder
323
+ name?: Prisma.SortOrder
324
+ purpose?: Prisma.SortOrder
325
+ codeHost?: Prisma.SortOrderInput | Prisma.SortOrder
326
+ codeClient?: Prisma.SortOrderInput | Prisma.SortOrder
327
+ tools?: Prisma.SortOrder
328
+ version?: Prisma.SortOrder
329
+ status?: Prisma.SortOrder
330
+ lastError?: Prisma.SortOrderInput | Prisma.SortOrder
331
+ createdAt?: Prisma.SortOrder
332
+ updatedAt?: Prisma.SortOrder
333
+ isDeleted?: Prisma.SortOrder
334
+ _count?: Prisma.HarnessPluginCountOrderByAggregateInput
335
+ _avg?: Prisma.HarnessPluginAvgOrderByAggregateInput
336
+ _max?: Prisma.HarnessPluginMaxOrderByAggregateInput
337
+ _min?: Prisma.HarnessPluginMinOrderByAggregateInput
338
+ _sum?: Prisma.HarnessPluginSumOrderByAggregateInput
339
+ }
340
+
341
+ export type HarnessPluginScalarWhereWithAggregatesInput = {
342
+ AND?: Prisma.HarnessPluginScalarWhereWithAggregatesInput | Prisma.HarnessPluginScalarWhereWithAggregatesInput[]
343
+ OR?: Prisma.HarnessPluginScalarWhereWithAggregatesInput[]
344
+ NOT?: Prisma.HarnessPluginScalarWhereWithAggregatesInput | Prisma.HarnessPluginScalarWhereWithAggregatesInput[]
345
+ id?: Prisma.StringWithAggregatesFilter<"HarnessPlugin"> | string
346
+ userId?: Prisma.StringWithAggregatesFilter<"HarnessPlugin"> | string
347
+ name?: Prisma.StringWithAggregatesFilter<"HarnessPlugin"> | string
348
+ purpose?: Prisma.StringWithAggregatesFilter<"HarnessPlugin"> | string
349
+ codeHost?: Prisma.StringNullableWithAggregatesFilter<"HarnessPlugin"> | string | null
350
+ codeClient?: Prisma.StringNullableWithAggregatesFilter<"HarnessPlugin"> | string | null
351
+ tools?: Prisma.JsonWithAggregatesFilter<"HarnessPlugin">
352
+ version?: Prisma.IntWithAggregatesFilter<"HarnessPlugin"> | number
353
+ status?: Prisma.StringWithAggregatesFilter<"HarnessPlugin"> | string
354
+ lastError?: Prisma.StringNullableWithAggregatesFilter<"HarnessPlugin"> | string | null
355
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessPlugin"> | Date | string
356
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessPlugin"> | Date | string
357
+ isDeleted?: Prisma.BoolWithAggregatesFilter<"HarnessPlugin"> | boolean
358
+ }
359
+
360
+ export type HarnessPluginCreateInput = {
361
+ id?: string
362
+ name: string
363
+ purpose: string
364
+ codeHost?: string | null
365
+ codeClient?: string | null
366
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
367
+ version?: number
368
+ status?: string
369
+ lastError?: string | null
370
+ createdAt?: Date | string
371
+ updatedAt?: Date | string
372
+ isDeleted?: boolean
373
+ user: Prisma.UserCreateNestedOneWithoutPluginsInput
374
+ }
375
+
376
+ export type HarnessPluginUncheckedCreateInput = {
377
+ id?: string
378
+ userId: string
379
+ name: string
380
+ purpose: string
381
+ codeHost?: string | null
382
+ codeClient?: string | null
383
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
384
+ version?: number
385
+ status?: string
386
+ lastError?: string | null
387
+ createdAt?: Date | string
388
+ updatedAt?: Date | string
389
+ isDeleted?: boolean
390
+ }
391
+
392
+ export type HarnessPluginUpdateInput = {
393
+ id?: Prisma.StringFieldUpdateOperationsInput | string
394
+ name?: Prisma.StringFieldUpdateOperationsInput | string
395
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
396
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
397
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
398
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
399
+ version?: Prisma.IntFieldUpdateOperationsInput | number
400
+ status?: Prisma.StringFieldUpdateOperationsInput | string
401
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
402
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
403
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
404
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
405
+ user?: Prisma.UserUpdateOneRequiredWithoutPluginsNestedInput
406
+ }
407
+
408
+ export type HarnessPluginUncheckedUpdateInput = {
409
+ id?: Prisma.StringFieldUpdateOperationsInput | string
410
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
411
+ name?: Prisma.StringFieldUpdateOperationsInput | string
412
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
413
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
414
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
415
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
416
+ version?: Prisma.IntFieldUpdateOperationsInput | number
417
+ status?: Prisma.StringFieldUpdateOperationsInput | string
418
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
419
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
420
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
421
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
422
+ }
423
+
424
+ export type HarnessPluginCreateManyInput = {
425
+ id?: string
426
+ userId: string
427
+ name: string
428
+ purpose: string
429
+ codeHost?: string | null
430
+ codeClient?: string | null
431
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
432
+ version?: number
433
+ status?: string
434
+ lastError?: string | null
435
+ createdAt?: Date | string
436
+ updatedAt?: Date | string
437
+ isDeleted?: boolean
438
+ }
439
+
440
+ export type HarnessPluginUpdateManyMutationInput = {
441
+ id?: Prisma.StringFieldUpdateOperationsInput | string
442
+ name?: Prisma.StringFieldUpdateOperationsInput | string
443
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
444
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
445
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
446
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
447
+ version?: Prisma.IntFieldUpdateOperationsInput | number
448
+ status?: Prisma.StringFieldUpdateOperationsInput | string
449
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
450
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
451
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
452
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
453
+ }
454
+
455
+ export type HarnessPluginUncheckedUpdateManyInput = {
456
+ id?: Prisma.StringFieldUpdateOperationsInput | string
457
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
458
+ name?: Prisma.StringFieldUpdateOperationsInput | string
459
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
460
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
461
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
462
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
463
+ version?: Prisma.IntFieldUpdateOperationsInput | number
464
+ status?: Prisma.StringFieldUpdateOperationsInput | string
465
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
466
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
467
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
468
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
469
+ }
470
+
471
+ export type HarnessPluginListRelationFilter = {
472
+ every?: Prisma.HarnessPluginWhereInput
473
+ some?: Prisma.HarnessPluginWhereInput
474
+ none?: Prisma.HarnessPluginWhereInput
475
+ }
476
+
477
+ export type HarnessPluginOrderByRelationAggregateInput = {
478
+ _count?: Prisma.SortOrder
479
+ }
480
+
481
+ export type HarnessPluginUserIdNameCompoundUniqueInput = {
482
+ userId: string
483
+ name: string
484
+ }
485
+
486
+ export type HarnessPluginCountOrderByAggregateInput = {
487
+ id?: Prisma.SortOrder
488
+ userId?: Prisma.SortOrder
489
+ name?: Prisma.SortOrder
490
+ purpose?: Prisma.SortOrder
491
+ codeHost?: Prisma.SortOrder
492
+ codeClient?: Prisma.SortOrder
493
+ tools?: Prisma.SortOrder
494
+ version?: Prisma.SortOrder
495
+ status?: Prisma.SortOrder
496
+ lastError?: Prisma.SortOrder
497
+ createdAt?: Prisma.SortOrder
498
+ updatedAt?: Prisma.SortOrder
499
+ isDeleted?: Prisma.SortOrder
500
+ }
501
+
502
+ export type HarnessPluginAvgOrderByAggregateInput = {
503
+ version?: Prisma.SortOrder
504
+ }
505
+
506
+ export type HarnessPluginMaxOrderByAggregateInput = {
507
+ id?: Prisma.SortOrder
508
+ userId?: Prisma.SortOrder
509
+ name?: Prisma.SortOrder
510
+ purpose?: Prisma.SortOrder
511
+ codeHost?: Prisma.SortOrder
512
+ codeClient?: Prisma.SortOrder
513
+ version?: Prisma.SortOrder
514
+ status?: Prisma.SortOrder
515
+ lastError?: Prisma.SortOrder
516
+ createdAt?: Prisma.SortOrder
517
+ updatedAt?: Prisma.SortOrder
518
+ isDeleted?: Prisma.SortOrder
519
+ }
520
+
521
+ export type HarnessPluginMinOrderByAggregateInput = {
522
+ id?: Prisma.SortOrder
523
+ userId?: Prisma.SortOrder
524
+ name?: Prisma.SortOrder
525
+ purpose?: Prisma.SortOrder
526
+ codeHost?: Prisma.SortOrder
527
+ codeClient?: Prisma.SortOrder
528
+ version?: Prisma.SortOrder
529
+ status?: Prisma.SortOrder
530
+ lastError?: Prisma.SortOrder
531
+ createdAt?: Prisma.SortOrder
532
+ updatedAt?: Prisma.SortOrder
533
+ isDeleted?: Prisma.SortOrder
534
+ }
535
+
536
+ export type HarnessPluginSumOrderByAggregateInput = {
537
+ version?: Prisma.SortOrder
538
+ }
539
+
540
+ export type HarnessPluginCreateNestedManyWithoutUserInput = {
541
+ create?: Prisma.XOR<Prisma.HarnessPluginCreateWithoutUserInput, Prisma.HarnessPluginUncheckedCreateWithoutUserInput> | Prisma.HarnessPluginCreateWithoutUserInput[] | Prisma.HarnessPluginUncheckedCreateWithoutUserInput[]
542
+ connectOrCreate?: Prisma.HarnessPluginCreateOrConnectWithoutUserInput | Prisma.HarnessPluginCreateOrConnectWithoutUserInput[]
543
+ createMany?: Prisma.HarnessPluginCreateManyUserInputEnvelope
544
+ connect?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
545
+ }
546
+
547
+ export type HarnessPluginUncheckedCreateNestedManyWithoutUserInput = {
548
+ create?: Prisma.XOR<Prisma.HarnessPluginCreateWithoutUserInput, Prisma.HarnessPluginUncheckedCreateWithoutUserInput> | Prisma.HarnessPluginCreateWithoutUserInput[] | Prisma.HarnessPluginUncheckedCreateWithoutUserInput[]
549
+ connectOrCreate?: Prisma.HarnessPluginCreateOrConnectWithoutUserInput | Prisma.HarnessPluginCreateOrConnectWithoutUserInput[]
550
+ createMany?: Prisma.HarnessPluginCreateManyUserInputEnvelope
551
+ connect?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
552
+ }
553
+
554
+ export type HarnessPluginUpdateManyWithoutUserNestedInput = {
555
+ create?: Prisma.XOR<Prisma.HarnessPluginCreateWithoutUserInput, Prisma.HarnessPluginUncheckedCreateWithoutUserInput> | Prisma.HarnessPluginCreateWithoutUserInput[] | Prisma.HarnessPluginUncheckedCreateWithoutUserInput[]
556
+ connectOrCreate?: Prisma.HarnessPluginCreateOrConnectWithoutUserInput | Prisma.HarnessPluginCreateOrConnectWithoutUserInput[]
557
+ upsert?: Prisma.HarnessPluginUpsertWithWhereUniqueWithoutUserInput | Prisma.HarnessPluginUpsertWithWhereUniqueWithoutUserInput[]
558
+ createMany?: Prisma.HarnessPluginCreateManyUserInputEnvelope
559
+ set?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
560
+ disconnect?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
561
+ delete?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
562
+ connect?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
563
+ update?: Prisma.HarnessPluginUpdateWithWhereUniqueWithoutUserInput | Prisma.HarnessPluginUpdateWithWhereUniqueWithoutUserInput[]
564
+ updateMany?: Prisma.HarnessPluginUpdateManyWithWhereWithoutUserInput | Prisma.HarnessPluginUpdateManyWithWhereWithoutUserInput[]
565
+ deleteMany?: Prisma.HarnessPluginScalarWhereInput | Prisma.HarnessPluginScalarWhereInput[]
566
+ }
567
+
568
+ export type HarnessPluginUncheckedUpdateManyWithoutUserNestedInput = {
569
+ create?: Prisma.XOR<Prisma.HarnessPluginCreateWithoutUserInput, Prisma.HarnessPluginUncheckedCreateWithoutUserInput> | Prisma.HarnessPluginCreateWithoutUserInput[] | Prisma.HarnessPluginUncheckedCreateWithoutUserInput[]
570
+ connectOrCreate?: Prisma.HarnessPluginCreateOrConnectWithoutUserInput | Prisma.HarnessPluginCreateOrConnectWithoutUserInput[]
571
+ upsert?: Prisma.HarnessPluginUpsertWithWhereUniqueWithoutUserInput | Prisma.HarnessPluginUpsertWithWhereUniqueWithoutUserInput[]
572
+ createMany?: Prisma.HarnessPluginCreateManyUserInputEnvelope
573
+ set?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
574
+ disconnect?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
575
+ delete?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
576
+ connect?: Prisma.HarnessPluginWhereUniqueInput | Prisma.HarnessPluginWhereUniqueInput[]
577
+ update?: Prisma.HarnessPluginUpdateWithWhereUniqueWithoutUserInput | Prisma.HarnessPluginUpdateWithWhereUniqueWithoutUserInput[]
578
+ updateMany?: Prisma.HarnessPluginUpdateManyWithWhereWithoutUserInput | Prisma.HarnessPluginUpdateManyWithWhereWithoutUserInput[]
579
+ deleteMany?: Prisma.HarnessPluginScalarWhereInput | Prisma.HarnessPluginScalarWhereInput[]
580
+ }
581
+
582
+ export type IntFieldUpdateOperationsInput = {
583
+ set?: number
584
+ increment?: number
585
+ decrement?: number
586
+ multiply?: number
587
+ divide?: number
588
+ }
589
+
590
+ export type HarnessPluginCreateWithoutUserInput = {
591
+ id?: string
592
+ name: string
593
+ purpose: string
594
+ codeHost?: string | null
595
+ codeClient?: string | null
596
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
597
+ version?: number
598
+ status?: string
599
+ lastError?: string | null
600
+ createdAt?: Date | string
601
+ updatedAt?: Date | string
602
+ isDeleted?: boolean
603
+ }
604
+
605
+ export type HarnessPluginUncheckedCreateWithoutUserInput = {
606
+ id?: string
607
+ name: string
608
+ purpose: string
609
+ codeHost?: string | null
610
+ codeClient?: string | null
611
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
612
+ version?: number
613
+ status?: string
614
+ lastError?: string | null
615
+ createdAt?: Date | string
616
+ updatedAt?: Date | string
617
+ isDeleted?: boolean
618
+ }
619
+
620
+ export type HarnessPluginCreateOrConnectWithoutUserInput = {
621
+ where: Prisma.HarnessPluginWhereUniqueInput
622
+ create: Prisma.XOR<Prisma.HarnessPluginCreateWithoutUserInput, Prisma.HarnessPluginUncheckedCreateWithoutUserInput>
623
+ }
624
+
625
+ export type HarnessPluginCreateManyUserInputEnvelope = {
626
+ data: Prisma.HarnessPluginCreateManyUserInput | Prisma.HarnessPluginCreateManyUserInput[]
627
+ skipDuplicates?: boolean
628
+ }
629
+
630
+ export type HarnessPluginUpsertWithWhereUniqueWithoutUserInput = {
631
+ where: Prisma.HarnessPluginWhereUniqueInput
632
+ update: Prisma.XOR<Prisma.HarnessPluginUpdateWithoutUserInput, Prisma.HarnessPluginUncheckedUpdateWithoutUserInput>
633
+ create: Prisma.XOR<Prisma.HarnessPluginCreateWithoutUserInput, Prisma.HarnessPluginUncheckedCreateWithoutUserInput>
634
+ }
635
+
636
+ export type HarnessPluginUpdateWithWhereUniqueWithoutUserInput = {
637
+ where: Prisma.HarnessPluginWhereUniqueInput
638
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateWithoutUserInput, Prisma.HarnessPluginUncheckedUpdateWithoutUserInput>
639
+ }
640
+
641
+ export type HarnessPluginUpdateManyWithWhereWithoutUserInput = {
642
+ where: Prisma.HarnessPluginScalarWhereInput
643
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateManyMutationInput, Prisma.HarnessPluginUncheckedUpdateManyWithoutUserInput>
644
+ }
645
+
646
+ export type HarnessPluginScalarWhereInput = {
647
+ AND?: Prisma.HarnessPluginScalarWhereInput | Prisma.HarnessPluginScalarWhereInput[]
648
+ OR?: Prisma.HarnessPluginScalarWhereInput[]
649
+ NOT?: Prisma.HarnessPluginScalarWhereInput | Prisma.HarnessPluginScalarWhereInput[]
650
+ id?: Prisma.StringFilter<"HarnessPlugin"> | string
651
+ userId?: Prisma.StringFilter<"HarnessPlugin"> | string
652
+ name?: Prisma.StringFilter<"HarnessPlugin"> | string
653
+ purpose?: Prisma.StringFilter<"HarnessPlugin"> | string
654
+ codeHost?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
655
+ codeClient?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
656
+ tools?: Prisma.JsonFilter<"HarnessPlugin">
657
+ version?: Prisma.IntFilter<"HarnessPlugin"> | number
658
+ status?: Prisma.StringFilter<"HarnessPlugin"> | string
659
+ lastError?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
660
+ createdAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
661
+ updatedAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
662
+ isDeleted?: Prisma.BoolFilter<"HarnessPlugin"> | boolean
663
+ }
664
+
665
+ export type HarnessPluginCreateManyUserInput = {
666
+ id?: string
667
+ name: string
668
+ purpose: string
669
+ codeHost?: string | null
670
+ codeClient?: string | null
671
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
672
+ version?: number
673
+ status?: string
674
+ lastError?: string | null
675
+ createdAt?: Date | string
676
+ updatedAt?: Date | string
677
+ isDeleted?: boolean
678
+ }
679
+
680
+ export type HarnessPluginUpdateWithoutUserInput = {
681
+ id?: Prisma.StringFieldUpdateOperationsInput | string
682
+ name?: Prisma.StringFieldUpdateOperationsInput | string
683
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
684
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
685
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
686
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
687
+ version?: Prisma.IntFieldUpdateOperationsInput | number
688
+ status?: Prisma.StringFieldUpdateOperationsInput | string
689
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
690
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
691
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
692
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
693
+ }
694
+
695
+ export type HarnessPluginUncheckedUpdateWithoutUserInput = {
696
+ id?: Prisma.StringFieldUpdateOperationsInput | string
697
+ name?: Prisma.StringFieldUpdateOperationsInput | string
698
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
699
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
700
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
701
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
702
+ version?: Prisma.IntFieldUpdateOperationsInput | number
703
+ status?: Prisma.StringFieldUpdateOperationsInput | string
704
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
705
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
706
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
707
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
708
+ }
709
+
710
+ export type HarnessPluginUncheckedUpdateManyWithoutUserInput = {
711
+ id?: Prisma.StringFieldUpdateOperationsInput | string
712
+ name?: Prisma.StringFieldUpdateOperationsInput | string
713
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
714
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
715
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
716
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
717
+ version?: Prisma.IntFieldUpdateOperationsInput | number
718
+ status?: Prisma.StringFieldUpdateOperationsInput | string
719
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
720
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
721
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
722
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
723
+ }
724
+
725
+
726
+
727
+ export type HarnessPluginSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
728
+ id?: boolean
729
+ userId?: boolean
730
+ name?: boolean
731
+ purpose?: boolean
732
+ codeHost?: boolean
733
+ codeClient?: boolean
734
+ tools?: boolean
735
+ version?: boolean
736
+ status?: boolean
737
+ lastError?: boolean
738
+ createdAt?: boolean
739
+ updatedAt?: boolean
740
+ isDeleted?: boolean
741
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
742
+ }, ExtArgs["result"]["harnessPlugin"]>
743
+
744
+ export type HarnessPluginSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
745
+ id?: boolean
746
+ userId?: boolean
747
+ name?: boolean
748
+ purpose?: boolean
749
+ codeHost?: boolean
750
+ codeClient?: boolean
751
+ tools?: boolean
752
+ version?: boolean
753
+ status?: boolean
754
+ lastError?: boolean
755
+ createdAt?: boolean
756
+ updatedAt?: boolean
757
+ isDeleted?: boolean
758
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
759
+ }, ExtArgs["result"]["harnessPlugin"]>
760
+
761
+ export type HarnessPluginSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
762
+ id?: boolean
763
+ userId?: boolean
764
+ name?: boolean
765
+ purpose?: boolean
766
+ codeHost?: boolean
767
+ codeClient?: boolean
768
+ tools?: boolean
769
+ version?: boolean
770
+ status?: boolean
771
+ lastError?: boolean
772
+ createdAt?: boolean
773
+ updatedAt?: boolean
774
+ isDeleted?: boolean
775
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
776
+ }, ExtArgs["result"]["harnessPlugin"]>
777
+
778
+ export type HarnessPluginSelectScalar = {
779
+ id?: boolean
780
+ userId?: boolean
781
+ name?: boolean
782
+ purpose?: boolean
783
+ codeHost?: boolean
784
+ codeClient?: boolean
785
+ tools?: boolean
786
+ version?: boolean
787
+ status?: boolean
788
+ lastError?: boolean
789
+ createdAt?: boolean
790
+ updatedAt?: boolean
791
+ isDeleted?: boolean
792
+ }
793
+
794
+ export type HarnessPluginOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "name" | "purpose" | "codeHost" | "codeClient" | "tools" | "version" | "status" | "lastError" | "createdAt" | "updatedAt" | "isDeleted", ExtArgs["result"]["harnessPlugin"]>
795
+ export type HarnessPluginInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
796
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
797
+ }
798
+ export type HarnessPluginIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
799
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
800
+ }
801
+ export type HarnessPluginIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
802
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
803
+ }
804
+
805
+ export type $HarnessPluginPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
806
+ name: "HarnessPlugin"
807
+ objects: {
808
+ user: Prisma.$UserPayload<ExtArgs>
809
+ }
810
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
811
+ id: string
812
+ userId: string
813
+ name: string
814
+ purpose: string
815
+ codeHost: string | null
816
+ codeClient: string | null
817
+ tools: runtime.JsonValue
818
+ version: number
819
+ status: string
820
+ lastError: string | null
821
+ createdAt: Date
822
+ updatedAt: Date
823
+ isDeleted: boolean
824
+ }, ExtArgs["result"]["harnessPlugin"]>
825
+ composites: {}
826
+ }
827
+
828
+ export type HarnessPluginGetPayload<S extends boolean | null | undefined | HarnessPluginDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload, S>
829
+
830
+ export type HarnessPluginCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
831
+ Omit<HarnessPluginFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
832
+ select?: HarnessPluginCountAggregateInputType | true
833
+ }
834
+
835
+ export interface HarnessPluginDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
836
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessPlugin'], meta: { name: 'HarnessPlugin' } }
837
+ /**
838
+ * Find zero or one HarnessPlugin that matches the filter.
839
+ * @param {HarnessPluginFindUniqueArgs} args - Arguments to find a HarnessPlugin
840
+ * @example
841
+ * // Get one HarnessPlugin
842
+ * const harnessPlugin = await prisma.harnessPlugin.findUnique({
843
+ * where: {
844
+ * // ... provide filter here
845
+ * }
846
+ * })
847
+ */
848
+ findUnique<T extends HarnessPluginFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessPluginFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
849
+
850
+ /**
851
+ * Find one HarnessPlugin that matches the filter or throw an error with `error.code='P2025'`
852
+ * if no matches were found.
853
+ * @param {HarnessPluginFindUniqueOrThrowArgs} args - Arguments to find a HarnessPlugin
854
+ * @example
855
+ * // Get one HarnessPlugin
856
+ * const harnessPlugin = await prisma.harnessPlugin.findUniqueOrThrow({
857
+ * where: {
858
+ * // ... provide filter here
859
+ * }
860
+ * })
861
+ */
862
+ findUniqueOrThrow<T extends HarnessPluginFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessPluginFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
863
+
864
+ /**
865
+ * Find the first HarnessPlugin that matches the filter.
866
+ * Note, that providing `undefined` is treated as the value not being there.
867
+ * Read more here: https://pris.ly/d/null-undefined
868
+ * @param {HarnessPluginFindFirstArgs} args - Arguments to find a HarnessPlugin
869
+ * @example
870
+ * // Get one HarnessPlugin
871
+ * const harnessPlugin = await prisma.harnessPlugin.findFirst({
872
+ * where: {
873
+ * // ... provide filter here
874
+ * }
875
+ * })
876
+ */
877
+ findFirst<T extends HarnessPluginFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessPluginFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
878
+
879
+ /**
880
+ * Find the first HarnessPlugin that matches the filter or
881
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
882
+ * Note, that providing `undefined` is treated as the value not being there.
883
+ * Read more here: https://pris.ly/d/null-undefined
884
+ * @param {HarnessPluginFindFirstOrThrowArgs} args - Arguments to find a HarnessPlugin
885
+ * @example
886
+ * // Get one HarnessPlugin
887
+ * const harnessPlugin = await prisma.harnessPlugin.findFirstOrThrow({
888
+ * where: {
889
+ * // ... provide filter here
890
+ * }
891
+ * })
892
+ */
893
+ findFirstOrThrow<T extends HarnessPluginFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessPluginFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
894
+
895
+ /**
896
+ * Find zero or more HarnessPlugins that matches the filter.
897
+ * Note, that providing `undefined` is treated as the value not being there.
898
+ * Read more here: https://pris.ly/d/null-undefined
899
+ * @param {HarnessPluginFindManyArgs} args - Arguments to filter and select certain fields only.
900
+ * @example
901
+ * // Get all HarnessPlugins
902
+ * const harnessPlugins = await prisma.harnessPlugin.findMany()
903
+ *
904
+ * // Get first 10 HarnessPlugins
905
+ * const harnessPlugins = await prisma.harnessPlugin.findMany({ take: 10 })
906
+ *
907
+ * // Only select the `id`
908
+ * const harnessPluginWithIdOnly = await prisma.harnessPlugin.findMany({ select: { id: true } })
909
+ *
910
+ */
911
+ findMany<T extends HarnessPluginFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessPluginFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
912
+
913
+ /**
914
+ * Create a HarnessPlugin.
915
+ * @param {HarnessPluginCreateArgs} args - Arguments to create a HarnessPlugin.
916
+ * @example
917
+ * // Create one HarnessPlugin
918
+ * const HarnessPlugin = await prisma.harnessPlugin.create({
919
+ * data: {
920
+ * // ... data to create a HarnessPlugin
921
+ * }
922
+ * })
923
+ *
924
+ */
925
+ create<T extends HarnessPluginCreateArgs>(args: Prisma.SelectSubset<T, HarnessPluginCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
926
+
927
+ /**
928
+ * Create many HarnessPlugins.
929
+ * @param {HarnessPluginCreateManyArgs} args - Arguments to create many HarnessPlugins.
930
+ * @example
931
+ * // Create many HarnessPlugins
932
+ * const harnessPlugin = await prisma.harnessPlugin.createMany({
933
+ * data: [
934
+ * // ... provide data here
935
+ * ]
936
+ * })
937
+ *
938
+ */
939
+ createMany<T extends HarnessPluginCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessPluginCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
940
+
941
+ /**
942
+ * Create many HarnessPlugins and returns the data saved in the database.
943
+ * @param {HarnessPluginCreateManyAndReturnArgs} args - Arguments to create many HarnessPlugins.
944
+ * @example
945
+ * // Create many HarnessPlugins
946
+ * const harnessPlugin = await prisma.harnessPlugin.createManyAndReturn({
947
+ * data: [
948
+ * // ... provide data here
949
+ * ]
950
+ * })
951
+ *
952
+ * // Create many HarnessPlugins and only return the `id`
953
+ * const harnessPluginWithIdOnly = await prisma.harnessPlugin.createManyAndReturn({
954
+ * select: { id: true },
955
+ * data: [
956
+ * // ... provide data here
957
+ * ]
958
+ * })
959
+ * Note, that providing `undefined` is treated as the value not being there.
960
+ * Read more here: https://pris.ly/d/null-undefined
961
+ *
962
+ */
963
+ createManyAndReturn<T extends HarnessPluginCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessPluginCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
964
+
965
+ /**
966
+ * Delete a HarnessPlugin.
967
+ * @param {HarnessPluginDeleteArgs} args - Arguments to delete one HarnessPlugin.
968
+ * @example
969
+ * // Delete one HarnessPlugin
970
+ * const HarnessPlugin = await prisma.harnessPlugin.delete({
971
+ * where: {
972
+ * // ... filter to delete one HarnessPlugin
973
+ * }
974
+ * })
975
+ *
976
+ */
977
+ delete<T extends HarnessPluginDeleteArgs>(args: Prisma.SelectSubset<T, HarnessPluginDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
978
+
979
+ /**
980
+ * Update one HarnessPlugin.
981
+ * @param {HarnessPluginUpdateArgs} args - Arguments to update one HarnessPlugin.
982
+ * @example
983
+ * // Update one HarnessPlugin
984
+ * const harnessPlugin = await prisma.harnessPlugin.update({
985
+ * where: {
986
+ * // ... provide filter here
987
+ * },
988
+ * data: {
989
+ * // ... provide data here
990
+ * }
991
+ * })
992
+ *
993
+ */
994
+ update<T extends HarnessPluginUpdateArgs>(args: Prisma.SelectSubset<T, HarnessPluginUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
995
+
996
+ /**
997
+ * Delete zero or more HarnessPlugins.
998
+ * @param {HarnessPluginDeleteManyArgs} args - Arguments to filter HarnessPlugins to delete.
999
+ * @example
1000
+ * // Delete a few HarnessPlugins
1001
+ * const { count } = await prisma.harnessPlugin.deleteMany({
1002
+ * where: {
1003
+ * // ... provide filter here
1004
+ * }
1005
+ * })
1006
+ *
1007
+ */
1008
+ deleteMany<T extends HarnessPluginDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessPluginDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1009
+
1010
+ /**
1011
+ * Update zero or more HarnessPlugins.
1012
+ * Note, that providing `undefined` is treated as the value not being there.
1013
+ * Read more here: https://pris.ly/d/null-undefined
1014
+ * @param {HarnessPluginUpdateManyArgs} args - Arguments to update one or more rows.
1015
+ * @example
1016
+ * // Update many HarnessPlugins
1017
+ * const harnessPlugin = await prisma.harnessPlugin.updateMany({
1018
+ * where: {
1019
+ * // ... provide filter here
1020
+ * },
1021
+ * data: {
1022
+ * // ... provide data here
1023
+ * }
1024
+ * })
1025
+ *
1026
+ */
1027
+ updateMany<T extends HarnessPluginUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessPluginUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1028
+
1029
+ /**
1030
+ * Update zero or more HarnessPlugins and returns the data updated in the database.
1031
+ * @param {HarnessPluginUpdateManyAndReturnArgs} args - Arguments to update many HarnessPlugins.
1032
+ * @example
1033
+ * // Update many HarnessPlugins
1034
+ * const harnessPlugin = await prisma.harnessPlugin.updateManyAndReturn({
1035
+ * where: {
1036
+ * // ... provide filter here
1037
+ * },
1038
+ * data: [
1039
+ * // ... provide data here
1040
+ * ]
1041
+ * })
1042
+ *
1043
+ * // Update zero or more HarnessPlugins and only return the `id`
1044
+ * const harnessPluginWithIdOnly = await prisma.harnessPlugin.updateManyAndReturn({
1045
+ * select: { id: true },
1046
+ * where: {
1047
+ * // ... provide filter here
1048
+ * },
1049
+ * data: [
1050
+ * // ... provide data here
1051
+ * ]
1052
+ * })
1053
+ * Note, that providing `undefined` is treated as the value not being there.
1054
+ * Read more here: https://pris.ly/d/null-undefined
1055
+ *
1056
+ */
1057
+ updateManyAndReturn<T extends HarnessPluginUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessPluginUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1058
+
1059
+ /**
1060
+ * Create or update one HarnessPlugin.
1061
+ * @param {HarnessPluginUpsertArgs} args - Arguments to update or create a HarnessPlugin.
1062
+ * @example
1063
+ * // Update or create a HarnessPlugin
1064
+ * const harnessPlugin = await prisma.harnessPlugin.upsert({
1065
+ * create: {
1066
+ * // ... data to create a HarnessPlugin
1067
+ * },
1068
+ * update: {
1069
+ * // ... in case it already exists, update
1070
+ * },
1071
+ * where: {
1072
+ * // ... the filter for the HarnessPlugin we want to update
1073
+ * }
1074
+ * })
1075
+ */
1076
+ upsert<T extends HarnessPluginUpsertArgs>(args: Prisma.SelectSubset<T, HarnessPluginUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessPluginClient<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1077
+
1078
+
1079
+ /**
1080
+ * Count the number of HarnessPlugins.
1081
+ * Note, that providing `undefined` is treated as the value not being there.
1082
+ * Read more here: https://pris.ly/d/null-undefined
1083
+ * @param {HarnessPluginCountArgs} args - Arguments to filter HarnessPlugins to count.
1084
+ * @example
1085
+ * // Count the number of HarnessPlugins
1086
+ * const count = await prisma.harnessPlugin.count({
1087
+ * where: {
1088
+ * // ... the filter for the HarnessPlugins we want to count
1089
+ * }
1090
+ * })
1091
+ **/
1092
+ count<T extends HarnessPluginCountArgs>(
1093
+ args?: Prisma.Subset<T, HarnessPluginCountArgs>,
1094
+ ): Prisma.PrismaPromise<
1095
+ T extends runtime.Types.Utils.Record<'select', any>
1096
+ ? T['select'] extends true
1097
+ ? number
1098
+ : Prisma.GetScalarType<T['select'], HarnessPluginCountAggregateOutputType>
1099
+ : number
1100
+ >
1101
+
1102
+ /**
1103
+ * Allows you to perform aggregations operations on a HarnessPlugin.
1104
+ * Note, that providing `undefined` is treated as the value not being there.
1105
+ * Read more here: https://pris.ly/d/null-undefined
1106
+ * @param {HarnessPluginAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1107
+ * @example
1108
+ * // Ordered by age ascending
1109
+ * // Where email contains prisma.io
1110
+ * // Limited to the 10 users
1111
+ * const aggregations = await prisma.user.aggregate({
1112
+ * _avg: {
1113
+ * age: true,
1114
+ * },
1115
+ * where: {
1116
+ * email: {
1117
+ * contains: "prisma.io",
1118
+ * },
1119
+ * },
1120
+ * orderBy: {
1121
+ * age: "asc",
1122
+ * },
1123
+ * take: 10,
1124
+ * })
1125
+ **/
1126
+ aggregate<T extends HarnessPluginAggregateArgs>(args: Prisma.Subset<T, HarnessPluginAggregateArgs>): Prisma.PrismaPromise<GetHarnessPluginAggregateType<T>>
1127
+
1128
+ /**
1129
+ * Group by HarnessPlugin.
1130
+ * Note, that providing `undefined` is treated as the value not being there.
1131
+ * Read more here: https://pris.ly/d/null-undefined
1132
+ * @param {HarnessPluginGroupByArgs} args - Group by arguments.
1133
+ * @example
1134
+ * // Group by city, order by createdAt, get count
1135
+ * const result = await prisma.user.groupBy({
1136
+ * by: ['city', 'createdAt'],
1137
+ * orderBy: {
1138
+ * createdAt: true
1139
+ * },
1140
+ * _count: {
1141
+ * _all: true
1142
+ * },
1143
+ * })
1144
+ *
1145
+ **/
1146
+ groupBy<
1147
+ T extends HarnessPluginGroupByArgs,
1148
+ HasSelectOrTake extends Prisma.Or<
1149
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1150
+ Prisma.Extends<'take', Prisma.Keys<T>>
1151
+ >,
1152
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1153
+ ? { orderBy: HarnessPluginGroupByArgs['orderBy'] }
1154
+ : { orderBy?: HarnessPluginGroupByArgs['orderBy'] },
1155
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1156
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1157
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1158
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1159
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1160
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1161
+ InputErrors extends ByEmpty extends Prisma.True
1162
+ ? `Error: "by" must not be empty.`
1163
+ : HavingValid extends Prisma.False
1164
+ ? {
1165
+ [P in HavingFields]: P extends ByFields
1166
+ ? never
1167
+ : P extends string
1168
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1169
+ : [
1170
+ Error,
1171
+ 'Field ',
1172
+ P,
1173
+ ` in "having" needs to be provided in "by"`,
1174
+ ]
1175
+ }[HavingFields]
1176
+ : 'take' extends Prisma.Keys<T>
1177
+ ? 'orderBy' extends Prisma.Keys<T>
1178
+ ? ByValid extends Prisma.True
1179
+ ? {}
1180
+ : {
1181
+ [P in OrderFields]: P extends ByFields
1182
+ ? never
1183
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1184
+ }[OrderFields]
1185
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1186
+ : 'skip' extends Prisma.Keys<T>
1187
+ ? 'orderBy' extends Prisma.Keys<T>
1188
+ ? ByValid extends Prisma.True
1189
+ ? {}
1190
+ : {
1191
+ [P in OrderFields]: P extends ByFields
1192
+ ? never
1193
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1194
+ }[OrderFields]
1195
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1196
+ : ByValid extends Prisma.True
1197
+ ? {}
1198
+ : {
1199
+ [P in OrderFields]: P extends ByFields
1200
+ ? never
1201
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1202
+ }[OrderFields]
1203
+ >(args: Prisma.SubsetIntersection<T, HarnessPluginGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessPluginGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1204
+ /**
1205
+ * Fields of the HarnessPlugin model
1206
+ */
1207
+ readonly fields: HarnessPluginFieldRefs;
1208
+ }
1209
+
1210
+ /**
1211
+ * The delegate class that acts as a "Promise-like" for HarnessPlugin.
1212
+ * Why is this prefixed with `Prisma__`?
1213
+ * Because we want to prevent naming conflicts as mentioned in
1214
+ * https://github.com/prisma/prisma-client-js/issues/707
1215
+ */
1216
+ export interface Prisma__HarnessPluginClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1217
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1218
+ user<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>
1219
+ /**
1220
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1221
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1222
+ * @param onrejected The callback to execute when the Promise is rejected.
1223
+ * @returns A Promise for the completion of which ever callback is executed.
1224
+ */
1225
+ 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>
1226
+ /**
1227
+ * Attaches a callback for only the rejection of the Promise.
1228
+ * @param onrejected The callback to execute when the Promise is rejected.
1229
+ * @returns A Promise for the completion of the callback.
1230
+ */
1231
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1232
+ /**
1233
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1234
+ * resolved value cannot be modified from the callback.
1235
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1236
+ * @returns A Promise for the completion of the callback.
1237
+ */
1238
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1239
+ }
1240
+
1241
+
1242
+
1243
+
1244
+ /**
1245
+ * Fields of the HarnessPlugin model
1246
+ */
1247
+ export interface HarnessPluginFieldRefs {
1248
+ readonly id: Prisma.FieldRef<"HarnessPlugin", 'String'>
1249
+ readonly userId: Prisma.FieldRef<"HarnessPlugin", 'String'>
1250
+ readonly name: Prisma.FieldRef<"HarnessPlugin", 'String'>
1251
+ readonly purpose: Prisma.FieldRef<"HarnessPlugin", 'String'>
1252
+ readonly codeHost: Prisma.FieldRef<"HarnessPlugin", 'String'>
1253
+ readonly codeClient: Prisma.FieldRef<"HarnessPlugin", 'String'>
1254
+ readonly tools: Prisma.FieldRef<"HarnessPlugin", 'Json'>
1255
+ readonly version: Prisma.FieldRef<"HarnessPlugin", 'Int'>
1256
+ readonly status: Prisma.FieldRef<"HarnessPlugin", 'String'>
1257
+ readonly lastError: Prisma.FieldRef<"HarnessPlugin", 'String'>
1258
+ readonly createdAt: Prisma.FieldRef<"HarnessPlugin", 'DateTime'>
1259
+ readonly updatedAt: Prisma.FieldRef<"HarnessPlugin", 'DateTime'>
1260
+ readonly isDeleted: Prisma.FieldRef<"HarnessPlugin", 'Boolean'>
1261
+ }
1262
+
1263
+
1264
+ // Custom InputTypes
1265
+ /**
1266
+ * HarnessPlugin findUnique
1267
+ */
1268
+ export type HarnessPluginFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * Select specific fields to fetch from the HarnessPlugin
1271
+ */
1272
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1273
+ /**
1274
+ * Omit specific fields from the HarnessPlugin
1275
+ */
1276
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1277
+ /**
1278
+ * Choose, which related nodes to fetch as well
1279
+ */
1280
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1281
+ /**
1282
+ * Filter, which HarnessPlugin to fetch.
1283
+ */
1284
+ where: Prisma.HarnessPluginWhereUniqueInput
1285
+ }
1286
+
1287
+ /**
1288
+ * HarnessPlugin findUniqueOrThrow
1289
+ */
1290
+ export type HarnessPluginFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1291
+ /**
1292
+ * Select specific fields to fetch from the HarnessPlugin
1293
+ */
1294
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1295
+ /**
1296
+ * Omit specific fields from the HarnessPlugin
1297
+ */
1298
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1299
+ /**
1300
+ * Choose, which related nodes to fetch as well
1301
+ */
1302
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1303
+ /**
1304
+ * Filter, which HarnessPlugin to fetch.
1305
+ */
1306
+ where: Prisma.HarnessPluginWhereUniqueInput
1307
+ }
1308
+
1309
+ /**
1310
+ * HarnessPlugin findFirst
1311
+ */
1312
+ export type HarnessPluginFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1313
+ /**
1314
+ * Select specific fields to fetch from the HarnessPlugin
1315
+ */
1316
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1317
+ /**
1318
+ * Omit specific fields from the HarnessPlugin
1319
+ */
1320
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1321
+ /**
1322
+ * Choose, which related nodes to fetch as well
1323
+ */
1324
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1325
+ /**
1326
+ * Filter, which HarnessPlugin to fetch.
1327
+ */
1328
+ where?: Prisma.HarnessPluginWhereInput
1329
+ /**
1330
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1331
+ *
1332
+ * Determine the order of HarnessPlugins to fetch.
1333
+ */
1334
+ orderBy?: Prisma.HarnessPluginOrderByWithRelationInput | Prisma.HarnessPluginOrderByWithRelationInput[]
1335
+ /**
1336
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1337
+ *
1338
+ * Sets the position for searching for HarnessPlugins.
1339
+ */
1340
+ cursor?: Prisma.HarnessPluginWhereUniqueInput
1341
+ /**
1342
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1343
+ *
1344
+ * Take `±n` HarnessPlugins from the position of the cursor.
1345
+ */
1346
+ take?: number
1347
+ /**
1348
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1349
+ *
1350
+ * Skip the first `n` HarnessPlugins.
1351
+ */
1352
+ skip?: number
1353
+ /**
1354
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1355
+ *
1356
+ * Filter by unique combinations of HarnessPlugins.
1357
+ */
1358
+ distinct?: Prisma.HarnessPluginScalarFieldEnum | Prisma.HarnessPluginScalarFieldEnum[]
1359
+ }
1360
+
1361
+ /**
1362
+ * HarnessPlugin findFirstOrThrow
1363
+ */
1364
+ export type HarnessPluginFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1365
+ /**
1366
+ * Select specific fields to fetch from the HarnessPlugin
1367
+ */
1368
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1369
+ /**
1370
+ * Omit specific fields from the HarnessPlugin
1371
+ */
1372
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1373
+ /**
1374
+ * Choose, which related nodes to fetch as well
1375
+ */
1376
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1377
+ /**
1378
+ * Filter, which HarnessPlugin to fetch.
1379
+ */
1380
+ where?: Prisma.HarnessPluginWhereInput
1381
+ /**
1382
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1383
+ *
1384
+ * Determine the order of HarnessPlugins to fetch.
1385
+ */
1386
+ orderBy?: Prisma.HarnessPluginOrderByWithRelationInput | Prisma.HarnessPluginOrderByWithRelationInput[]
1387
+ /**
1388
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1389
+ *
1390
+ * Sets the position for searching for HarnessPlugins.
1391
+ */
1392
+ cursor?: Prisma.HarnessPluginWhereUniqueInput
1393
+ /**
1394
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1395
+ *
1396
+ * Take `±n` HarnessPlugins from the position of the cursor.
1397
+ */
1398
+ take?: number
1399
+ /**
1400
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1401
+ *
1402
+ * Skip the first `n` HarnessPlugins.
1403
+ */
1404
+ skip?: number
1405
+ /**
1406
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1407
+ *
1408
+ * Filter by unique combinations of HarnessPlugins.
1409
+ */
1410
+ distinct?: Prisma.HarnessPluginScalarFieldEnum | Prisma.HarnessPluginScalarFieldEnum[]
1411
+ }
1412
+
1413
+ /**
1414
+ * HarnessPlugin findMany
1415
+ */
1416
+ export type HarnessPluginFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1417
+ /**
1418
+ * Select specific fields to fetch from the HarnessPlugin
1419
+ */
1420
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1421
+ /**
1422
+ * Omit specific fields from the HarnessPlugin
1423
+ */
1424
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1425
+ /**
1426
+ * Choose, which related nodes to fetch as well
1427
+ */
1428
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1429
+ /**
1430
+ * Filter, which HarnessPlugins to fetch.
1431
+ */
1432
+ where?: Prisma.HarnessPluginWhereInput
1433
+ /**
1434
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1435
+ *
1436
+ * Determine the order of HarnessPlugins to fetch.
1437
+ */
1438
+ orderBy?: Prisma.HarnessPluginOrderByWithRelationInput | Prisma.HarnessPluginOrderByWithRelationInput[]
1439
+ /**
1440
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1441
+ *
1442
+ * Sets the position for listing HarnessPlugins.
1443
+ */
1444
+ cursor?: Prisma.HarnessPluginWhereUniqueInput
1445
+ /**
1446
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1447
+ *
1448
+ * Take `±n` HarnessPlugins from the position of the cursor.
1449
+ */
1450
+ take?: number
1451
+ /**
1452
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1453
+ *
1454
+ * Skip the first `n` HarnessPlugins.
1455
+ */
1456
+ skip?: number
1457
+ /**
1458
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1459
+ *
1460
+ * Filter by unique combinations of HarnessPlugins.
1461
+ */
1462
+ distinct?: Prisma.HarnessPluginScalarFieldEnum | Prisma.HarnessPluginScalarFieldEnum[]
1463
+ }
1464
+
1465
+ /**
1466
+ * HarnessPlugin create
1467
+ */
1468
+ export type HarnessPluginCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1469
+ /**
1470
+ * Select specific fields to fetch from the HarnessPlugin
1471
+ */
1472
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1473
+ /**
1474
+ * Omit specific fields from the HarnessPlugin
1475
+ */
1476
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1477
+ /**
1478
+ * Choose, which related nodes to fetch as well
1479
+ */
1480
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1481
+ /**
1482
+ * The data needed to create a HarnessPlugin.
1483
+ */
1484
+ data: Prisma.XOR<Prisma.HarnessPluginCreateInput, Prisma.HarnessPluginUncheckedCreateInput>
1485
+ }
1486
+
1487
+ /**
1488
+ * HarnessPlugin createMany
1489
+ */
1490
+ export type HarnessPluginCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1491
+ /**
1492
+ * The data used to create many HarnessPlugins.
1493
+ */
1494
+ data: Prisma.HarnessPluginCreateManyInput | Prisma.HarnessPluginCreateManyInput[]
1495
+ skipDuplicates?: boolean
1496
+ }
1497
+
1498
+ /**
1499
+ * HarnessPlugin createManyAndReturn
1500
+ */
1501
+ export type HarnessPluginCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1502
+ /**
1503
+ * Select specific fields to fetch from the HarnessPlugin
1504
+ */
1505
+ select?: Prisma.HarnessPluginSelectCreateManyAndReturn<ExtArgs> | null
1506
+ /**
1507
+ * Omit specific fields from the HarnessPlugin
1508
+ */
1509
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1510
+ /**
1511
+ * The data used to create many HarnessPlugins.
1512
+ */
1513
+ data: Prisma.HarnessPluginCreateManyInput | Prisma.HarnessPluginCreateManyInput[]
1514
+ skipDuplicates?: boolean
1515
+ /**
1516
+ * Choose, which related nodes to fetch as well
1517
+ */
1518
+ include?: Prisma.HarnessPluginIncludeCreateManyAndReturn<ExtArgs> | null
1519
+ }
1520
+
1521
+ /**
1522
+ * HarnessPlugin update
1523
+ */
1524
+ export type HarnessPluginUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1525
+ /**
1526
+ * Select specific fields to fetch from the HarnessPlugin
1527
+ */
1528
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1529
+ /**
1530
+ * Omit specific fields from the HarnessPlugin
1531
+ */
1532
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1533
+ /**
1534
+ * Choose, which related nodes to fetch as well
1535
+ */
1536
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1537
+ /**
1538
+ * The data needed to update a HarnessPlugin.
1539
+ */
1540
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateInput, Prisma.HarnessPluginUncheckedUpdateInput>
1541
+ /**
1542
+ * Choose, which HarnessPlugin to update.
1543
+ */
1544
+ where: Prisma.HarnessPluginWhereUniqueInput
1545
+ }
1546
+
1547
+ /**
1548
+ * HarnessPlugin updateMany
1549
+ */
1550
+ export type HarnessPluginUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1551
+ /**
1552
+ * The data used to update HarnessPlugins.
1553
+ */
1554
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateManyMutationInput, Prisma.HarnessPluginUncheckedUpdateManyInput>
1555
+ /**
1556
+ * Filter which HarnessPlugins to update
1557
+ */
1558
+ where?: Prisma.HarnessPluginWhereInput
1559
+ /**
1560
+ * Limit how many HarnessPlugins to update.
1561
+ */
1562
+ limit?: number
1563
+ }
1564
+
1565
+ /**
1566
+ * HarnessPlugin updateManyAndReturn
1567
+ */
1568
+ export type HarnessPluginUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1569
+ /**
1570
+ * Select specific fields to fetch from the HarnessPlugin
1571
+ */
1572
+ select?: Prisma.HarnessPluginSelectUpdateManyAndReturn<ExtArgs> | null
1573
+ /**
1574
+ * Omit specific fields from the HarnessPlugin
1575
+ */
1576
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1577
+ /**
1578
+ * The data used to update HarnessPlugins.
1579
+ */
1580
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateManyMutationInput, Prisma.HarnessPluginUncheckedUpdateManyInput>
1581
+ /**
1582
+ * Filter which HarnessPlugins to update
1583
+ */
1584
+ where?: Prisma.HarnessPluginWhereInput
1585
+ /**
1586
+ * Limit how many HarnessPlugins to update.
1587
+ */
1588
+ limit?: number
1589
+ /**
1590
+ * Choose, which related nodes to fetch as well
1591
+ */
1592
+ include?: Prisma.HarnessPluginIncludeUpdateManyAndReturn<ExtArgs> | null
1593
+ }
1594
+
1595
+ /**
1596
+ * HarnessPlugin upsert
1597
+ */
1598
+ export type HarnessPluginUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1599
+ /**
1600
+ * Select specific fields to fetch from the HarnessPlugin
1601
+ */
1602
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1603
+ /**
1604
+ * Omit specific fields from the HarnessPlugin
1605
+ */
1606
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1607
+ /**
1608
+ * Choose, which related nodes to fetch as well
1609
+ */
1610
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1611
+ /**
1612
+ * The filter to search for the HarnessPlugin to update in case it exists.
1613
+ */
1614
+ where: Prisma.HarnessPluginWhereUniqueInput
1615
+ /**
1616
+ * In case the HarnessPlugin found by the `where` argument doesn't exist, create a new HarnessPlugin with this data.
1617
+ */
1618
+ create: Prisma.XOR<Prisma.HarnessPluginCreateInput, Prisma.HarnessPluginUncheckedCreateInput>
1619
+ /**
1620
+ * In case the HarnessPlugin was found with the provided `where` argument, update it with this data.
1621
+ */
1622
+ update: Prisma.XOR<Prisma.HarnessPluginUpdateInput, Prisma.HarnessPluginUncheckedUpdateInput>
1623
+ }
1624
+
1625
+ /**
1626
+ * HarnessPlugin delete
1627
+ */
1628
+ export type HarnessPluginDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1629
+ /**
1630
+ * Select specific fields to fetch from the HarnessPlugin
1631
+ */
1632
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1633
+ /**
1634
+ * Omit specific fields from the HarnessPlugin
1635
+ */
1636
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1637
+ /**
1638
+ * Choose, which related nodes to fetch as well
1639
+ */
1640
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1641
+ /**
1642
+ * Filter which HarnessPlugin to delete.
1643
+ */
1644
+ where: Prisma.HarnessPluginWhereUniqueInput
1645
+ }
1646
+
1647
+ /**
1648
+ * HarnessPlugin deleteMany
1649
+ */
1650
+ export type HarnessPluginDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1651
+ /**
1652
+ * Filter which HarnessPlugins to delete
1653
+ */
1654
+ where?: Prisma.HarnessPluginWhereInput
1655
+ /**
1656
+ * Limit how many HarnessPlugins to delete.
1657
+ */
1658
+ limit?: number
1659
+ }
1660
+
1661
+ /**
1662
+ * HarnessPlugin without action
1663
+ */
1664
+ export type HarnessPluginDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1665
+ /**
1666
+ * Select specific fields to fetch from the HarnessPlugin
1667
+ */
1668
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1669
+ /**
1670
+ * Omit specific fields from the HarnessPlugin
1671
+ */
1672
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1673
+ /**
1674
+ * Choose, which related nodes to fetch as well
1675
+ */
1676
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1677
+ }