@allbluecn/database 0.6.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 (103) 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 +85 -0
  5. package/generated/client.ts +85 -0
  6. package/generated/commonInputTypes.ts +106 -46
  7. package/generated/internal/class.ts +174 -4
  8. package/generated/internal/prismaNamespace.ts +1698 -151
  9. package/generated/internal/prismaNamespaceBrowser.ts +279 -7
  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/EmailLog.ts +1345 -0
  23. package/generated/models/EmailPreference.ts +1257 -0
  24. package/generated/models/EmailSubscriber.ts +1233 -0
  25. package/generated/models/EmailVerificationToken.ts +1380 -0
  26. package/generated/models/GenerationRun.ts +193 -1
  27. package/generated/models/HarnessPlugin.ts +1677 -0
  28. package/generated/models/HarnessWorkspace.ts +1650 -0
  29. package/generated/models/InvitationCode.ts +65 -9
  30. package/generated/models/NotificationPreference.ts +27 -1
  31. package/generated/models/OAuthProviderConfig.ts +1227 -0
  32. package/generated/models/Plan.ts +115 -1
  33. package/generated/models/SandboxInstance.ts +1277 -0
  34. package/generated/models/SystemPromptTemplate.ts +1583 -0
  35. package/generated/models/SystemPromptVersion.ts +1459 -0
  36. package/generated/models/User.ts +5759 -823
  37. package/generated/models/UserAgent.ts +250 -1
  38. package/generated/models/Workspace.ts +3 -1
  39. package/generated/models/WorkspaceFile.ts +1535 -0
  40. package/generated/models.ts +17 -0
  41. package/generated-sqlite/browser.ts +90 -0
  42. package/generated-sqlite/client.ts +90 -0
  43. package/generated-sqlite/commonInputTypes.ts +192 -78
  44. package/generated-sqlite/internal/class.ts +184 -4
  45. package/generated-sqlite/internal/prismaNamespace.ts +1786 -138
  46. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +291 -7
  47. package/generated-sqlite/models/AiProviderConfig.ts +100 -1
  48. package/generated-sqlite/models/AiStreamChunk.ts +1157 -0
  49. package/generated-sqlite/models/AiUsageLog.ts +91 -31
  50. package/generated-sqlite/models/Blob.ts +1425 -0
  51. package/generated-sqlite/models/BusinessAgentBinding.ts +1549 -0
  52. package/generated-sqlite/models/ChatInterrupt.ts +42 -1
  53. package/generated-sqlite/models/ChatMessage.ts +58 -29
  54. package/generated-sqlite/models/ChatPersistenceMeta.ts +1119 -0
  55. package/generated-sqlite/models/ChatRun.ts +174 -1
  56. package/generated-sqlite/models/ChatThread.ts +293 -1
  57. package/generated-sqlite/models/CodeSnippet.ts +1552 -0
  58. package/generated-sqlite/models/DesktopSetting.ts +1057 -0
  59. package/generated-sqlite/models/EmailLog.ts +1343 -0
  60. package/generated-sqlite/models/EmailPreference.ts +1255 -0
  61. package/generated-sqlite/models/EmailSubscriber.ts +1231 -0
  62. package/generated-sqlite/models/EmailVerificationToken.ts +1377 -0
  63. package/generated-sqlite/models/GenerationRun.ts +193 -1
  64. package/generated-sqlite/models/HarnessPlugin.ts +1674 -0
  65. package/generated-sqlite/models/HarnessWorkspace.ts +1647 -0
  66. package/generated-sqlite/models/InvitationCode.ts +65 -9
  67. package/generated-sqlite/models/NotificationPreference.ts +1313 -0
  68. package/generated-sqlite/models/OAuthProviderConfig.ts +1225 -0
  69. package/generated-sqlite/models/PageVersion.ts +0 -8
  70. package/generated-sqlite/models/Plan.ts +115 -1
  71. package/generated-sqlite/models/SandboxInstance.ts +1283 -0
  72. package/generated-sqlite/models/SystemPromptTemplate.ts +1581 -0
  73. package/generated-sqlite/models/SystemPromptVersion.ts +1456 -0
  74. package/generated-sqlite/models/User.ts +5345 -701
  75. package/generated-sqlite/models/UserAgent.ts +250 -1
  76. package/generated-sqlite/models/Workspace.ts +3 -1
  77. package/generated-sqlite/models/WorkspaceFile.ts +1532 -0
  78. package/generated-sqlite/models.ts +18 -0
  79. package/get-prisma.ts +6 -0
  80. package/index.ts +11 -6
  81. package/migrations/20260911120000_add_pgvector_tables/migration.sql +28 -0
  82. package/migrations/20260911171433_email_auth_invitation/migration.sql +80 -0
  83. package/migrations/20260912032616_email_p4_p8/migration.sql +42 -0
  84. package/migrations/20260914002427_ai_p0_durable_runs_meta/migration.sql +15 -0
  85. package/migrations/20260914041010_ai_p0_interrupt_requested_at/migration.sql +15 -0
  86. package/migrations/20260914041909_ai_p0_message_tool_call_id/migration.sql +2 -0
  87. package/migrations/20260914042448_ai_p0_message_content_json/migration.sql +27 -0
  88. package/migrations/20260914150229_harness_plugin/migration.sql +27 -0
  89. package/migrations/20260914174404_prompt_platform_agents/migration.sql +67 -0
  90. package/migrations/20260915090000_add_memory_facts/migration.sql +22 -0
  91. package/migrations/20260915124417_ai_p3_sandbox_durable/migration.sql +48 -0
  92. package/migrations/20260915150034_sandbox_instance_updatedat_bigint/migration.sql +2 -0
  93. package/migrations/20260915154000_add_code_snippets/migration.sql +31 -0
  94. package/migrations/20260916090000_ai_usage_log_nullable_workspace/migration.sql +10 -0
  95. package/migrations/20260916192752_add_ai_source_mode/migration.sql +13 -0
  96. package/migrations/20260917044512_harness_workspace/migration.sql +47 -0
  97. package/migrations/20260917100000_add_media_plan_limits/migration.sql +3 -0
  98. package/migrations/20260917163433_add_generation_run_linked_target/migration.sql +2 -0
  99. package/migrations/20260920050606_add_blob_table/migration.sql +17 -0
  100. package/migrations/20260920093412_add_byteplus_voice_fields/migration.sql +3 -0
  101. package/package.json +8 -3
  102. package/schema.prisma +413 -99
  103. package/schema.sqlite.prisma +865 -543
@@ -0,0 +1,1674 @@
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
+ }
628
+
629
+ export type HarnessPluginUpsertWithWhereUniqueWithoutUserInput = {
630
+ where: Prisma.HarnessPluginWhereUniqueInput
631
+ update: Prisma.XOR<Prisma.HarnessPluginUpdateWithoutUserInput, Prisma.HarnessPluginUncheckedUpdateWithoutUserInput>
632
+ create: Prisma.XOR<Prisma.HarnessPluginCreateWithoutUserInput, Prisma.HarnessPluginUncheckedCreateWithoutUserInput>
633
+ }
634
+
635
+ export type HarnessPluginUpdateWithWhereUniqueWithoutUserInput = {
636
+ where: Prisma.HarnessPluginWhereUniqueInput
637
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateWithoutUserInput, Prisma.HarnessPluginUncheckedUpdateWithoutUserInput>
638
+ }
639
+
640
+ export type HarnessPluginUpdateManyWithWhereWithoutUserInput = {
641
+ where: Prisma.HarnessPluginScalarWhereInput
642
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateManyMutationInput, Prisma.HarnessPluginUncheckedUpdateManyWithoutUserInput>
643
+ }
644
+
645
+ export type HarnessPluginScalarWhereInput = {
646
+ AND?: Prisma.HarnessPluginScalarWhereInput | Prisma.HarnessPluginScalarWhereInput[]
647
+ OR?: Prisma.HarnessPluginScalarWhereInput[]
648
+ NOT?: Prisma.HarnessPluginScalarWhereInput | Prisma.HarnessPluginScalarWhereInput[]
649
+ id?: Prisma.StringFilter<"HarnessPlugin"> | string
650
+ userId?: Prisma.StringFilter<"HarnessPlugin"> | string
651
+ name?: Prisma.StringFilter<"HarnessPlugin"> | string
652
+ purpose?: Prisma.StringFilter<"HarnessPlugin"> | string
653
+ codeHost?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
654
+ codeClient?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
655
+ tools?: Prisma.JsonFilter<"HarnessPlugin">
656
+ version?: Prisma.IntFilter<"HarnessPlugin"> | number
657
+ status?: Prisma.StringFilter<"HarnessPlugin"> | string
658
+ lastError?: Prisma.StringNullableFilter<"HarnessPlugin"> | string | null
659
+ createdAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
660
+ updatedAt?: Prisma.DateTimeFilter<"HarnessPlugin"> | Date | string
661
+ isDeleted?: Prisma.BoolFilter<"HarnessPlugin"> | boolean
662
+ }
663
+
664
+ export type HarnessPluginCreateManyUserInput = {
665
+ id?: string
666
+ name: string
667
+ purpose: string
668
+ codeHost?: string | null
669
+ codeClient?: string | null
670
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
671
+ version?: number
672
+ status?: string
673
+ lastError?: string | null
674
+ createdAt?: Date | string
675
+ updatedAt?: Date | string
676
+ isDeleted?: boolean
677
+ }
678
+
679
+ export type HarnessPluginUpdateWithoutUserInput = {
680
+ id?: Prisma.StringFieldUpdateOperationsInput | string
681
+ name?: Prisma.StringFieldUpdateOperationsInput | string
682
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
683
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
684
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
685
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
686
+ version?: Prisma.IntFieldUpdateOperationsInput | number
687
+ status?: Prisma.StringFieldUpdateOperationsInput | string
688
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
689
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
690
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
691
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
692
+ }
693
+
694
+ export type HarnessPluginUncheckedUpdateWithoutUserInput = {
695
+ id?: Prisma.StringFieldUpdateOperationsInput | string
696
+ name?: Prisma.StringFieldUpdateOperationsInput | string
697
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
698
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
699
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
700
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
701
+ version?: Prisma.IntFieldUpdateOperationsInput | number
702
+ status?: Prisma.StringFieldUpdateOperationsInput | string
703
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
704
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
705
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
706
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
707
+ }
708
+
709
+ export type HarnessPluginUncheckedUpdateManyWithoutUserInput = {
710
+ id?: Prisma.StringFieldUpdateOperationsInput | string
711
+ name?: Prisma.StringFieldUpdateOperationsInput | string
712
+ purpose?: Prisma.StringFieldUpdateOperationsInput | string
713
+ codeHost?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
714
+ codeClient?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
715
+ tools?: Prisma.JsonNullValueInput | runtime.InputJsonValue
716
+ version?: Prisma.IntFieldUpdateOperationsInput | number
717
+ status?: Prisma.StringFieldUpdateOperationsInput | string
718
+ lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
719
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
720
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
721
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
722
+ }
723
+
724
+
725
+
726
+ export type HarnessPluginSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
727
+ id?: boolean
728
+ userId?: boolean
729
+ name?: boolean
730
+ purpose?: boolean
731
+ codeHost?: boolean
732
+ codeClient?: boolean
733
+ tools?: boolean
734
+ version?: boolean
735
+ status?: boolean
736
+ lastError?: boolean
737
+ createdAt?: boolean
738
+ updatedAt?: boolean
739
+ isDeleted?: boolean
740
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
741
+ }, ExtArgs["result"]["harnessPlugin"]>
742
+
743
+ export type HarnessPluginSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
744
+ id?: boolean
745
+ userId?: boolean
746
+ name?: boolean
747
+ purpose?: boolean
748
+ codeHost?: boolean
749
+ codeClient?: boolean
750
+ tools?: boolean
751
+ version?: boolean
752
+ status?: boolean
753
+ lastError?: boolean
754
+ createdAt?: boolean
755
+ updatedAt?: boolean
756
+ isDeleted?: boolean
757
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
758
+ }, ExtArgs["result"]["harnessPlugin"]>
759
+
760
+ export type HarnessPluginSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
761
+ id?: boolean
762
+ userId?: boolean
763
+ name?: boolean
764
+ purpose?: boolean
765
+ codeHost?: boolean
766
+ codeClient?: boolean
767
+ tools?: boolean
768
+ version?: boolean
769
+ status?: boolean
770
+ lastError?: boolean
771
+ createdAt?: boolean
772
+ updatedAt?: boolean
773
+ isDeleted?: boolean
774
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
775
+ }, ExtArgs["result"]["harnessPlugin"]>
776
+
777
+ export type HarnessPluginSelectScalar = {
778
+ id?: boolean
779
+ userId?: boolean
780
+ name?: boolean
781
+ purpose?: boolean
782
+ codeHost?: boolean
783
+ codeClient?: boolean
784
+ tools?: boolean
785
+ version?: boolean
786
+ status?: boolean
787
+ lastError?: boolean
788
+ createdAt?: boolean
789
+ updatedAt?: boolean
790
+ isDeleted?: boolean
791
+ }
792
+
793
+ 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"]>
794
+ export type HarnessPluginInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
795
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
796
+ }
797
+ export type HarnessPluginIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
798
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
799
+ }
800
+ export type HarnessPluginIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
801
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
802
+ }
803
+
804
+ export type $HarnessPluginPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
805
+ name: "HarnessPlugin"
806
+ objects: {
807
+ user: Prisma.$UserPayload<ExtArgs>
808
+ }
809
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
810
+ id: string
811
+ userId: string
812
+ name: string
813
+ purpose: string
814
+ codeHost: string | null
815
+ codeClient: string | null
816
+ tools: runtime.JsonValue
817
+ version: number
818
+ status: string
819
+ lastError: string | null
820
+ createdAt: Date
821
+ updatedAt: Date
822
+ isDeleted: boolean
823
+ }, ExtArgs["result"]["harnessPlugin"]>
824
+ composites: {}
825
+ }
826
+
827
+ export type HarnessPluginGetPayload<S extends boolean | null | undefined | HarnessPluginDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload, S>
828
+
829
+ export type HarnessPluginCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
830
+ Omit<HarnessPluginFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
831
+ select?: HarnessPluginCountAggregateInputType | true
832
+ }
833
+
834
+ export interface HarnessPluginDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
835
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessPlugin'], meta: { name: 'HarnessPlugin' } }
836
+ /**
837
+ * Find zero or one HarnessPlugin that matches the filter.
838
+ * @param {HarnessPluginFindUniqueArgs} args - Arguments to find a HarnessPlugin
839
+ * @example
840
+ * // Get one HarnessPlugin
841
+ * const harnessPlugin = await prisma.harnessPlugin.findUnique({
842
+ * where: {
843
+ * // ... provide filter here
844
+ * }
845
+ * })
846
+ */
847
+ 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>
848
+
849
+ /**
850
+ * Find one HarnessPlugin that matches the filter or throw an error with `error.code='P2025'`
851
+ * if no matches were found.
852
+ * @param {HarnessPluginFindUniqueOrThrowArgs} args - Arguments to find a HarnessPlugin
853
+ * @example
854
+ * // Get one HarnessPlugin
855
+ * const harnessPlugin = await prisma.harnessPlugin.findUniqueOrThrow({
856
+ * where: {
857
+ * // ... provide filter here
858
+ * }
859
+ * })
860
+ */
861
+ 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>
862
+
863
+ /**
864
+ * Find the first HarnessPlugin that matches the filter.
865
+ * Note, that providing `undefined` is treated as the value not being there.
866
+ * Read more here: https://pris.ly/d/null-undefined
867
+ * @param {HarnessPluginFindFirstArgs} args - Arguments to find a HarnessPlugin
868
+ * @example
869
+ * // Get one HarnessPlugin
870
+ * const harnessPlugin = await prisma.harnessPlugin.findFirst({
871
+ * where: {
872
+ * // ... provide filter here
873
+ * }
874
+ * })
875
+ */
876
+ 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>
877
+
878
+ /**
879
+ * Find the first HarnessPlugin that matches the filter or
880
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
881
+ * Note, that providing `undefined` is treated as the value not being there.
882
+ * Read more here: https://pris.ly/d/null-undefined
883
+ * @param {HarnessPluginFindFirstOrThrowArgs} args - Arguments to find a HarnessPlugin
884
+ * @example
885
+ * // Get one HarnessPlugin
886
+ * const harnessPlugin = await prisma.harnessPlugin.findFirstOrThrow({
887
+ * where: {
888
+ * // ... provide filter here
889
+ * }
890
+ * })
891
+ */
892
+ 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>
893
+
894
+ /**
895
+ * Find zero or more HarnessPlugins that matches the filter.
896
+ * Note, that providing `undefined` is treated as the value not being there.
897
+ * Read more here: https://pris.ly/d/null-undefined
898
+ * @param {HarnessPluginFindManyArgs} args - Arguments to filter and select certain fields only.
899
+ * @example
900
+ * // Get all HarnessPlugins
901
+ * const harnessPlugins = await prisma.harnessPlugin.findMany()
902
+ *
903
+ * // Get first 10 HarnessPlugins
904
+ * const harnessPlugins = await prisma.harnessPlugin.findMany({ take: 10 })
905
+ *
906
+ * // Only select the `id`
907
+ * const harnessPluginWithIdOnly = await prisma.harnessPlugin.findMany({ select: { id: true } })
908
+ *
909
+ */
910
+ findMany<T extends HarnessPluginFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessPluginFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
911
+
912
+ /**
913
+ * Create a HarnessPlugin.
914
+ * @param {HarnessPluginCreateArgs} args - Arguments to create a HarnessPlugin.
915
+ * @example
916
+ * // Create one HarnessPlugin
917
+ * const HarnessPlugin = await prisma.harnessPlugin.create({
918
+ * data: {
919
+ * // ... data to create a HarnessPlugin
920
+ * }
921
+ * })
922
+ *
923
+ */
924
+ 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>
925
+
926
+ /**
927
+ * Create many HarnessPlugins.
928
+ * @param {HarnessPluginCreateManyArgs} args - Arguments to create many HarnessPlugins.
929
+ * @example
930
+ * // Create many HarnessPlugins
931
+ * const harnessPlugin = await prisma.harnessPlugin.createMany({
932
+ * data: [
933
+ * // ... provide data here
934
+ * ]
935
+ * })
936
+ *
937
+ */
938
+ createMany<T extends HarnessPluginCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessPluginCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
939
+
940
+ /**
941
+ * Create many HarnessPlugins and returns the data saved in the database.
942
+ * @param {HarnessPluginCreateManyAndReturnArgs} args - Arguments to create many HarnessPlugins.
943
+ * @example
944
+ * // Create many HarnessPlugins
945
+ * const harnessPlugin = await prisma.harnessPlugin.createManyAndReturn({
946
+ * data: [
947
+ * // ... provide data here
948
+ * ]
949
+ * })
950
+ *
951
+ * // Create many HarnessPlugins and only return the `id`
952
+ * const harnessPluginWithIdOnly = await prisma.harnessPlugin.createManyAndReturn({
953
+ * select: { id: true },
954
+ * data: [
955
+ * // ... provide data here
956
+ * ]
957
+ * })
958
+ * Note, that providing `undefined` is treated as the value not being there.
959
+ * Read more here: https://pris.ly/d/null-undefined
960
+ *
961
+ */
962
+ createManyAndReturn<T extends HarnessPluginCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessPluginCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
963
+
964
+ /**
965
+ * Delete a HarnessPlugin.
966
+ * @param {HarnessPluginDeleteArgs} args - Arguments to delete one HarnessPlugin.
967
+ * @example
968
+ * // Delete one HarnessPlugin
969
+ * const HarnessPlugin = await prisma.harnessPlugin.delete({
970
+ * where: {
971
+ * // ... filter to delete one HarnessPlugin
972
+ * }
973
+ * })
974
+ *
975
+ */
976
+ 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>
977
+
978
+ /**
979
+ * Update one HarnessPlugin.
980
+ * @param {HarnessPluginUpdateArgs} args - Arguments to update one HarnessPlugin.
981
+ * @example
982
+ * // Update one HarnessPlugin
983
+ * const harnessPlugin = await prisma.harnessPlugin.update({
984
+ * where: {
985
+ * // ... provide filter here
986
+ * },
987
+ * data: {
988
+ * // ... provide data here
989
+ * }
990
+ * })
991
+ *
992
+ */
993
+ 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>
994
+
995
+ /**
996
+ * Delete zero or more HarnessPlugins.
997
+ * @param {HarnessPluginDeleteManyArgs} args - Arguments to filter HarnessPlugins to delete.
998
+ * @example
999
+ * // Delete a few HarnessPlugins
1000
+ * const { count } = await prisma.harnessPlugin.deleteMany({
1001
+ * where: {
1002
+ * // ... provide filter here
1003
+ * }
1004
+ * })
1005
+ *
1006
+ */
1007
+ deleteMany<T extends HarnessPluginDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessPluginDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1008
+
1009
+ /**
1010
+ * Update zero or more HarnessPlugins.
1011
+ * Note, that providing `undefined` is treated as the value not being there.
1012
+ * Read more here: https://pris.ly/d/null-undefined
1013
+ * @param {HarnessPluginUpdateManyArgs} args - Arguments to update one or more rows.
1014
+ * @example
1015
+ * // Update many HarnessPlugins
1016
+ * const harnessPlugin = await prisma.harnessPlugin.updateMany({
1017
+ * where: {
1018
+ * // ... provide filter here
1019
+ * },
1020
+ * data: {
1021
+ * // ... provide data here
1022
+ * }
1023
+ * })
1024
+ *
1025
+ */
1026
+ updateMany<T extends HarnessPluginUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessPluginUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1027
+
1028
+ /**
1029
+ * Update zero or more HarnessPlugins and returns the data updated in the database.
1030
+ * @param {HarnessPluginUpdateManyAndReturnArgs} args - Arguments to update many HarnessPlugins.
1031
+ * @example
1032
+ * // Update many HarnessPlugins
1033
+ * const harnessPlugin = await prisma.harnessPlugin.updateManyAndReturn({
1034
+ * where: {
1035
+ * // ... provide filter here
1036
+ * },
1037
+ * data: [
1038
+ * // ... provide data here
1039
+ * ]
1040
+ * })
1041
+ *
1042
+ * // Update zero or more HarnessPlugins and only return the `id`
1043
+ * const harnessPluginWithIdOnly = await prisma.harnessPlugin.updateManyAndReturn({
1044
+ * select: { id: true },
1045
+ * where: {
1046
+ * // ... provide filter here
1047
+ * },
1048
+ * data: [
1049
+ * // ... provide data here
1050
+ * ]
1051
+ * })
1052
+ * Note, that providing `undefined` is treated as the value not being there.
1053
+ * Read more here: https://pris.ly/d/null-undefined
1054
+ *
1055
+ */
1056
+ updateManyAndReturn<T extends HarnessPluginUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessPluginUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessPluginPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1057
+
1058
+ /**
1059
+ * Create or update one HarnessPlugin.
1060
+ * @param {HarnessPluginUpsertArgs} args - Arguments to update or create a HarnessPlugin.
1061
+ * @example
1062
+ * // Update or create a HarnessPlugin
1063
+ * const harnessPlugin = await prisma.harnessPlugin.upsert({
1064
+ * create: {
1065
+ * // ... data to create a HarnessPlugin
1066
+ * },
1067
+ * update: {
1068
+ * // ... in case it already exists, update
1069
+ * },
1070
+ * where: {
1071
+ * // ... the filter for the HarnessPlugin we want to update
1072
+ * }
1073
+ * })
1074
+ */
1075
+ 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>
1076
+
1077
+
1078
+ /**
1079
+ * Count the number of HarnessPlugins.
1080
+ * Note, that providing `undefined` is treated as the value not being there.
1081
+ * Read more here: https://pris.ly/d/null-undefined
1082
+ * @param {HarnessPluginCountArgs} args - Arguments to filter HarnessPlugins to count.
1083
+ * @example
1084
+ * // Count the number of HarnessPlugins
1085
+ * const count = await prisma.harnessPlugin.count({
1086
+ * where: {
1087
+ * // ... the filter for the HarnessPlugins we want to count
1088
+ * }
1089
+ * })
1090
+ **/
1091
+ count<T extends HarnessPluginCountArgs>(
1092
+ args?: Prisma.Subset<T, HarnessPluginCountArgs>,
1093
+ ): Prisma.PrismaPromise<
1094
+ T extends runtime.Types.Utils.Record<'select', any>
1095
+ ? T['select'] extends true
1096
+ ? number
1097
+ : Prisma.GetScalarType<T['select'], HarnessPluginCountAggregateOutputType>
1098
+ : number
1099
+ >
1100
+
1101
+ /**
1102
+ * Allows you to perform aggregations operations on a HarnessPlugin.
1103
+ * Note, that providing `undefined` is treated as the value not being there.
1104
+ * Read more here: https://pris.ly/d/null-undefined
1105
+ * @param {HarnessPluginAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1106
+ * @example
1107
+ * // Ordered by age ascending
1108
+ * // Where email contains prisma.io
1109
+ * // Limited to the 10 users
1110
+ * const aggregations = await prisma.user.aggregate({
1111
+ * _avg: {
1112
+ * age: true,
1113
+ * },
1114
+ * where: {
1115
+ * email: {
1116
+ * contains: "prisma.io",
1117
+ * },
1118
+ * },
1119
+ * orderBy: {
1120
+ * age: "asc",
1121
+ * },
1122
+ * take: 10,
1123
+ * })
1124
+ **/
1125
+ aggregate<T extends HarnessPluginAggregateArgs>(args: Prisma.Subset<T, HarnessPluginAggregateArgs>): Prisma.PrismaPromise<GetHarnessPluginAggregateType<T>>
1126
+
1127
+ /**
1128
+ * Group by HarnessPlugin.
1129
+ * Note, that providing `undefined` is treated as the value not being there.
1130
+ * Read more here: https://pris.ly/d/null-undefined
1131
+ * @param {HarnessPluginGroupByArgs} args - Group by arguments.
1132
+ * @example
1133
+ * // Group by city, order by createdAt, get count
1134
+ * const result = await prisma.user.groupBy({
1135
+ * by: ['city', 'createdAt'],
1136
+ * orderBy: {
1137
+ * createdAt: true
1138
+ * },
1139
+ * _count: {
1140
+ * _all: true
1141
+ * },
1142
+ * })
1143
+ *
1144
+ **/
1145
+ groupBy<
1146
+ T extends HarnessPluginGroupByArgs,
1147
+ HasSelectOrTake extends Prisma.Or<
1148
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1149
+ Prisma.Extends<'take', Prisma.Keys<T>>
1150
+ >,
1151
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1152
+ ? { orderBy: HarnessPluginGroupByArgs['orderBy'] }
1153
+ : { orderBy?: HarnessPluginGroupByArgs['orderBy'] },
1154
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1155
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1156
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1157
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1158
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1159
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1160
+ InputErrors extends ByEmpty extends Prisma.True
1161
+ ? `Error: "by" must not be empty.`
1162
+ : HavingValid extends Prisma.False
1163
+ ? {
1164
+ [P in HavingFields]: P extends ByFields
1165
+ ? never
1166
+ : P extends string
1167
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1168
+ : [
1169
+ Error,
1170
+ 'Field ',
1171
+ P,
1172
+ ` in "having" needs to be provided in "by"`,
1173
+ ]
1174
+ }[HavingFields]
1175
+ : 'take' extends Prisma.Keys<T>
1176
+ ? 'orderBy' extends Prisma.Keys<T>
1177
+ ? ByValid extends Prisma.True
1178
+ ? {}
1179
+ : {
1180
+ [P in OrderFields]: P extends ByFields
1181
+ ? never
1182
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1183
+ }[OrderFields]
1184
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1185
+ : 'skip' extends Prisma.Keys<T>
1186
+ ? 'orderBy' extends Prisma.Keys<T>
1187
+ ? ByValid extends Prisma.True
1188
+ ? {}
1189
+ : {
1190
+ [P in OrderFields]: P extends ByFields
1191
+ ? never
1192
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1193
+ }[OrderFields]
1194
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1195
+ : ByValid extends Prisma.True
1196
+ ? {}
1197
+ : {
1198
+ [P in OrderFields]: P extends ByFields
1199
+ ? never
1200
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1201
+ }[OrderFields]
1202
+ >(args: Prisma.SubsetIntersection<T, HarnessPluginGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessPluginGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1203
+ /**
1204
+ * Fields of the HarnessPlugin model
1205
+ */
1206
+ readonly fields: HarnessPluginFieldRefs;
1207
+ }
1208
+
1209
+ /**
1210
+ * The delegate class that acts as a "Promise-like" for HarnessPlugin.
1211
+ * Why is this prefixed with `Prisma__`?
1212
+ * Because we want to prevent naming conflicts as mentioned in
1213
+ * https://github.com/prisma/prisma-client-js/issues/707
1214
+ */
1215
+ export interface Prisma__HarnessPluginClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1216
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1217
+ 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>
1218
+ /**
1219
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1220
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1221
+ * @param onrejected The callback to execute when the Promise is rejected.
1222
+ * @returns A Promise for the completion of which ever callback is executed.
1223
+ */
1224
+ 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>
1225
+ /**
1226
+ * Attaches a callback for only the rejection of the Promise.
1227
+ * @param onrejected The callback to execute when the Promise is rejected.
1228
+ * @returns A Promise for the completion of the callback.
1229
+ */
1230
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1231
+ /**
1232
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1233
+ * resolved value cannot be modified from the callback.
1234
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1235
+ * @returns A Promise for the completion of the callback.
1236
+ */
1237
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1238
+ }
1239
+
1240
+
1241
+
1242
+
1243
+ /**
1244
+ * Fields of the HarnessPlugin model
1245
+ */
1246
+ export interface HarnessPluginFieldRefs {
1247
+ readonly id: Prisma.FieldRef<"HarnessPlugin", 'String'>
1248
+ readonly userId: Prisma.FieldRef<"HarnessPlugin", 'String'>
1249
+ readonly name: Prisma.FieldRef<"HarnessPlugin", 'String'>
1250
+ readonly purpose: Prisma.FieldRef<"HarnessPlugin", 'String'>
1251
+ readonly codeHost: Prisma.FieldRef<"HarnessPlugin", 'String'>
1252
+ readonly codeClient: Prisma.FieldRef<"HarnessPlugin", 'String'>
1253
+ readonly tools: Prisma.FieldRef<"HarnessPlugin", 'Json'>
1254
+ readonly version: Prisma.FieldRef<"HarnessPlugin", 'Int'>
1255
+ readonly status: Prisma.FieldRef<"HarnessPlugin", 'String'>
1256
+ readonly lastError: Prisma.FieldRef<"HarnessPlugin", 'String'>
1257
+ readonly createdAt: Prisma.FieldRef<"HarnessPlugin", 'DateTime'>
1258
+ readonly updatedAt: Prisma.FieldRef<"HarnessPlugin", 'DateTime'>
1259
+ readonly isDeleted: Prisma.FieldRef<"HarnessPlugin", 'Boolean'>
1260
+ }
1261
+
1262
+
1263
+ // Custom InputTypes
1264
+ /**
1265
+ * HarnessPlugin findUnique
1266
+ */
1267
+ export type HarnessPluginFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
+ /**
1269
+ * Select specific fields to fetch from the HarnessPlugin
1270
+ */
1271
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1272
+ /**
1273
+ * Omit specific fields from the HarnessPlugin
1274
+ */
1275
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1276
+ /**
1277
+ * Choose, which related nodes to fetch as well
1278
+ */
1279
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1280
+ /**
1281
+ * Filter, which HarnessPlugin to fetch.
1282
+ */
1283
+ where: Prisma.HarnessPluginWhereUniqueInput
1284
+ }
1285
+
1286
+ /**
1287
+ * HarnessPlugin findUniqueOrThrow
1288
+ */
1289
+ export type HarnessPluginFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1290
+ /**
1291
+ * Select specific fields to fetch from the HarnessPlugin
1292
+ */
1293
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1294
+ /**
1295
+ * Omit specific fields from the HarnessPlugin
1296
+ */
1297
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1298
+ /**
1299
+ * Choose, which related nodes to fetch as well
1300
+ */
1301
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1302
+ /**
1303
+ * Filter, which HarnessPlugin to fetch.
1304
+ */
1305
+ where: Prisma.HarnessPluginWhereUniqueInput
1306
+ }
1307
+
1308
+ /**
1309
+ * HarnessPlugin findFirst
1310
+ */
1311
+ export type HarnessPluginFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1312
+ /**
1313
+ * Select specific fields to fetch from the HarnessPlugin
1314
+ */
1315
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1316
+ /**
1317
+ * Omit specific fields from the HarnessPlugin
1318
+ */
1319
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1320
+ /**
1321
+ * Choose, which related nodes to fetch as well
1322
+ */
1323
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1324
+ /**
1325
+ * Filter, which HarnessPlugin to fetch.
1326
+ */
1327
+ where?: Prisma.HarnessPluginWhereInput
1328
+ /**
1329
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1330
+ *
1331
+ * Determine the order of HarnessPlugins to fetch.
1332
+ */
1333
+ orderBy?: Prisma.HarnessPluginOrderByWithRelationInput | Prisma.HarnessPluginOrderByWithRelationInput[]
1334
+ /**
1335
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1336
+ *
1337
+ * Sets the position for searching for HarnessPlugins.
1338
+ */
1339
+ cursor?: Prisma.HarnessPluginWhereUniqueInput
1340
+ /**
1341
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1342
+ *
1343
+ * Take `±n` HarnessPlugins from the position of the cursor.
1344
+ */
1345
+ take?: number
1346
+ /**
1347
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1348
+ *
1349
+ * Skip the first `n` HarnessPlugins.
1350
+ */
1351
+ skip?: number
1352
+ /**
1353
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1354
+ *
1355
+ * Filter by unique combinations of HarnessPlugins.
1356
+ */
1357
+ distinct?: Prisma.HarnessPluginScalarFieldEnum | Prisma.HarnessPluginScalarFieldEnum[]
1358
+ }
1359
+
1360
+ /**
1361
+ * HarnessPlugin findFirstOrThrow
1362
+ */
1363
+ export type HarnessPluginFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1364
+ /**
1365
+ * Select specific fields to fetch from the HarnessPlugin
1366
+ */
1367
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1368
+ /**
1369
+ * Omit specific fields from the HarnessPlugin
1370
+ */
1371
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1372
+ /**
1373
+ * Choose, which related nodes to fetch as well
1374
+ */
1375
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1376
+ /**
1377
+ * Filter, which HarnessPlugin to fetch.
1378
+ */
1379
+ where?: Prisma.HarnessPluginWhereInput
1380
+ /**
1381
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1382
+ *
1383
+ * Determine the order of HarnessPlugins to fetch.
1384
+ */
1385
+ orderBy?: Prisma.HarnessPluginOrderByWithRelationInput | Prisma.HarnessPluginOrderByWithRelationInput[]
1386
+ /**
1387
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1388
+ *
1389
+ * Sets the position for searching for HarnessPlugins.
1390
+ */
1391
+ cursor?: Prisma.HarnessPluginWhereUniqueInput
1392
+ /**
1393
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1394
+ *
1395
+ * Take `±n` HarnessPlugins from the position of the cursor.
1396
+ */
1397
+ take?: number
1398
+ /**
1399
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1400
+ *
1401
+ * Skip the first `n` HarnessPlugins.
1402
+ */
1403
+ skip?: number
1404
+ /**
1405
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1406
+ *
1407
+ * Filter by unique combinations of HarnessPlugins.
1408
+ */
1409
+ distinct?: Prisma.HarnessPluginScalarFieldEnum | Prisma.HarnessPluginScalarFieldEnum[]
1410
+ }
1411
+
1412
+ /**
1413
+ * HarnessPlugin findMany
1414
+ */
1415
+ export type HarnessPluginFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1416
+ /**
1417
+ * Select specific fields to fetch from the HarnessPlugin
1418
+ */
1419
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1420
+ /**
1421
+ * Omit specific fields from the HarnessPlugin
1422
+ */
1423
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1424
+ /**
1425
+ * Choose, which related nodes to fetch as well
1426
+ */
1427
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1428
+ /**
1429
+ * Filter, which HarnessPlugins to fetch.
1430
+ */
1431
+ where?: Prisma.HarnessPluginWhereInput
1432
+ /**
1433
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1434
+ *
1435
+ * Determine the order of HarnessPlugins to fetch.
1436
+ */
1437
+ orderBy?: Prisma.HarnessPluginOrderByWithRelationInput | Prisma.HarnessPluginOrderByWithRelationInput[]
1438
+ /**
1439
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1440
+ *
1441
+ * Sets the position for listing HarnessPlugins.
1442
+ */
1443
+ cursor?: Prisma.HarnessPluginWhereUniqueInput
1444
+ /**
1445
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1446
+ *
1447
+ * Take `±n` HarnessPlugins from the position of the cursor.
1448
+ */
1449
+ take?: number
1450
+ /**
1451
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1452
+ *
1453
+ * Skip the first `n` HarnessPlugins.
1454
+ */
1455
+ skip?: number
1456
+ /**
1457
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1458
+ *
1459
+ * Filter by unique combinations of HarnessPlugins.
1460
+ */
1461
+ distinct?: Prisma.HarnessPluginScalarFieldEnum | Prisma.HarnessPluginScalarFieldEnum[]
1462
+ }
1463
+
1464
+ /**
1465
+ * HarnessPlugin create
1466
+ */
1467
+ export type HarnessPluginCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1468
+ /**
1469
+ * Select specific fields to fetch from the HarnessPlugin
1470
+ */
1471
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1472
+ /**
1473
+ * Omit specific fields from the HarnessPlugin
1474
+ */
1475
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1476
+ /**
1477
+ * Choose, which related nodes to fetch as well
1478
+ */
1479
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1480
+ /**
1481
+ * The data needed to create a HarnessPlugin.
1482
+ */
1483
+ data: Prisma.XOR<Prisma.HarnessPluginCreateInput, Prisma.HarnessPluginUncheckedCreateInput>
1484
+ }
1485
+
1486
+ /**
1487
+ * HarnessPlugin createMany
1488
+ */
1489
+ export type HarnessPluginCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1490
+ /**
1491
+ * The data used to create many HarnessPlugins.
1492
+ */
1493
+ data: Prisma.HarnessPluginCreateManyInput | Prisma.HarnessPluginCreateManyInput[]
1494
+ }
1495
+
1496
+ /**
1497
+ * HarnessPlugin createManyAndReturn
1498
+ */
1499
+ export type HarnessPluginCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1500
+ /**
1501
+ * Select specific fields to fetch from the HarnessPlugin
1502
+ */
1503
+ select?: Prisma.HarnessPluginSelectCreateManyAndReturn<ExtArgs> | null
1504
+ /**
1505
+ * Omit specific fields from the HarnessPlugin
1506
+ */
1507
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1508
+ /**
1509
+ * The data used to create many HarnessPlugins.
1510
+ */
1511
+ data: Prisma.HarnessPluginCreateManyInput | Prisma.HarnessPluginCreateManyInput[]
1512
+ /**
1513
+ * Choose, which related nodes to fetch as well
1514
+ */
1515
+ include?: Prisma.HarnessPluginIncludeCreateManyAndReturn<ExtArgs> | null
1516
+ }
1517
+
1518
+ /**
1519
+ * HarnessPlugin update
1520
+ */
1521
+ export type HarnessPluginUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1522
+ /**
1523
+ * Select specific fields to fetch from the HarnessPlugin
1524
+ */
1525
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1526
+ /**
1527
+ * Omit specific fields from the HarnessPlugin
1528
+ */
1529
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1530
+ /**
1531
+ * Choose, which related nodes to fetch as well
1532
+ */
1533
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1534
+ /**
1535
+ * The data needed to update a HarnessPlugin.
1536
+ */
1537
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateInput, Prisma.HarnessPluginUncheckedUpdateInput>
1538
+ /**
1539
+ * Choose, which HarnessPlugin to update.
1540
+ */
1541
+ where: Prisma.HarnessPluginWhereUniqueInput
1542
+ }
1543
+
1544
+ /**
1545
+ * HarnessPlugin updateMany
1546
+ */
1547
+ export type HarnessPluginUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1548
+ /**
1549
+ * The data used to update HarnessPlugins.
1550
+ */
1551
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateManyMutationInput, Prisma.HarnessPluginUncheckedUpdateManyInput>
1552
+ /**
1553
+ * Filter which HarnessPlugins to update
1554
+ */
1555
+ where?: Prisma.HarnessPluginWhereInput
1556
+ /**
1557
+ * Limit how many HarnessPlugins to update.
1558
+ */
1559
+ limit?: number
1560
+ }
1561
+
1562
+ /**
1563
+ * HarnessPlugin updateManyAndReturn
1564
+ */
1565
+ export type HarnessPluginUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1566
+ /**
1567
+ * Select specific fields to fetch from the HarnessPlugin
1568
+ */
1569
+ select?: Prisma.HarnessPluginSelectUpdateManyAndReturn<ExtArgs> | null
1570
+ /**
1571
+ * Omit specific fields from the HarnessPlugin
1572
+ */
1573
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1574
+ /**
1575
+ * The data used to update HarnessPlugins.
1576
+ */
1577
+ data: Prisma.XOR<Prisma.HarnessPluginUpdateManyMutationInput, Prisma.HarnessPluginUncheckedUpdateManyInput>
1578
+ /**
1579
+ * Filter which HarnessPlugins to update
1580
+ */
1581
+ where?: Prisma.HarnessPluginWhereInput
1582
+ /**
1583
+ * Limit how many HarnessPlugins to update.
1584
+ */
1585
+ limit?: number
1586
+ /**
1587
+ * Choose, which related nodes to fetch as well
1588
+ */
1589
+ include?: Prisma.HarnessPluginIncludeUpdateManyAndReturn<ExtArgs> | null
1590
+ }
1591
+
1592
+ /**
1593
+ * HarnessPlugin upsert
1594
+ */
1595
+ export type HarnessPluginUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1596
+ /**
1597
+ * Select specific fields to fetch from the HarnessPlugin
1598
+ */
1599
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1600
+ /**
1601
+ * Omit specific fields from the HarnessPlugin
1602
+ */
1603
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1604
+ /**
1605
+ * Choose, which related nodes to fetch as well
1606
+ */
1607
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1608
+ /**
1609
+ * The filter to search for the HarnessPlugin to update in case it exists.
1610
+ */
1611
+ where: Prisma.HarnessPluginWhereUniqueInput
1612
+ /**
1613
+ * In case the HarnessPlugin found by the `where` argument doesn't exist, create a new HarnessPlugin with this data.
1614
+ */
1615
+ create: Prisma.XOR<Prisma.HarnessPluginCreateInput, Prisma.HarnessPluginUncheckedCreateInput>
1616
+ /**
1617
+ * In case the HarnessPlugin was found with the provided `where` argument, update it with this data.
1618
+ */
1619
+ update: Prisma.XOR<Prisma.HarnessPluginUpdateInput, Prisma.HarnessPluginUncheckedUpdateInput>
1620
+ }
1621
+
1622
+ /**
1623
+ * HarnessPlugin delete
1624
+ */
1625
+ export type HarnessPluginDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1626
+ /**
1627
+ * Select specific fields to fetch from the HarnessPlugin
1628
+ */
1629
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1630
+ /**
1631
+ * Omit specific fields from the HarnessPlugin
1632
+ */
1633
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1634
+ /**
1635
+ * Choose, which related nodes to fetch as well
1636
+ */
1637
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1638
+ /**
1639
+ * Filter which HarnessPlugin to delete.
1640
+ */
1641
+ where: Prisma.HarnessPluginWhereUniqueInput
1642
+ }
1643
+
1644
+ /**
1645
+ * HarnessPlugin deleteMany
1646
+ */
1647
+ export type HarnessPluginDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1648
+ /**
1649
+ * Filter which HarnessPlugins to delete
1650
+ */
1651
+ where?: Prisma.HarnessPluginWhereInput
1652
+ /**
1653
+ * Limit how many HarnessPlugins to delete.
1654
+ */
1655
+ limit?: number
1656
+ }
1657
+
1658
+ /**
1659
+ * HarnessPlugin without action
1660
+ */
1661
+ export type HarnessPluginDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1662
+ /**
1663
+ * Select specific fields to fetch from the HarnessPlugin
1664
+ */
1665
+ select?: Prisma.HarnessPluginSelect<ExtArgs> | null
1666
+ /**
1667
+ * Omit specific fields from the HarnessPlugin
1668
+ */
1669
+ omit?: Prisma.HarnessPluginOmit<ExtArgs> | null
1670
+ /**
1671
+ * Choose, which related nodes to fetch as well
1672
+ */
1673
+ include?: Prisma.HarnessPluginInclude<ExtArgs> | null
1674
+ }