@app-vitals/agent-admin 0.13.0 → 0.13.1

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 (41) hide show
  1. package/e2e/test-server.ts +5 -5
  2. package/openapi.json +12 -19
  3. package/openapi.platform.json +11 -18
  4. package/package.json +2 -2
  5. package/prisma/client/internal/class.ts +4 -4
  6. package/prisma/client/internal/prismaNamespace.ts +0 -1
  7. package/prisma/client/internal/prismaNamespaceBrowser.ts +0 -1
  8. package/prisma/client/models/Agent.ts +62 -137
  9. package/prisma/migrations/20261030000000_drop_agent_type_name/migration.sql +8 -0
  10. package/prisma/schema/schema.prisma +3 -4
  11. package/src/account-lifecycle.integration.test.ts +1 -1
  12. package/src/account-trial-warning-sweeper.integration.test.ts +1 -1
  13. package/src/admin-local-agent.smoke.test.ts +12 -12
  14. package/src/admin-ui-pages.ts +2 -2
  15. package/src/admin-ui-pages.unit.test.ts +2 -2
  16. package/src/admin-ui.fixtures.ts +6 -6
  17. package/src/admin-ui.smoke.test.ts +39 -39
  18. package/src/admin-ui.ts +8 -8
  19. package/src/agent-cron-jobs.integration.test.ts +8 -7
  20. package/src/agent-cron-jobs.ts +4 -5
  21. package/src/agent-cron-jobs.unit.test.ts +23 -23
  22. package/src/agent-patch-author-allowlist.integration.test.ts +4 -4
  23. package/src/agent-specialty-backfill.integration.test.ts +98 -53
  24. package/src/agents-api.integration.test.ts +20 -20
  25. package/src/agents-api.smoke.test.ts +76 -77
  26. package/src/agents-api.ts +9 -14
  27. package/src/agents.integration.test.ts +40 -53
  28. package/src/agents.ts +33 -46
  29. package/src/agents.unit.test.ts +28 -35
  30. package/src/api.smoke.test.ts +24 -2
  31. package/src/api.ts +15 -16
  32. package/src/openapi-schemas.ts +14 -7
  33. package/src/slack-provisioning-service.integration.test.ts +2 -2
  34. package/src/slack-provisioning.integration.test.ts +2 -2
  35. package/src/specialty-manifest-loader.ts +32 -32
  36. package/src/specialty-manifest-loader.unit.test.ts +8 -8
  37. package/src/startup-policy-reconcile.unit.test.ts +1 -1
  38. package/src/trial-expiry-sweeper.integration.test.ts +1 -1
  39. package/src/trial-expiry-warning-sweeper.integration.test.ts +1 -1
  40. package/src/agent-specialty.ts +0 -22
  41. package/src/agent-specialty.unit.test.ts +0 -43
@@ -46,7 +46,6 @@ export type AgentMinAggregateOutputType = {
46
46
  anthropicApiKey: string | null
47
47
  selfHosted: boolean | null
48
48
  restrictSlackToMembers: boolean | null
49
- typeName: string | null
50
49
  specialty: string | null
51
50
  accountId: string | null
52
51
  trialExpiresAt: Date | null
@@ -75,7 +74,6 @@ export type AgentMaxAggregateOutputType = {
75
74
  anthropicApiKey: string | null
76
75
  selfHosted: boolean | null
77
76
  restrictSlackToMembers: boolean | null
78
- typeName: string | null
79
77
  specialty: string | null
80
78
  accountId: string | null
81
79
  trialExpiresAt: Date | null
@@ -107,7 +105,6 @@ export type AgentCountAggregateOutputType = {
107
105
  reviewAuthorAllowlist: number
108
106
  patchAuthorAllowlist: number
109
107
  restrictSlackToMembers: number
110
- typeName: number
111
108
  specialty: number
112
109
  accountId: number
113
110
  trialExpiresAt: number
@@ -150,7 +147,6 @@ export type AgentMinAggregateInputType = {
150
147
  anthropicApiKey?: true
151
148
  selfHosted?: true
152
149
  restrictSlackToMembers?: true
153
- typeName?: true
154
150
  specialty?: true
155
151
  accountId?: true
156
152
  trialExpiresAt?: true
@@ -179,7 +175,6 @@ export type AgentMaxAggregateInputType = {
179
175
  anthropicApiKey?: true
180
176
  selfHosted?: true
181
177
  restrictSlackToMembers?: true
182
- typeName?: true
183
178
  specialty?: true
184
179
  accountId?: true
185
180
  trialExpiresAt?: true
@@ -211,7 +206,6 @@ export type AgentCountAggregateInputType = {
211
206
  reviewAuthorAllowlist?: true
212
207
  patchAuthorAllowlist?: true
213
208
  restrictSlackToMembers?: true
214
- typeName?: true
215
209
  specialty?: true
216
210
  accountId?: true
217
211
  trialExpiresAt?: true
@@ -330,8 +324,7 @@ export type AgentGroupByOutputType = {
330
324
  reviewAuthorAllowlist: string[]
331
325
  patchAuthorAllowlist: string[]
332
326
  restrictSlackToMembers: boolean
333
- typeName: string
334
- specialty: string | null
327
+ specialty: string
335
328
  accountId: string | null
336
329
  trialExpiresAt: Date | null
337
330
  trialExpiryWarnedAt: Date | null
@@ -385,8 +378,7 @@ export type AgentWhereInput = {
385
378
  reviewAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
386
379
  patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
387
380
  restrictSlackToMembers?: Prisma.BoolFilter<"Agent"> | boolean
388
- typeName?: Prisma.StringFilter<"Agent"> | string
389
- specialty?: Prisma.StringNullableFilter<"Agent"> | string | null
381
+ specialty?: Prisma.StringFilter<"Agent"> | string
390
382
  accountId?: Prisma.StringNullableFilter<"Agent"> | string | null
391
383
  trialExpiresAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
392
384
  trialExpiryWarnedAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
@@ -428,8 +420,7 @@ export type AgentOrderByWithRelationInput = {
428
420
  reviewAuthorAllowlist?: Prisma.SortOrder
429
421
  patchAuthorAllowlist?: Prisma.SortOrder
430
422
  restrictSlackToMembers?: Prisma.SortOrder
431
- typeName?: Prisma.SortOrder
432
- specialty?: Prisma.SortOrderInput | Prisma.SortOrder
423
+ specialty?: Prisma.SortOrder
433
424
  accountId?: Prisma.SortOrderInput | Prisma.SortOrder
434
425
  trialExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
435
426
  trialExpiryWarnedAt?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -475,8 +466,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
475
466
  reviewAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
476
467
  patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
477
468
  restrictSlackToMembers?: Prisma.BoolFilter<"Agent"> | boolean
478
- typeName?: Prisma.StringFilter<"Agent"> | string
479
- specialty?: Prisma.StringNullableFilter<"Agent"> | string | null
469
+ specialty?: Prisma.StringFilter<"Agent"> | string
480
470
  accountId?: Prisma.StringNullableFilter<"Agent"> | string | null
481
471
  trialExpiresAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
482
472
  trialExpiryWarnedAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
@@ -517,8 +507,7 @@ export type AgentOrderByWithAggregationInput = {
517
507
  reviewAuthorAllowlist?: Prisma.SortOrder
518
508
  patchAuthorAllowlist?: Prisma.SortOrder
519
509
  restrictSlackToMembers?: Prisma.SortOrder
520
- typeName?: Prisma.SortOrder
521
- specialty?: Prisma.SortOrderInput | Prisma.SortOrder
510
+ specialty?: Prisma.SortOrder
522
511
  accountId?: Prisma.SortOrderInput | Prisma.SortOrder
523
512
  trialExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
524
513
  trialExpiryWarnedAt?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -557,8 +546,7 @@ export type AgentScalarWhereWithAggregatesInput = {
557
546
  reviewAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
558
547
  patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
559
548
  restrictSlackToMembers?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean
560
- typeName?: Prisma.StringWithAggregatesFilter<"Agent"> | string
561
- specialty?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
549
+ specialty?: Prisma.StringWithAggregatesFilter<"Agent"> | string
562
550
  accountId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
563
551
  trialExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Agent"> | Date | string | null
564
552
  trialExpiryWarnedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Agent"> | Date | string | null
@@ -589,8 +577,7 @@ export type AgentCreateInput = {
589
577
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
590
578
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
591
579
  restrictSlackToMembers?: boolean
592
- typeName?: string
593
- specialty?: string | null
580
+ specialty?: string
594
581
  trialExpiresAt?: Date | string | null
595
582
  trialExpiryWarnedAt?: Date | string | null
596
583
  ownerEmail?: string | null
@@ -631,8 +618,7 @@ export type AgentUncheckedCreateInput = {
631
618
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
632
619
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
633
620
  restrictSlackToMembers?: boolean
634
- typeName?: string
635
- specialty?: string | null
621
+ specialty?: string
636
622
  accountId?: string | null
637
623
  trialExpiresAt?: Date | string | null
638
624
  trialExpiryWarnedAt?: Date | string | null
@@ -673,8 +659,7 @@ export type AgentUpdateInput = {
673
659
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
674
660
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
675
661
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
676
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
677
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
662
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
678
663
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
679
664
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
680
665
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -715,8 +700,7 @@ export type AgentUncheckedUpdateInput = {
715
700
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
716
701
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
717
702
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
718
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
719
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
703
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
720
704
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
721
705
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
722
706
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -757,8 +741,7 @@ export type AgentCreateManyInput = {
757
741
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
758
742
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
759
743
  restrictSlackToMembers?: boolean
760
- typeName?: string
761
- specialty?: string | null
744
+ specialty?: string
762
745
  accountId?: string | null
763
746
  trialExpiresAt?: Date | string | null
764
747
  trialExpiryWarnedAt?: Date | string | null
@@ -789,8 +772,7 @@ export type AgentUpdateManyMutationInput = {
789
772
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
790
773
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
791
774
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
792
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
793
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
775
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
794
776
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
795
777
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
796
778
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -820,8 +802,7 @@ export type AgentUncheckedUpdateManyInput = {
820
802
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
821
803
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
822
804
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
823
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
824
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
805
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
825
806
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
826
807
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
827
808
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -865,7 +846,6 @@ export type AgentCountOrderByAggregateInput = {
865
846
  reviewAuthorAllowlist?: Prisma.SortOrder
866
847
  patchAuthorAllowlist?: Prisma.SortOrder
867
848
  restrictSlackToMembers?: Prisma.SortOrder
868
- typeName?: Prisma.SortOrder
869
849
  specialty?: Prisma.SortOrder
870
850
  accountId?: Prisma.SortOrder
871
851
  trialExpiresAt?: Prisma.SortOrder
@@ -900,7 +880,6 @@ export type AgentMaxOrderByAggregateInput = {
900
880
  anthropicApiKey?: Prisma.SortOrder
901
881
  selfHosted?: Prisma.SortOrder
902
882
  restrictSlackToMembers?: Prisma.SortOrder
903
- typeName?: Prisma.SortOrder
904
883
  specialty?: Prisma.SortOrder
905
884
  accountId?: Prisma.SortOrder
906
885
  trialExpiresAt?: Prisma.SortOrder
@@ -929,7 +908,6 @@ export type AgentMinOrderByAggregateInput = {
929
908
  anthropicApiKey?: Prisma.SortOrder
930
909
  selfHosted?: Prisma.SortOrder
931
910
  restrictSlackToMembers?: Prisma.SortOrder
932
- typeName?: Prisma.SortOrder
933
911
  specialty?: Prisma.SortOrder
934
912
  accountId?: Prisma.SortOrder
935
913
  trialExpiresAt?: Prisma.SortOrder
@@ -1194,8 +1172,7 @@ export type AgentCreateWithoutWorkQueueSnapshotInput = {
1194
1172
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1195
1173
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1196
1174
  restrictSlackToMembers?: boolean
1197
- typeName?: string
1198
- specialty?: string | null
1175
+ specialty?: string
1199
1176
  trialExpiresAt?: Date | string | null
1200
1177
  trialExpiryWarnedAt?: Date | string | null
1201
1178
  ownerEmail?: string | null
@@ -1235,8 +1212,7 @@ export type AgentUncheckedCreateWithoutWorkQueueSnapshotInput = {
1235
1212
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1236
1213
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1237
1214
  restrictSlackToMembers?: boolean
1238
- typeName?: string
1239
- specialty?: string | null
1215
+ specialty?: string
1240
1216
  accountId?: string | null
1241
1217
  trialExpiresAt?: Date | string | null
1242
1218
  trialExpiryWarnedAt?: Date | string | null
@@ -1292,8 +1268,7 @@ export type AgentUpdateWithoutWorkQueueSnapshotInput = {
1292
1268
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1293
1269
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1294
1270
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1295
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1296
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1271
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1297
1272
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1298
1273
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1299
1274
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1333,8 +1308,7 @@ export type AgentUncheckedUpdateWithoutWorkQueueSnapshotInput = {
1333
1308
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1334
1309
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1335
1310
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1336
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1337
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1311
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1338
1312
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1339
1313
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1340
1314
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1374,8 +1348,7 @@ export type AgentCreateWithoutPhaseMethodologiesInput = {
1374
1348
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1375
1349
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1376
1350
  restrictSlackToMembers?: boolean
1377
- typeName?: string
1378
- specialty?: string | null
1351
+ specialty?: string
1379
1352
  trialExpiresAt?: Date | string | null
1380
1353
  trialExpiryWarnedAt?: Date | string | null
1381
1354
  ownerEmail?: string | null
@@ -1415,8 +1388,7 @@ export type AgentUncheckedCreateWithoutPhaseMethodologiesInput = {
1415
1388
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1416
1389
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1417
1390
  restrictSlackToMembers?: boolean
1418
- typeName?: string
1419
- specialty?: string | null
1391
+ specialty?: string
1420
1392
  accountId?: string | null
1421
1393
  trialExpiresAt?: Date | string | null
1422
1394
  trialExpiryWarnedAt?: Date | string | null
@@ -1472,8 +1444,7 @@ export type AgentUpdateWithoutPhaseMethodologiesInput = {
1472
1444
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1473
1445
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1474
1446
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1475
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1476
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1447
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1477
1448
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1478
1449
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1479
1450
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1513,8 +1484,7 @@ export type AgentUncheckedUpdateWithoutPhaseMethodologiesInput = {
1513
1484
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1514
1485
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1515
1486
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1516
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1517
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1487
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1518
1488
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1519
1489
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1520
1490
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1554,8 +1524,7 @@ export type AgentCreateWithoutEnvVarsInput = {
1554
1524
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1555
1525
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1556
1526
  restrictSlackToMembers?: boolean
1557
- typeName?: string
1558
- specialty?: string | null
1527
+ specialty?: string
1559
1528
  trialExpiresAt?: Date | string | null
1560
1529
  trialExpiryWarnedAt?: Date | string | null
1561
1530
  ownerEmail?: string | null
@@ -1595,8 +1564,7 @@ export type AgentUncheckedCreateWithoutEnvVarsInput = {
1595
1564
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1596
1565
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1597
1566
  restrictSlackToMembers?: boolean
1598
- typeName?: string
1599
- specialty?: string | null
1567
+ specialty?: string
1600
1568
  accountId?: string | null
1601
1569
  trialExpiresAt?: Date | string | null
1602
1570
  trialExpiryWarnedAt?: Date | string | null
@@ -1652,8 +1620,7 @@ export type AgentUpdateWithoutEnvVarsInput = {
1652
1620
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1653
1621
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1654
1622
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1655
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1656
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1623
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1657
1624
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1658
1625
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1659
1626
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1693,8 +1660,7 @@ export type AgentUncheckedUpdateWithoutEnvVarsInput = {
1693
1660
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1694
1661
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1695
1662
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1696
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1697
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1663
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1698
1664
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1699
1665
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1700
1666
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1734,8 +1700,7 @@ export type AgentCreateWithoutCronJobsInput = {
1734
1700
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1735
1701
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1736
1702
  restrictSlackToMembers?: boolean
1737
- typeName?: string
1738
- specialty?: string | null
1703
+ specialty?: string
1739
1704
  trialExpiresAt?: Date | string | null
1740
1705
  trialExpiryWarnedAt?: Date | string | null
1741
1706
  ownerEmail?: string | null
@@ -1775,8 +1740,7 @@ export type AgentUncheckedCreateWithoutCronJobsInput = {
1775
1740
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1776
1741
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1777
1742
  restrictSlackToMembers?: boolean
1778
- typeName?: string
1779
- specialty?: string | null
1743
+ specialty?: string
1780
1744
  accountId?: string | null
1781
1745
  trialExpiresAt?: Date | string | null
1782
1746
  trialExpiryWarnedAt?: Date | string | null
@@ -1832,8 +1796,7 @@ export type AgentUpdateWithoutCronJobsInput = {
1832
1796
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1833
1797
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1834
1798
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1835
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1836
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1799
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1837
1800
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1838
1801
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1839
1802
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1873,8 +1836,7 @@ export type AgentUncheckedUpdateWithoutCronJobsInput = {
1873
1836
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
1874
1837
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
1875
1838
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
1876
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
1877
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1839
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
1878
1840
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1879
1841
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1880
1842
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -1914,8 +1876,7 @@ export type AgentCreateWithoutToolsInput = {
1914
1876
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1915
1877
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1916
1878
  restrictSlackToMembers?: boolean
1917
- typeName?: string
1918
- specialty?: string | null
1879
+ specialty?: string
1919
1880
  trialExpiresAt?: Date | string | null
1920
1881
  trialExpiryWarnedAt?: Date | string | null
1921
1882
  ownerEmail?: string | null
@@ -1955,8 +1916,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
1955
1916
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1956
1917
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1957
1918
  restrictSlackToMembers?: boolean
1958
- typeName?: string
1959
- specialty?: string | null
1919
+ specialty?: string
1960
1920
  accountId?: string | null
1961
1921
  trialExpiresAt?: Date | string | null
1962
1922
  trialExpiryWarnedAt?: Date | string | null
@@ -2012,8 +1972,7 @@ export type AgentUpdateWithoutToolsInput = {
2012
1972
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2013
1973
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2014
1974
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2015
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2016
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1975
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2017
1976
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2018
1977
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2019
1978
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -2053,8 +2012,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
2053
2012
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2054
2013
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2055
2014
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2056
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2057
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2015
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2058
2016
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2059
2017
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2060
2018
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -2094,8 +2052,7 @@ export type AgentCreateWithoutTokensInput = {
2094
2052
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2095
2053
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2096
2054
  restrictSlackToMembers?: boolean
2097
- typeName?: string
2098
- specialty?: string | null
2055
+ specialty?: string
2099
2056
  trialExpiresAt?: Date | string | null
2100
2057
  trialExpiryWarnedAt?: Date | string | null
2101
2058
  ownerEmail?: string | null
@@ -2135,8 +2092,7 @@ export type AgentUncheckedCreateWithoutTokensInput = {
2135
2092
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2136
2093
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2137
2094
  restrictSlackToMembers?: boolean
2138
- typeName?: string
2139
- specialty?: string | null
2095
+ specialty?: string
2140
2096
  accountId?: string | null
2141
2097
  trialExpiresAt?: Date | string | null
2142
2098
  trialExpiryWarnedAt?: Date | string | null
@@ -2192,8 +2148,7 @@ export type AgentUpdateWithoutTokensInput = {
2192
2148
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2193
2149
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2194
2150
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2195
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2196
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2151
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2197
2152
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2198
2153
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2199
2154
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -2233,8 +2188,7 @@ export type AgentUncheckedUpdateWithoutTokensInput = {
2233
2188
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2234
2189
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2235
2190
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2236
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2237
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2191
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2238
2192
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2239
2193
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2240
2194
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -2274,8 +2228,7 @@ export type AgentCreateWithoutPluginsInput = {
2274
2228
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2275
2229
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2276
2230
  restrictSlackToMembers?: boolean
2277
- typeName?: string
2278
- specialty?: string | null
2231
+ specialty?: string
2279
2232
  trialExpiresAt?: Date | string | null
2280
2233
  trialExpiryWarnedAt?: Date | string | null
2281
2234
  ownerEmail?: string | null
@@ -2315,8 +2268,7 @@ export type AgentUncheckedCreateWithoutPluginsInput = {
2315
2268
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2316
2269
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2317
2270
  restrictSlackToMembers?: boolean
2318
- typeName?: string
2319
- specialty?: string | null
2271
+ specialty?: string
2320
2272
  accountId?: string | null
2321
2273
  trialExpiresAt?: Date | string | null
2322
2274
  trialExpiryWarnedAt?: Date | string | null
@@ -2372,8 +2324,7 @@ export type AgentUpdateWithoutPluginsInput = {
2372
2324
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2373
2325
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2374
2326
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2375
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2376
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2327
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2377
2328
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2378
2329
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2379
2330
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -2413,8 +2364,7 @@ export type AgentUncheckedUpdateWithoutPluginsInput = {
2413
2364
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2414
2365
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2415
2366
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2416
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2417
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2367
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2418
2368
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2419
2369
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2420
2370
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -2454,8 +2404,7 @@ export type AgentCreateWithoutMembersInput = {
2454
2404
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2455
2405
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2456
2406
  restrictSlackToMembers?: boolean
2457
- typeName?: string
2458
- specialty?: string | null
2407
+ specialty?: string
2459
2408
  trialExpiresAt?: Date | string | null
2460
2409
  trialExpiryWarnedAt?: Date | string | null
2461
2410
  ownerEmail?: string | null
@@ -2495,8 +2444,7 @@ export type AgentUncheckedCreateWithoutMembersInput = {
2495
2444
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2496
2445
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2497
2446
  restrictSlackToMembers?: boolean
2498
- typeName?: string
2499
- specialty?: string | null
2447
+ specialty?: string
2500
2448
  accountId?: string | null
2501
2449
  trialExpiresAt?: Date | string | null
2502
2450
  trialExpiryWarnedAt?: Date | string | null
@@ -2552,8 +2500,7 @@ export type AgentUpdateWithoutMembersInput = {
2552
2500
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2553
2501
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2554
2502
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2555
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2556
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2503
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2557
2504
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2558
2505
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2559
2506
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -2593,8 +2540,7 @@ export type AgentUncheckedUpdateWithoutMembersInput = {
2593
2540
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2594
2541
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2595
2542
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2596
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2597
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2543
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2598
2544
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2599
2545
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2600
2546
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -2634,8 +2580,7 @@ export type AgentCreateWithoutAccountInput = {
2634
2580
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2635
2581
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2636
2582
  restrictSlackToMembers?: boolean
2637
- typeName?: string
2638
- specialty?: string | null
2583
+ specialty?: string
2639
2584
  trialExpiresAt?: Date | string | null
2640
2585
  trialExpiryWarnedAt?: Date | string | null
2641
2586
  ownerEmail?: string | null
@@ -2675,8 +2620,7 @@ export type AgentUncheckedCreateWithoutAccountInput = {
2675
2620
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2676
2621
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2677
2622
  restrictSlackToMembers?: boolean
2678
- typeName?: string
2679
- specialty?: string | null
2623
+ specialty?: string
2680
2624
  trialExpiresAt?: Date | string | null
2681
2625
  trialExpiryWarnedAt?: Date | string | null
2682
2626
  ownerEmail?: string | null
@@ -2745,8 +2689,7 @@ export type AgentScalarWhereInput = {
2745
2689
  reviewAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
2746
2690
  patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
2747
2691
  restrictSlackToMembers?: Prisma.BoolFilter<"Agent"> | boolean
2748
- typeName?: Prisma.StringFilter<"Agent"> | string
2749
- specialty?: Prisma.StringNullableFilter<"Agent"> | string | null
2692
+ specialty?: Prisma.StringFilter<"Agent"> | string
2750
2693
  accountId?: Prisma.StringNullableFilter<"Agent"> | string | null
2751
2694
  trialExpiresAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
2752
2695
  trialExpiryWarnedAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
@@ -2777,8 +2720,7 @@ export type AgentCreateWithoutChatTokenUsageInput = {
2777
2720
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2778
2721
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2779
2722
  restrictSlackToMembers?: boolean
2780
- typeName?: string
2781
- specialty?: string | null
2723
+ specialty?: string
2782
2724
  trialExpiresAt?: Date | string | null
2783
2725
  trialExpiryWarnedAt?: Date | string | null
2784
2726
  ownerEmail?: string | null
@@ -2818,8 +2760,7 @@ export type AgentUncheckedCreateWithoutChatTokenUsageInput = {
2818
2760
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2819
2761
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2820
2762
  restrictSlackToMembers?: boolean
2821
- typeName?: string
2822
- specialty?: string | null
2763
+ specialty?: string
2823
2764
  accountId?: string | null
2824
2765
  trialExpiresAt?: Date | string | null
2825
2766
  trialExpiryWarnedAt?: Date | string | null
@@ -2875,8 +2816,7 @@ export type AgentUpdateWithoutChatTokenUsageInput = {
2875
2816
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2876
2817
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2877
2818
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2878
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2879
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2819
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2880
2820
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2881
2821
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2882
2822
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -2916,8 +2856,7 @@ export type AgentUncheckedUpdateWithoutChatTokenUsageInput = {
2916
2856
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2917
2857
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2918
2858
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2919
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
2920
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2859
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2921
2860
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2922
2861
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2923
2862
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -2957,8 +2896,7 @@ export type AgentCreateWithoutGithubInstallationsSnapshotInput = {
2957
2896
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2958
2897
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
2959
2898
  restrictSlackToMembers?: boolean
2960
- typeName?: string
2961
- specialty?: string | null
2899
+ specialty?: string
2962
2900
  trialExpiresAt?: Date | string | null
2963
2901
  trialExpiryWarnedAt?: Date | string | null
2964
2902
  ownerEmail?: string | null
@@ -2998,8 +2936,7 @@ export type AgentUncheckedCreateWithoutGithubInstallationsSnapshotInput = {
2998
2936
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
2999
2937
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
3000
2938
  restrictSlackToMembers?: boolean
3001
- typeName?: string
3002
- specialty?: string | null
2939
+ specialty?: string
3003
2940
  accountId?: string | null
3004
2941
  trialExpiresAt?: Date | string | null
3005
2942
  trialExpiryWarnedAt?: Date | string | null
@@ -3055,8 +2992,7 @@ export type AgentUpdateWithoutGithubInstallationsSnapshotInput = {
3055
2992
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
3056
2993
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
3057
2994
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
3058
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
3059
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2995
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
3060
2996
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3061
2997
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3062
2998
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -3096,8 +3032,7 @@ export type AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput = {
3096
3032
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
3097
3033
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
3098
3034
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
3099
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
3100
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3035
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
3101
3036
  accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3102
3037
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3103
3038
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -3137,8 +3072,7 @@ export type AgentCreateManyAccountInput = {
3137
3072
  reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
3138
3073
  patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
3139
3074
  restrictSlackToMembers?: boolean
3140
- typeName?: string
3141
- specialty?: string | null
3075
+ specialty?: string
3142
3076
  trialExpiresAt?: Date | string | null
3143
3077
  trialExpiryWarnedAt?: Date | string | null
3144
3078
  ownerEmail?: string | null
@@ -3168,8 +3102,7 @@ export type AgentUpdateWithoutAccountInput = {
3168
3102
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
3169
3103
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
3170
3104
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
3171
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
3172
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3105
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
3173
3106
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3174
3107
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3175
3108
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -3209,8 +3142,7 @@ export type AgentUncheckedUpdateWithoutAccountInput = {
3209
3142
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
3210
3143
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
3211
3144
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
3212
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
3213
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3145
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
3214
3146
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3215
3147
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3216
3148
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -3250,8 +3182,7 @@ export type AgentUncheckedUpdateManyWithoutAccountInput = {
3250
3182
  reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
3251
3183
  patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
3252
3184
  restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
3253
- typeName?: Prisma.StringFieldUpdateOperationsInput | string
3254
- specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
3185
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
3255
3186
  trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3256
3187
  trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
3257
3188
  ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -3375,7 +3306,6 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3375
3306
  reviewAuthorAllowlist?: boolean
3376
3307
  patchAuthorAllowlist?: boolean
3377
3308
  restrictSlackToMembers?: boolean
3378
- typeName?: boolean
3379
3309
  specialty?: boolean
3380
3310
  accountId?: boolean
3381
3311
  trialExpiresAt?: boolean
@@ -3419,7 +3349,6 @@ export type AgentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3419
3349
  reviewAuthorAllowlist?: boolean
3420
3350
  patchAuthorAllowlist?: boolean
3421
3351
  restrictSlackToMembers?: boolean
3422
- typeName?: boolean
3423
3352
  specialty?: boolean
3424
3353
  accountId?: boolean
3425
3354
  trialExpiresAt?: boolean
@@ -3452,7 +3381,6 @@ export type AgentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
3452
3381
  reviewAuthorAllowlist?: boolean
3453
3382
  patchAuthorAllowlist?: boolean
3454
3383
  restrictSlackToMembers?: boolean
3455
- typeName?: boolean
3456
3384
  specialty?: boolean
3457
3385
  accountId?: boolean
3458
3386
  trialExpiresAt?: boolean
@@ -3485,7 +3413,6 @@ export type AgentSelectScalar = {
3485
3413
  reviewAuthorAllowlist?: boolean
3486
3414
  patchAuthorAllowlist?: boolean
3487
3415
  restrictSlackToMembers?: boolean
3488
- typeName?: boolean
3489
3416
  specialty?: boolean
3490
3417
  accountId?: boolean
3491
3418
  trialExpiresAt?: boolean
@@ -3506,7 +3433,7 @@ export type AgentSelectScalar = {
3506
3433
  updatedAt?: boolean
3507
3434
  }
3508
3435
 
3509
- export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slackId" | "slackBotToken" | "anthropicApiKey" | "selfHosted" | "repos" | "reviewAuthorAllowlist" | "patchAuthorAllowlist" | "restrictSlackToMembers" | "typeName" | "specialty" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
3436
+ export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slackId" | "slackBotToken" | "anthropicApiKey" | "selfHosted" | "repos" | "reviewAuthorAllowlist" | "patchAuthorAllowlist" | "restrictSlackToMembers" | "specialty" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
3510
3437
  export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3511
3438
  account?: boolean | Prisma.Agent$accountArgs<ExtArgs>
3512
3439
  envVars?: boolean | Prisma.Agent$envVarsArgs<ExtArgs>
@@ -3554,8 +3481,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3554
3481
  reviewAuthorAllowlist: string[]
3555
3482
  patchAuthorAllowlist: string[]
3556
3483
  restrictSlackToMembers: boolean
3557
- typeName: string
3558
- specialty: string | null
3484
+ specialty: string
3559
3485
  accountId: string | null
3560
3486
  trialExpiresAt: Date | null
3561
3487
  trialExpiryWarnedAt: Date | null
@@ -4017,7 +3943,6 @@ export interface AgentFieldRefs {
4017
3943
  readonly reviewAuthorAllowlist: Prisma.FieldRef<"Agent", 'String[]'>
4018
3944
  readonly patchAuthorAllowlist: Prisma.FieldRef<"Agent", 'String[]'>
4019
3945
  readonly restrictSlackToMembers: Prisma.FieldRef<"Agent", 'Boolean'>
4020
- readonly typeName: Prisma.FieldRef<"Agent", 'String'>
4021
3946
  readonly specialty: Prisma.FieldRef<"Agent", 'String'>
4022
3947
  readonly accountId: Prisma.FieldRef<"Agent", 'String'>
4023
3948
  readonly trialExpiresAt: Prisma.FieldRef<"Agent", 'DateTime'>