@allbluecn/database 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/cf-env-stub.ts +4 -0
  2. package/cf-env.ts +25 -0
  3. package/cloudflare-workers.d.ts +6 -0
  4. package/dist/cf-env-stub.d.ts +1 -0
  5. package/dist/cf-env-stub.js +4 -0
  6. package/dist/cf-env.d.ts +1 -0
  7. package/dist/cf-env.js +8 -0
  8. package/generated/browser.ts +30 -15
  9. package/generated/client.ts +30 -15
  10. package/generated/internal/class.ts +64 -34
  11. package/generated/internal/prismaNamespace.ts +543 -263
  12. package/generated/internal/prismaNamespaceBrowser.ts +92 -37
  13. package/generated/models/AiTask.ts +2481 -0
  14. package/generated/models/AiTaskRun.ts +1564 -0
  15. package/generated/models/Bug.ts +94 -1
  16. package/generated/models/BugComment.ts +139 -0
  17. package/generated/models/BugCommentReaction.ts +1472 -0
  18. package/generated/models/CollabClient.ts +1199 -0
  19. package/generated/models/CollabDocument.ts +1121 -0
  20. package/generated/models/CollabUpdate.ts +1149 -0
  21. package/generated/models/Component.ts +0 -194
  22. package/generated/models/Design.ts +0 -190
  23. package/generated/models/Project.ts +261 -0
  24. package/generated/models/TestCase.ts +78 -1
  25. package/generated/models/User.ts +2073 -1271
  26. package/generated/models/Workspace.ts +204 -0
  27. package/generated/models.ts +6 -3
  28. package/generated-sqlite/browser.ts +0 -15
  29. package/generated-sqlite/client.ts +0 -15
  30. package/generated-sqlite/internal/class.ts +4 -34
  31. package/generated-sqlite/internal/prismaNamespace.ts +1 -262
  32. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -36
  33. package/generated-sqlite/models/Component.ts +0 -194
  34. package/generated-sqlite/models/Design.ts +0 -182
  35. package/generated-sqlite/models/User.ts +0 -586
  36. package/generated-sqlite/models.ts +0 -3
  37. package/index.ts +16 -2
  38. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  39. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  40. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  41. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  42. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  43. package/package.json +17 -6
  44. package/schema.prisma +99 -54
  45. package/schema.sqlite.prisma +0 -54
  46. package/generated/models/ComponentTag.ts +0 -1281
  47. package/generated/models/DesignTag.ts +0 -1430
  48. package/generated/models/Tag.ts +0 -1655
  49. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  50. package/generated-sqlite/models/DesignTag.ts +0 -1426
  51. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -233,6 +233,7 @@ export type ProjectWhereInput = {
233
233
  bugs?: Prisma.BugListRelationFilter
234
234
  accessTokens?: Prisma.ProjectAccessTokenListRelationFilter
235
235
  webhooks?: Prisma.ProjectWebhookListRelationFilter
236
+ aiTasks?: Prisma.AiTaskListRelationFilter
236
237
  bugSettings?: Prisma.XOR<Prisma.BugProjectSettingsNullableScalarRelationFilter, Prisma.BugProjectSettingsWhereInput> | null
237
238
  testCases?: Prisma.TestCaseListRelationFilter
238
239
  testCaseFolders?: Prisma.TestCaseFolderListRelationFilter
@@ -263,6 +264,7 @@ export type ProjectOrderByWithRelationInput = {
263
264
  bugs?: Prisma.BugOrderByRelationAggregateInput
264
265
  accessTokens?: Prisma.ProjectAccessTokenOrderByRelationAggregateInput
265
266
  webhooks?: Prisma.ProjectWebhookOrderByRelationAggregateInput
267
+ aiTasks?: Prisma.AiTaskOrderByRelationAggregateInput
266
268
  bugSettings?: Prisma.BugProjectSettingsOrderByWithRelationInput
267
269
  testCases?: Prisma.TestCaseOrderByRelationAggregateInput
268
270
  testCaseFolders?: Prisma.TestCaseFolderOrderByRelationAggregateInput
@@ -297,6 +299,7 @@ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
297
299
  bugs?: Prisma.BugListRelationFilter
298
300
  accessTokens?: Prisma.ProjectAccessTokenListRelationFilter
299
301
  webhooks?: Prisma.ProjectWebhookListRelationFilter
302
+ aiTasks?: Prisma.AiTaskListRelationFilter
300
303
  bugSettings?: Prisma.XOR<Prisma.BugProjectSettingsNullableScalarRelationFilter, Prisma.BugProjectSettingsWhereInput> | null
301
304
  testCases?: Prisma.TestCaseListRelationFilter
302
305
  testCaseFolders?: Prisma.TestCaseFolderListRelationFilter
@@ -357,6 +360,7 @@ export type ProjectCreateInput = {
357
360
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
358
361
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
359
362
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
363
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
360
364
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
361
365
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
362
366
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -385,6 +389,7 @@ export type ProjectUncheckedCreateInput = {
385
389
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
386
390
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
387
391
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
392
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
388
393
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
389
394
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
390
395
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -413,6 +418,7 @@ export type ProjectUpdateInput = {
413
418
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
414
419
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
415
420
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
421
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
416
422
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
417
423
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
418
424
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -441,6 +447,7 @@ export type ProjectUncheckedUpdateInput = {
441
447
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
442
448
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
443
449
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
450
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
444
451
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
445
452
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
446
453
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -545,6 +552,11 @@ export type ProjectScalarRelationFilter = {
545
552
  isNot?: Prisma.ProjectWhereInput
546
553
  }
547
554
 
555
+ export type ProjectNullableScalarRelationFilter = {
556
+ is?: Prisma.ProjectWhereInput | null
557
+ isNot?: Prisma.ProjectWhereInput | null
558
+ }
559
+
548
560
  export type ProjectCreateNestedManyWithoutOwnerInput = {
549
561
  create?: Prisma.XOR<Prisma.ProjectCreateWithoutOwnerInput, Prisma.ProjectUncheckedCreateWithoutOwnerInput> | Prisma.ProjectCreateWithoutOwnerInput[] | Prisma.ProjectUncheckedCreateWithoutOwnerInput[]
550
562
  connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutOwnerInput | Prisma.ProjectCreateOrConnectWithoutOwnerInput[]
@@ -839,6 +851,22 @@ export type ProjectUpdateOneRequiredWithoutTestRunsNestedInput = {
839
851
  update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutTestRunsInput, Prisma.ProjectUpdateWithoutTestRunsInput>, Prisma.ProjectUncheckedUpdateWithoutTestRunsInput>
840
852
  }
841
853
 
854
+ export type ProjectCreateNestedOneWithoutAiTasksInput = {
855
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutAiTasksInput, Prisma.ProjectUncheckedCreateWithoutAiTasksInput>
856
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutAiTasksInput
857
+ connect?: Prisma.ProjectWhereUniqueInput
858
+ }
859
+
860
+ export type ProjectUpdateOneWithoutAiTasksNestedInput = {
861
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutAiTasksInput, Prisma.ProjectUncheckedCreateWithoutAiTasksInput>
862
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutAiTasksInput
863
+ upsert?: Prisma.ProjectUpsertWithoutAiTasksInput
864
+ disconnect?: Prisma.ProjectWhereInput | boolean
865
+ delete?: Prisma.ProjectWhereInput | boolean
866
+ connect?: Prisma.ProjectWhereUniqueInput
867
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutAiTasksInput, Prisma.ProjectUpdateWithoutAiTasksInput>, Prisma.ProjectUncheckedUpdateWithoutAiTasksInput>
868
+ }
869
+
842
870
  export type ProjectCreateWithoutOwnerInput = {
843
871
  id?: string
844
872
  displayId?: string | null
@@ -858,6 +886,7 @@ export type ProjectCreateWithoutOwnerInput = {
858
886
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
859
887
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
860
888
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
889
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
861
890
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
862
891
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
863
892
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -885,6 +914,7 @@ export type ProjectUncheckedCreateWithoutOwnerInput = {
885
914
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
886
915
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
887
916
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
917
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
888
918
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
889
919
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
890
920
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -954,6 +984,7 @@ export type ProjectCreateWithoutMembersInput = {
954
984
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
955
985
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
956
986
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
987
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
957
988
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
958
989
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
959
990
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -981,6 +1012,7 @@ export type ProjectUncheckedCreateWithoutMembersInput = {
981
1012
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
982
1013
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
983
1014
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1015
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
984
1016
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
985
1017
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
986
1018
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1024,6 +1056,7 @@ export type ProjectUpdateWithoutMembersInput = {
1024
1056
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
1025
1057
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
1026
1058
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
1059
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1027
1060
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1028
1061
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1029
1062
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1051,6 +1084,7 @@ export type ProjectUncheckedUpdateWithoutMembersInput = {
1051
1084
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
1052
1085
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
1053
1086
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
1087
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
1054
1088
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
1055
1089
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
1056
1090
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -1078,6 +1112,7 @@ export type ProjectCreateWithoutWorkspaceInput = {
1078
1112
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
1079
1113
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
1080
1114
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1115
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1081
1116
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1082
1117
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1083
1118
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1105,6 +1140,7 @@ export type ProjectUncheckedCreateWithoutWorkspaceInput = {
1105
1140
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
1106
1141
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
1107
1142
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1143
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1108
1144
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1109
1145
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1110
1146
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1158,6 +1194,7 @@ export type ProjectCreateWithoutActivitiesInput = {
1158
1194
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
1159
1195
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
1160
1196
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1197
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1161
1198
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1162
1199
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1163
1200
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1185,6 +1222,7 @@ export type ProjectUncheckedCreateWithoutActivitiesInput = {
1185
1222
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
1186
1223
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
1187
1224
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1225
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1188
1226
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1189
1227
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1190
1228
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1228,6 +1266,7 @@ export type ProjectUpdateWithoutActivitiesInput = {
1228
1266
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
1229
1267
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
1230
1268
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
1269
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1231
1270
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1232
1271
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1233
1272
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1255,6 +1294,7 @@ export type ProjectUncheckedUpdateWithoutActivitiesInput = {
1255
1294
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
1256
1295
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
1257
1296
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
1297
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
1258
1298
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
1259
1299
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
1260
1300
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -1282,6 +1322,7 @@ export type ProjectCreateWithoutStoriesInput = {
1282
1322
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
1283
1323
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
1284
1324
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1325
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1285
1326
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1286
1327
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1287
1328
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1309,6 +1350,7 @@ export type ProjectUncheckedCreateWithoutStoriesInput = {
1309
1350
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
1310
1351
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
1311
1352
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1353
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1312
1354
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1313
1355
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1314
1356
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1352,6 +1394,7 @@ export type ProjectUpdateWithoutStoriesInput = {
1352
1394
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
1353
1395
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
1354
1396
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
1397
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1355
1398
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1356
1399
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1357
1400
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1379,6 +1422,7 @@ export type ProjectUncheckedUpdateWithoutStoriesInput = {
1379
1422
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
1380
1423
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
1381
1424
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
1425
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
1382
1426
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
1383
1427
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
1384
1428
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -1406,6 +1450,7 @@ export type ProjectCreateWithoutKnowledgeBasesInput = {
1406
1450
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
1407
1451
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
1408
1452
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1453
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1409
1454
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1410
1455
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1411
1456
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1433,6 +1478,7 @@ export type ProjectUncheckedCreateWithoutKnowledgeBasesInput = {
1433
1478
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
1434
1479
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
1435
1480
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1481
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1436
1482
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1437
1483
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1438
1484
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1476,6 +1522,7 @@ export type ProjectUpdateWithoutKnowledgeBasesInput = {
1476
1522
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
1477
1523
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
1478
1524
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
1525
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1479
1526
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1480
1527
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1481
1528
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1503,6 +1550,7 @@ export type ProjectUncheckedUpdateWithoutKnowledgeBasesInput = {
1503
1550
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
1504
1551
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
1505
1552
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
1553
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
1506
1554
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
1507
1555
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
1508
1556
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -1530,6 +1578,7 @@ export type ProjectCreateWithoutIterationsInput = {
1530
1578
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
1531
1579
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
1532
1580
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1581
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1533
1582
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1534
1583
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1535
1584
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1557,6 +1606,7 @@ export type ProjectUncheckedCreateWithoutIterationsInput = {
1557
1606
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
1558
1607
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
1559
1608
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1609
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1560
1610
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1561
1611
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1562
1612
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1600,6 +1650,7 @@ export type ProjectUpdateWithoutIterationsInput = {
1600
1650
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
1601
1651
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
1602
1652
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
1653
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1603
1654
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1604
1655
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1605
1656
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1627,6 +1678,7 @@ export type ProjectUncheckedUpdateWithoutIterationsInput = {
1627
1678
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
1628
1679
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
1629
1680
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
1681
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
1630
1682
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
1631
1683
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
1632
1684
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -1654,6 +1706,7 @@ export type ProjectCreateWithoutIterationAutoScheduleInput = {
1654
1706
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
1655
1707
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
1656
1708
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1709
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1657
1710
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1658
1711
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1659
1712
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1681,6 +1734,7 @@ export type ProjectUncheckedCreateWithoutIterationAutoScheduleInput = {
1681
1734
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
1682
1735
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
1683
1736
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1737
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1684
1738
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1685
1739
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1686
1740
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1724,6 +1778,7 @@ export type ProjectUpdateWithoutIterationAutoScheduleInput = {
1724
1778
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
1725
1779
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
1726
1780
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
1781
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1727
1782
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1728
1783
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1729
1784
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1751,6 +1806,7 @@ export type ProjectUncheckedUpdateWithoutIterationAutoScheduleInput = {
1751
1806
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
1752
1807
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
1753
1808
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
1809
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
1754
1810
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
1755
1811
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
1756
1812
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -1778,6 +1834,7 @@ export type ProjectCreateWithoutBugsInput = {
1778
1834
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
1779
1835
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
1780
1836
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1837
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1781
1838
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1782
1839
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1783
1840
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1805,6 +1862,7 @@ export type ProjectUncheckedCreateWithoutBugsInput = {
1805
1862
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
1806
1863
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
1807
1864
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1865
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1808
1866
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1809
1867
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1810
1868
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1848,6 +1906,7 @@ export type ProjectUpdateWithoutBugsInput = {
1848
1906
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1849
1907
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
1850
1908
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
1909
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1851
1910
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1852
1911
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1853
1912
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1875,6 +1934,7 @@ export type ProjectUncheckedUpdateWithoutBugsInput = {
1875
1934
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1876
1935
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
1877
1936
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
1937
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
1878
1938
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
1879
1939
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
1880
1940
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -1902,6 +1962,7 @@ export type ProjectCreateWithoutAccessTokensInput = {
1902
1962
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
1903
1963
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
1904
1964
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
1965
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
1905
1966
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
1906
1967
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
1907
1968
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -1929,6 +1990,7 @@ export type ProjectUncheckedCreateWithoutAccessTokensInput = {
1929
1990
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
1930
1991
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
1931
1992
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
1993
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
1932
1994
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
1933
1995
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
1934
1996
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -1972,6 +2034,7 @@ export type ProjectUpdateWithoutAccessTokensInput = {
1972
2034
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1973
2035
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
1974
2036
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
2037
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
1975
2038
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
1976
2039
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
1977
2040
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -1999,6 +2062,7 @@ export type ProjectUncheckedUpdateWithoutAccessTokensInput = {
1999
2062
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
2000
2063
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2001
2064
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
2065
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2002
2066
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2003
2067
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2004
2068
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -2026,6 +2090,7 @@ export type ProjectCreateWithoutWebhooksInput = {
2026
2090
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
2027
2091
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2028
2092
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2093
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
2029
2094
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
2030
2095
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
2031
2096
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -2053,6 +2118,7 @@ export type ProjectUncheckedCreateWithoutWebhooksInput = {
2053
2118
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
2054
2119
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
2055
2120
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
2121
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
2056
2122
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
2057
2123
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
2058
2124
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -2096,6 +2162,7 @@ export type ProjectUpdateWithoutWebhooksInput = {
2096
2162
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
2097
2163
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2098
2164
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2165
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2099
2166
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2100
2167
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2101
2168
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -2123,6 +2190,7 @@ export type ProjectUncheckedUpdateWithoutWebhooksInput = {
2123
2190
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
2124
2191
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2125
2192
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2193
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2126
2194
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2127
2195
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2128
2196
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -2151,6 +2219,7 @@ export type ProjectCreateWithoutBugSettingsInput = {
2151
2219
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2152
2220
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2153
2221
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
2222
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
2154
2223
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
2155
2224
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
2156
2225
  testGenerationRuns?: Prisma.TestGenerationRunCreateNestedManyWithoutProjectInput
@@ -2178,6 +2247,7 @@ export type ProjectUncheckedCreateWithoutBugSettingsInput = {
2178
2247
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
2179
2248
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
2180
2249
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
2250
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
2181
2251
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
2182
2252
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
2183
2253
  testGenerationRuns?: Prisma.TestGenerationRunUncheckedCreateNestedManyWithoutProjectInput
@@ -2221,6 +2291,7 @@ export type ProjectUpdateWithoutBugSettingsInput = {
2221
2291
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2222
2292
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2223
2293
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
2294
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2224
2295
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2225
2296
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
2226
2297
  testGenerationRuns?: Prisma.TestGenerationRunUpdateManyWithoutProjectNestedInput
@@ -2248,6 +2319,7 @@ export type ProjectUncheckedUpdateWithoutBugSettingsInput = {
2248
2319
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2249
2320
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2250
2321
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
2322
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2251
2323
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2252
2324
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
2253
2325
  testGenerationRuns?: Prisma.TestGenerationRunUncheckedUpdateManyWithoutProjectNestedInput
@@ -2275,6 +2347,7 @@ export type ProjectCreateWithoutTestCasesInput = {
2275
2347
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2276
2348
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2277
2349
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
2350
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
2278
2351
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
2279
2352
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
2280
2353
  testGenerationRuns?: Prisma.TestGenerationRunCreateNestedManyWithoutProjectInput
@@ -2302,6 +2375,7 @@ export type ProjectUncheckedCreateWithoutTestCasesInput = {
2302
2375
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
2303
2376
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
2304
2377
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
2378
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
2305
2379
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
2306
2380
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
2307
2381
  testGenerationRuns?: Prisma.TestGenerationRunUncheckedCreateNestedManyWithoutProjectInput
@@ -2345,6 +2419,7 @@ export type ProjectUpdateWithoutTestCasesInput = {
2345
2419
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2346
2420
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2347
2421
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
2422
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2348
2423
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2349
2424
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
2350
2425
  testGenerationRuns?: Prisma.TestGenerationRunUpdateManyWithoutProjectNestedInput
@@ -2372,6 +2447,7 @@ export type ProjectUncheckedUpdateWithoutTestCasesInput = {
2372
2447
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2373
2448
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2374
2449
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
2450
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2375
2451
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2376
2452
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
2377
2453
  testGenerationRuns?: Prisma.TestGenerationRunUncheckedUpdateManyWithoutProjectNestedInput
@@ -2399,6 +2475,7 @@ export type ProjectCreateWithoutTestCaseFoldersInput = {
2399
2475
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2400
2476
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2401
2477
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
2478
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
2402
2479
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
2403
2480
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
2404
2481
  testGenerationRuns?: Prisma.TestGenerationRunCreateNestedManyWithoutProjectInput
@@ -2426,6 +2503,7 @@ export type ProjectUncheckedCreateWithoutTestCaseFoldersInput = {
2426
2503
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
2427
2504
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
2428
2505
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
2506
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
2429
2507
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
2430
2508
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
2431
2509
  testGenerationRuns?: Prisma.TestGenerationRunUncheckedCreateNestedManyWithoutProjectInput
@@ -2469,6 +2547,7 @@ export type ProjectUpdateWithoutTestCaseFoldersInput = {
2469
2547
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2470
2548
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2471
2549
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
2550
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2472
2551
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2473
2552
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2474
2553
  testGenerationRuns?: Prisma.TestGenerationRunUpdateManyWithoutProjectNestedInput
@@ -2496,6 +2575,7 @@ export type ProjectUncheckedUpdateWithoutTestCaseFoldersInput = {
2496
2575
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2497
2576
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2498
2577
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
2578
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2499
2579
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2500
2580
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2501
2581
  testGenerationRuns?: Prisma.TestGenerationRunUncheckedUpdateManyWithoutProjectNestedInput
@@ -2523,6 +2603,7 @@ export type ProjectCreateWithoutTestGenerationRunsInput = {
2523
2603
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2524
2604
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2525
2605
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
2606
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
2526
2607
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
2527
2608
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
2528
2609
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -2550,6 +2631,7 @@ export type ProjectUncheckedCreateWithoutTestGenerationRunsInput = {
2550
2631
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
2551
2632
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
2552
2633
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
2634
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
2553
2635
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
2554
2636
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
2555
2637
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -2593,6 +2675,7 @@ export type ProjectUpdateWithoutTestGenerationRunsInput = {
2593
2675
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2594
2676
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2595
2677
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
2678
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2596
2679
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2597
2680
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2598
2681
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -2620,6 +2703,7 @@ export type ProjectUncheckedUpdateWithoutTestGenerationRunsInput = {
2620
2703
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2621
2704
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2622
2705
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
2706
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2623
2707
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2624
2708
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2625
2709
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -2647,6 +2731,7 @@ export type ProjectCreateWithoutTestPlansInput = {
2647
2731
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2648
2732
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2649
2733
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
2734
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
2650
2735
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
2651
2736
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
2652
2737
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -2674,6 +2759,7 @@ export type ProjectUncheckedCreateWithoutTestPlansInput = {
2674
2759
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
2675
2760
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
2676
2761
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
2762
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
2677
2763
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
2678
2764
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
2679
2765
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -2717,6 +2803,7 @@ export type ProjectUpdateWithoutTestPlansInput = {
2717
2803
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2718
2804
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2719
2805
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
2806
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2720
2807
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2721
2808
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2722
2809
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -2744,6 +2831,7 @@ export type ProjectUncheckedUpdateWithoutTestPlansInput = {
2744
2831
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2745
2832
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2746
2833
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
2834
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2747
2835
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2748
2836
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2749
2837
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -2771,6 +2859,7 @@ export type ProjectCreateWithoutTestRunsInput = {
2771
2859
  bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2772
2860
  accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2773
2861
  webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
2862
+ aiTasks?: Prisma.AiTaskCreateNestedManyWithoutProjectInput
2774
2863
  bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
2775
2864
  testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
2776
2865
  testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
@@ -2798,6 +2887,7 @@ export type ProjectUncheckedCreateWithoutTestRunsInput = {
2798
2887
  bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
2799
2888
  accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
2800
2889
  webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
2890
+ aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutProjectInput
2801
2891
  bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
2802
2892
  testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
2803
2893
  testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
@@ -2841,6 +2931,7 @@ export type ProjectUpdateWithoutTestRunsInput = {
2841
2931
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2842
2932
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2843
2933
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
2934
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2844
2935
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2845
2936
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2846
2937
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -2868,6 +2959,7 @@ export type ProjectUncheckedUpdateWithoutTestRunsInput = {
2868
2959
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2869
2960
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2870
2961
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
2962
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2871
2963
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2872
2964
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2873
2965
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -2875,6 +2967,134 @@ export type ProjectUncheckedUpdateWithoutTestRunsInput = {
2875
2967
  testPlans?: Prisma.TestPlanUncheckedUpdateManyWithoutProjectNestedInput
2876
2968
  }
2877
2969
 
2970
+ export type ProjectCreateWithoutAiTasksInput = {
2971
+ id?: string
2972
+ displayId?: string | null
2973
+ name: string
2974
+ description?: string | null
2975
+ icon?: string
2976
+ timezone?: string | null
2977
+ createdAt?: Date | string
2978
+ updatedAt?: Date | string
2979
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
2980
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
2981
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
2982
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
2983
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
2984
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
2985
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
2986
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
2987
+ bugs?: Prisma.BugCreateNestedManyWithoutProjectInput
2988
+ accessTokens?: Prisma.ProjectAccessTokenCreateNestedManyWithoutProjectInput
2989
+ webhooks?: Prisma.ProjectWebhookCreateNestedManyWithoutProjectInput
2990
+ bugSettings?: Prisma.BugProjectSettingsCreateNestedOneWithoutProjectInput
2991
+ testCases?: Prisma.TestCaseCreateNestedManyWithoutProjectInput
2992
+ testCaseFolders?: Prisma.TestCaseFolderCreateNestedManyWithoutProjectInput
2993
+ testGenerationRuns?: Prisma.TestGenerationRunCreateNestedManyWithoutProjectInput
2994
+ testPlans?: Prisma.TestPlanCreateNestedManyWithoutProjectInput
2995
+ testRuns?: Prisma.TestRunCreateNestedManyWithoutProjectInput
2996
+ }
2997
+
2998
+ export type ProjectUncheckedCreateWithoutAiTasksInput = {
2999
+ id?: string
3000
+ displayId?: string | null
3001
+ name: string
3002
+ description?: string | null
3003
+ icon?: string
3004
+ timezone?: string | null
3005
+ ownerId: string
3006
+ workspaceId?: string | null
3007
+ createdAt?: Date | string
3008
+ updatedAt?: Date | string
3009
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
3010
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
3011
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
3012
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
3013
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
3014
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
3015
+ bugs?: Prisma.BugUncheckedCreateNestedManyWithoutProjectInput
3016
+ accessTokens?: Prisma.ProjectAccessTokenUncheckedCreateNestedManyWithoutProjectInput
3017
+ webhooks?: Prisma.ProjectWebhookUncheckedCreateNestedManyWithoutProjectInput
3018
+ bugSettings?: Prisma.BugProjectSettingsUncheckedCreateNestedOneWithoutProjectInput
3019
+ testCases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutProjectInput
3020
+ testCaseFolders?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput
3021
+ testGenerationRuns?: Prisma.TestGenerationRunUncheckedCreateNestedManyWithoutProjectInput
3022
+ testPlans?: Prisma.TestPlanUncheckedCreateNestedManyWithoutProjectInput
3023
+ testRuns?: Prisma.TestRunUncheckedCreateNestedManyWithoutProjectInput
3024
+ }
3025
+
3026
+ export type ProjectCreateOrConnectWithoutAiTasksInput = {
3027
+ where: Prisma.ProjectWhereUniqueInput
3028
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutAiTasksInput, Prisma.ProjectUncheckedCreateWithoutAiTasksInput>
3029
+ }
3030
+
3031
+ export type ProjectUpsertWithoutAiTasksInput = {
3032
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutAiTasksInput, Prisma.ProjectUncheckedUpdateWithoutAiTasksInput>
3033
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutAiTasksInput, Prisma.ProjectUncheckedCreateWithoutAiTasksInput>
3034
+ where?: Prisma.ProjectWhereInput
3035
+ }
3036
+
3037
+ export type ProjectUpdateToOneWithWhereWithoutAiTasksInput = {
3038
+ where?: Prisma.ProjectWhereInput
3039
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutAiTasksInput, Prisma.ProjectUncheckedUpdateWithoutAiTasksInput>
3040
+ }
3041
+
3042
+ export type ProjectUpdateWithoutAiTasksInput = {
3043
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3044
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3045
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3046
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3047
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
3048
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3049
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3050
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3051
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
3052
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
3053
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
3054
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
3055
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
3056
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
3057
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
3058
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
3059
+ bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
3060
+ accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
3061
+ webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
3062
+ bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
3063
+ testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
3064
+ testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
3065
+ testGenerationRuns?: Prisma.TestGenerationRunUpdateManyWithoutProjectNestedInput
3066
+ testPlans?: Prisma.TestPlanUpdateManyWithoutProjectNestedInput
3067
+ testRuns?: Prisma.TestRunUpdateManyWithoutProjectNestedInput
3068
+ }
3069
+
3070
+ export type ProjectUncheckedUpdateWithoutAiTasksInput = {
3071
+ id?: Prisma.StringFieldUpdateOperationsInput | string
3072
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3073
+ name?: Prisma.StringFieldUpdateOperationsInput | string
3074
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3075
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
3076
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3077
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
3078
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3079
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3080
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3081
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
3082
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
3083
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
3084
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
3085
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
3086
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
3087
+ bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
3088
+ accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
3089
+ webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
3090
+ bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
3091
+ testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
3092
+ testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
3093
+ testGenerationRuns?: Prisma.TestGenerationRunUncheckedUpdateManyWithoutProjectNestedInput
3094
+ testPlans?: Prisma.TestPlanUncheckedUpdateManyWithoutProjectNestedInput
3095
+ testRuns?: Prisma.TestRunUncheckedUpdateManyWithoutProjectNestedInput
3096
+ }
3097
+
2878
3098
  export type ProjectCreateManyOwnerInput = {
2879
3099
  id?: string
2880
3100
  displayId?: string | null
@@ -2906,6 +3126,7 @@ export type ProjectUpdateWithoutOwnerInput = {
2906
3126
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2907
3127
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2908
3128
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
3129
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2909
3130
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2910
3131
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2911
3132
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -2933,6 +3154,7 @@ export type ProjectUncheckedUpdateWithoutOwnerInput = {
2933
3154
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
2934
3155
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
2935
3156
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
3157
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
2936
3158
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
2937
3159
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
2938
3160
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -2984,6 +3206,7 @@ export type ProjectUpdateWithoutWorkspaceInput = {
2984
3206
  bugs?: Prisma.BugUpdateManyWithoutProjectNestedInput
2985
3207
  accessTokens?: Prisma.ProjectAccessTokenUpdateManyWithoutProjectNestedInput
2986
3208
  webhooks?: Prisma.ProjectWebhookUpdateManyWithoutProjectNestedInput
3209
+ aiTasks?: Prisma.AiTaskUpdateManyWithoutProjectNestedInput
2987
3210
  bugSettings?: Prisma.BugProjectSettingsUpdateOneWithoutProjectNestedInput
2988
3211
  testCases?: Prisma.TestCaseUpdateManyWithoutProjectNestedInput
2989
3212
  testCaseFolders?: Prisma.TestCaseFolderUpdateManyWithoutProjectNestedInput
@@ -3011,6 +3234,7 @@ export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
3011
3234
  bugs?: Prisma.BugUncheckedUpdateManyWithoutProjectNestedInput
3012
3235
  accessTokens?: Prisma.ProjectAccessTokenUncheckedUpdateManyWithoutProjectNestedInput
3013
3236
  webhooks?: Prisma.ProjectWebhookUncheckedUpdateManyWithoutProjectNestedInput
3237
+ aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutProjectNestedInput
3014
3238
  bugSettings?: Prisma.BugProjectSettingsUncheckedUpdateOneWithoutProjectNestedInput
3015
3239
  testCases?: Prisma.TestCaseUncheckedUpdateManyWithoutProjectNestedInput
3016
3240
  testCaseFolders?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput
@@ -3045,6 +3269,7 @@ export type ProjectCountOutputType = {
3045
3269
  bugs: number
3046
3270
  accessTokens: number
3047
3271
  webhooks: number
3272
+ aiTasks: number
3048
3273
  testCases: number
3049
3274
  testCaseFolders: number
3050
3275
  testGenerationRuns: number
@@ -3061,6 +3286,7 @@ export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extension
3061
3286
  bugs?: boolean | ProjectCountOutputTypeCountBugsArgs
3062
3287
  accessTokens?: boolean | ProjectCountOutputTypeCountAccessTokensArgs
3063
3288
  webhooks?: boolean | ProjectCountOutputTypeCountWebhooksArgs
3289
+ aiTasks?: boolean | ProjectCountOutputTypeCountAiTasksArgs
3064
3290
  testCases?: boolean | ProjectCountOutputTypeCountTestCasesArgs
3065
3291
  testCaseFolders?: boolean | ProjectCountOutputTypeCountTestCaseFoldersArgs
3066
3292
  testGenerationRuns?: boolean | ProjectCountOutputTypeCountTestGenerationRunsArgs
@@ -3134,6 +3360,13 @@ export type ProjectCountOutputTypeCountWebhooksArgs<ExtArgs extends runtime.Type
3134
3360
  where?: Prisma.ProjectWebhookWhereInput
3135
3361
  }
3136
3362
 
3363
+ /**
3364
+ * ProjectCountOutputType without action
3365
+ */
3366
+ export type ProjectCountOutputTypeCountAiTasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3367
+ where?: Prisma.AiTaskWhereInput
3368
+ }
3369
+
3137
3370
  /**
3138
3371
  * ProjectCountOutputType without action
3139
3372
  */
@@ -3192,6 +3425,7 @@ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
3192
3425
  bugs?: boolean | Prisma.Project$bugsArgs<ExtArgs>
3193
3426
  accessTokens?: boolean | Prisma.Project$accessTokensArgs<ExtArgs>
3194
3427
  webhooks?: boolean | Prisma.Project$webhooksArgs<ExtArgs>
3428
+ aiTasks?: boolean | Prisma.Project$aiTasksArgs<ExtArgs>
3195
3429
  bugSettings?: boolean | Prisma.Project$bugSettingsArgs<ExtArgs>
3196
3430
  testCases?: boolean | Prisma.Project$testCasesArgs<ExtArgs>
3197
3431
  testCaseFolders?: boolean | Prisma.Project$testCaseFoldersArgs<ExtArgs>
@@ -3257,6 +3491,7 @@ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
3257
3491
  bugs?: boolean | Prisma.Project$bugsArgs<ExtArgs>
3258
3492
  accessTokens?: boolean | Prisma.Project$accessTokensArgs<ExtArgs>
3259
3493
  webhooks?: boolean | Prisma.Project$webhooksArgs<ExtArgs>
3494
+ aiTasks?: boolean | Prisma.Project$aiTasksArgs<ExtArgs>
3260
3495
  bugSettings?: boolean | Prisma.Project$bugSettingsArgs<ExtArgs>
3261
3496
  testCases?: boolean | Prisma.Project$testCasesArgs<ExtArgs>
3262
3497
  testCaseFolders?: boolean | Prisma.Project$testCaseFoldersArgs<ExtArgs>
@@ -3288,6 +3523,7 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
3288
3523
  bugs: Prisma.$BugPayload<ExtArgs>[]
3289
3524
  accessTokens: Prisma.$ProjectAccessTokenPayload<ExtArgs>[]
3290
3525
  webhooks: Prisma.$ProjectWebhookPayload<ExtArgs>[]
3526
+ aiTasks: Prisma.$AiTaskPayload<ExtArgs>[]
3291
3527
  bugSettings: Prisma.$BugProjectSettingsPayload<ExtArgs> | null
3292
3528
  testCases: Prisma.$TestCasePayload<ExtArgs>[]
3293
3529
  testCaseFolders: Prisma.$TestCaseFolderPayload<ExtArgs>[]
@@ -3711,6 +3947,7 @@ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.
3711
3947
  bugs<T extends Prisma.Project$bugsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$bugsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3712
3948
  accessTokens<T extends Prisma.Project$accessTokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$accessTokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectAccessTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3713
3949
  webhooks<T extends Prisma.Project$webhooksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$webhooksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectWebhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3950
+ aiTasks<T extends Prisma.Project$aiTasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$aiTasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3714
3951
  bugSettings<T extends Prisma.Project$bugSettingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$bugSettingsArgs<ExtArgs>>): Prisma.Prisma__BugProjectSettingsClient<runtime.Types.Result.GetResult<Prisma.$BugProjectSettingsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3715
3952
  testCases<T extends Prisma.Project$testCasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$testCasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3716
3953
  testCaseFolders<T extends Prisma.Project$testCaseFoldersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$testCaseFoldersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
@@ -4386,6 +4623,30 @@ export type Project$webhooksArgs<ExtArgs extends runtime.Types.Extensions.Intern
4386
4623
  distinct?: Prisma.ProjectWebhookScalarFieldEnum | Prisma.ProjectWebhookScalarFieldEnum[]
4387
4624
  }
4388
4625
 
4626
+ /**
4627
+ * Project.aiTasks
4628
+ */
4629
+ export type Project$aiTasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4630
+ /**
4631
+ * Select specific fields to fetch from the AiTask
4632
+ */
4633
+ select?: Prisma.AiTaskSelect<ExtArgs> | null
4634
+ /**
4635
+ * Omit specific fields from the AiTask
4636
+ */
4637
+ omit?: Prisma.AiTaskOmit<ExtArgs> | null
4638
+ /**
4639
+ * Choose, which related nodes to fetch as well
4640
+ */
4641
+ include?: Prisma.AiTaskInclude<ExtArgs> | null
4642
+ where?: Prisma.AiTaskWhereInput
4643
+ orderBy?: Prisma.AiTaskOrderByWithRelationInput | Prisma.AiTaskOrderByWithRelationInput[]
4644
+ cursor?: Prisma.AiTaskWhereUniqueInput
4645
+ take?: number
4646
+ skip?: number
4647
+ distinct?: Prisma.AiTaskScalarFieldEnum | Prisma.AiTaskScalarFieldEnum[]
4648
+ }
4649
+
4389
4650
  /**
4390
4651
  * Project.bugSettings
4391
4652
  */