@app-vitals/agent-admin 1.97.0 → 1.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/prisma/client/internal/class.ts +3 -3
- package/prisma/client/internal/prismaNamespace.ts +1 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +1 -0
- package/prisma/client/models/Agent.ts +80 -1
- package/prisma/migrations/20261126000000_add_agent_slack_team_id/migration.sql +2 -0
- package/prisma/schema/schema.prisma +1 -0
- package/src/admin-ui-pages.ts +32 -20
- package/src/admin-ui-pages.unit.test.ts +75 -4
- package/src/admin-ui-slack-config-token-flows.smoke.test.ts +1 -1
- package/src/admin-ui.ts +1 -1
- package/src/agents.ts +5 -0
- package/src/fixtures/slack-provision-cassette.json +2 -1
- package/src/fixtures/slack-provisioning-http-cassette.json +4 -0
- package/src/slack-provisioning-client.integration.test.ts +11 -1
- package/src/slack-provisioning-client.ts +10 -3
- package/src/slack-provisioning-service.integration.test.ts +136 -5
- package/src/slack-provisioning-service.ts +4 -0
|
@@ -42,6 +42,7 @@ export type AgentMinAggregateOutputType = {
|
|
|
42
42
|
id: string | null
|
|
43
43
|
name: string | null
|
|
44
44
|
slackId: string | null
|
|
45
|
+
slackTeamId: string | null
|
|
45
46
|
slackBotToken: string | null
|
|
46
47
|
anthropicApiKey: string | null
|
|
47
48
|
selfHosted: boolean | null
|
|
@@ -72,6 +73,7 @@ export type AgentMaxAggregateOutputType = {
|
|
|
72
73
|
id: string | null
|
|
73
74
|
name: string | null
|
|
74
75
|
slackId: string | null
|
|
76
|
+
slackTeamId: string | null
|
|
75
77
|
slackBotToken: string | null
|
|
76
78
|
anthropicApiKey: string | null
|
|
77
79
|
selfHosted: boolean | null
|
|
@@ -102,6 +104,7 @@ export type AgentCountAggregateOutputType = {
|
|
|
102
104
|
id: number
|
|
103
105
|
name: number
|
|
104
106
|
slackId: number
|
|
107
|
+
slackTeamId: number
|
|
105
108
|
slackBotToken: number
|
|
106
109
|
anthropicApiKey: number
|
|
107
110
|
selfHosted: number
|
|
@@ -150,6 +153,7 @@ export type AgentMinAggregateInputType = {
|
|
|
150
153
|
id?: true
|
|
151
154
|
name?: true
|
|
152
155
|
slackId?: true
|
|
156
|
+
slackTeamId?: true
|
|
153
157
|
slackBotToken?: true
|
|
154
158
|
anthropicApiKey?: true
|
|
155
159
|
selfHosted?: true
|
|
@@ -180,6 +184,7 @@ export type AgentMaxAggregateInputType = {
|
|
|
180
184
|
id?: true
|
|
181
185
|
name?: true
|
|
182
186
|
slackId?: true
|
|
187
|
+
slackTeamId?: true
|
|
183
188
|
slackBotToken?: true
|
|
184
189
|
anthropicApiKey?: true
|
|
185
190
|
selfHosted?: true
|
|
@@ -210,6 +215,7 @@ export type AgentCountAggregateInputType = {
|
|
|
210
215
|
id?: true
|
|
211
216
|
name?: true
|
|
212
217
|
slackId?: true
|
|
218
|
+
slackTeamId?: true
|
|
213
219
|
slackBotToken?: true
|
|
214
220
|
anthropicApiKey?: true
|
|
215
221
|
selfHosted?: true
|
|
@@ -331,6 +337,7 @@ export type AgentGroupByOutputType = {
|
|
|
331
337
|
id: string
|
|
332
338
|
name: string
|
|
333
339
|
slackId: string | null
|
|
340
|
+
slackTeamId: string | null
|
|
334
341
|
slackBotToken: string | null
|
|
335
342
|
anthropicApiKey: string | null
|
|
336
343
|
selfHosted: boolean
|
|
@@ -388,6 +395,7 @@ export type AgentWhereInput = {
|
|
|
388
395
|
id?: Prisma.StringFilter<"Agent"> | string
|
|
389
396
|
name?: Prisma.StringFilter<"Agent"> | string
|
|
390
397
|
slackId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
398
|
+
slackTeamId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
391
399
|
slackBotToken?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
392
400
|
anthropicApiKey?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
393
401
|
selfHosted?: Prisma.BoolFilter<"Agent"> | boolean
|
|
@@ -434,6 +442,7 @@ export type AgentOrderByWithRelationInput = {
|
|
|
434
442
|
id?: Prisma.SortOrder
|
|
435
443
|
name?: Prisma.SortOrder
|
|
436
444
|
slackId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
445
|
+
slackTeamId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
437
446
|
slackBotToken?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
438
447
|
anthropicApiKey?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
439
448
|
selfHosted?: Prisma.SortOrder
|
|
@@ -484,6 +493,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
484
493
|
OR?: Prisma.AgentWhereInput[]
|
|
485
494
|
NOT?: Prisma.AgentWhereInput | Prisma.AgentWhereInput[]
|
|
486
495
|
name?: Prisma.StringFilter<"Agent"> | string
|
|
496
|
+
slackTeamId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
487
497
|
slackBotToken?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
488
498
|
anthropicApiKey?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
489
499
|
selfHosted?: Prisma.BoolFilter<"Agent"> | boolean
|
|
@@ -529,6 +539,7 @@ export type AgentOrderByWithAggregationInput = {
|
|
|
529
539
|
id?: Prisma.SortOrder
|
|
530
540
|
name?: Prisma.SortOrder
|
|
531
541
|
slackId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
542
|
+
slackTeamId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
532
543
|
slackBotToken?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
533
544
|
anthropicApiKey?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
534
545
|
selfHosted?: Prisma.SortOrder
|
|
@@ -571,6 +582,7 @@ export type AgentScalarWhereWithAggregatesInput = {
|
|
|
571
582
|
id?: Prisma.StringWithAggregatesFilter<"Agent"> | string
|
|
572
583
|
name?: Prisma.StringWithAggregatesFilter<"Agent"> | string
|
|
573
584
|
slackId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
585
|
+
slackTeamId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
574
586
|
slackBotToken?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
575
587
|
anthropicApiKey?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
576
588
|
selfHosted?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean
|
|
@@ -605,6 +617,7 @@ export type AgentCreateInput = {
|
|
|
605
617
|
id?: string
|
|
606
618
|
name: string
|
|
607
619
|
slackId?: string | null
|
|
620
|
+
slackTeamId?: string | null
|
|
608
621
|
slackBotToken?: string | null
|
|
609
622
|
anthropicApiKey?: string | null
|
|
610
623
|
selfHosted?: boolean
|
|
@@ -650,6 +663,7 @@ export type AgentUncheckedCreateInput = {
|
|
|
650
663
|
id?: string
|
|
651
664
|
name: string
|
|
652
665
|
slackId?: string | null
|
|
666
|
+
slackTeamId?: string | null
|
|
653
667
|
slackBotToken?: string | null
|
|
654
668
|
anthropicApiKey?: string | null
|
|
655
669
|
selfHosted?: boolean
|
|
@@ -695,6 +709,7 @@ export type AgentUpdateInput = {
|
|
|
695
709
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
696
710
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
697
711
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
712
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
698
713
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
699
714
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
700
715
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -740,6 +755,7 @@ export type AgentUncheckedUpdateInput = {
|
|
|
740
755
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
741
756
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
742
757
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
758
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
743
759
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
744
760
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
745
761
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -785,6 +801,7 @@ export type AgentCreateManyInput = {
|
|
|
785
801
|
id?: string
|
|
786
802
|
name: string
|
|
787
803
|
slackId?: string | null
|
|
804
|
+
slackTeamId?: string | null
|
|
788
805
|
slackBotToken?: string | null
|
|
789
806
|
anthropicApiKey?: string | null
|
|
790
807
|
selfHosted?: boolean
|
|
@@ -819,6 +836,7 @@ export type AgentUpdateManyMutationInput = {
|
|
|
819
836
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
820
837
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
821
838
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
839
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
822
840
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
823
841
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
824
842
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -852,6 +870,7 @@ export type AgentUncheckedUpdateManyInput = {
|
|
|
852
870
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
853
871
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
854
872
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
873
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
855
874
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
856
875
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
857
876
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -899,6 +918,7 @@ export type AgentCountOrderByAggregateInput = {
|
|
|
899
918
|
id?: Prisma.SortOrder
|
|
900
919
|
name?: Prisma.SortOrder
|
|
901
920
|
slackId?: Prisma.SortOrder
|
|
921
|
+
slackTeamId?: Prisma.SortOrder
|
|
902
922
|
slackBotToken?: Prisma.SortOrder
|
|
903
923
|
anthropicApiKey?: Prisma.SortOrder
|
|
904
924
|
selfHosted?: Prisma.SortOrder
|
|
@@ -939,6 +959,7 @@ export type AgentMaxOrderByAggregateInput = {
|
|
|
939
959
|
id?: Prisma.SortOrder
|
|
940
960
|
name?: Prisma.SortOrder
|
|
941
961
|
slackId?: Prisma.SortOrder
|
|
962
|
+
slackTeamId?: Prisma.SortOrder
|
|
942
963
|
slackBotToken?: Prisma.SortOrder
|
|
943
964
|
anthropicApiKey?: Prisma.SortOrder
|
|
944
965
|
selfHosted?: Prisma.SortOrder
|
|
@@ -969,6 +990,7 @@ export type AgentMinOrderByAggregateInput = {
|
|
|
969
990
|
id?: Prisma.SortOrder
|
|
970
991
|
name?: Prisma.SortOrder
|
|
971
992
|
slackId?: Prisma.SortOrder
|
|
993
|
+
slackTeamId?: Prisma.SortOrder
|
|
972
994
|
slackBotToken?: Prisma.SortOrder
|
|
973
995
|
anthropicApiKey?: Prisma.SortOrder
|
|
974
996
|
selfHosted?: Prisma.SortOrder
|
|
@@ -1255,6 +1277,7 @@ export type AgentCreateWithoutWorkQueueSnapshotInput = {
|
|
|
1255
1277
|
id?: string
|
|
1256
1278
|
name: string
|
|
1257
1279
|
slackId?: string | null
|
|
1280
|
+
slackTeamId?: string | null
|
|
1258
1281
|
slackBotToken?: string | null
|
|
1259
1282
|
anthropicApiKey?: string | null
|
|
1260
1283
|
selfHosted?: boolean
|
|
@@ -1299,6 +1322,7 @@ export type AgentUncheckedCreateWithoutWorkQueueSnapshotInput = {
|
|
|
1299
1322
|
id?: string
|
|
1300
1323
|
name: string
|
|
1301
1324
|
slackId?: string | null
|
|
1325
|
+
slackTeamId?: string | null
|
|
1302
1326
|
slackBotToken?: string | null
|
|
1303
1327
|
anthropicApiKey?: string | null
|
|
1304
1328
|
selfHosted?: boolean
|
|
@@ -1359,6 +1383,7 @@ export type AgentUpdateWithoutWorkQueueSnapshotInput = {
|
|
|
1359
1383
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1360
1384
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1361
1385
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1386
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1362
1387
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1363
1388
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1364
1389
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -1403,6 +1428,7 @@ export type AgentUncheckedUpdateWithoutWorkQueueSnapshotInput = {
|
|
|
1403
1428
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1404
1429
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1405
1430
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1431
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1406
1432
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1407
1433
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1408
1434
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -1447,6 +1473,7 @@ export type AgentCreateWithoutPhaseMethodologiesInput = {
|
|
|
1447
1473
|
id?: string
|
|
1448
1474
|
name: string
|
|
1449
1475
|
slackId?: string | null
|
|
1476
|
+
slackTeamId?: string | null
|
|
1450
1477
|
slackBotToken?: string | null
|
|
1451
1478
|
anthropicApiKey?: string | null
|
|
1452
1479
|
selfHosted?: boolean
|
|
@@ -1491,6 +1518,7 @@ export type AgentUncheckedCreateWithoutPhaseMethodologiesInput = {
|
|
|
1491
1518
|
id?: string
|
|
1492
1519
|
name: string
|
|
1493
1520
|
slackId?: string | null
|
|
1521
|
+
slackTeamId?: string | null
|
|
1494
1522
|
slackBotToken?: string | null
|
|
1495
1523
|
anthropicApiKey?: string | null
|
|
1496
1524
|
selfHosted?: boolean
|
|
@@ -1551,6 +1579,7 @@ export type AgentUpdateWithoutPhaseMethodologiesInput = {
|
|
|
1551
1579
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1552
1580
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1553
1581
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1582
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1554
1583
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1555
1584
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1556
1585
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -1595,6 +1624,7 @@ export type AgentUncheckedUpdateWithoutPhaseMethodologiesInput = {
|
|
|
1595
1624
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1596
1625
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1597
1626
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1627
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1598
1628
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1599
1629
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1600
1630
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -1639,6 +1669,7 @@ export type AgentCreateWithoutEnvVarsInput = {
|
|
|
1639
1669
|
id?: string
|
|
1640
1670
|
name: string
|
|
1641
1671
|
slackId?: string | null
|
|
1672
|
+
slackTeamId?: string | null
|
|
1642
1673
|
slackBotToken?: string | null
|
|
1643
1674
|
anthropicApiKey?: string | null
|
|
1644
1675
|
selfHosted?: boolean
|
|
@@ -1683,6 +1714,7 @@ export type AgentUncheckedCreateWithoutEnvVarsInput = {
|
|
|
1683
1714
|
id?: string
|
|
1684
1715
|
name: string
|
|
1685
1716
|
slackId?: string | null
|
|
1717
|
+
slackTeamId?: string | null
|
|
1686
1718
|
slackBotToken?: string | null
|
|
1687
1719
|
anthropicApiKey?: string | null
|
|
1688
1720
|
selfHosted?: boolean
|
|
@@ -1743,6 +1775,7 @@ export type AgentUpdateWithoutEnvVarsInput = {
|
|
|
1743
1775
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1744
1776
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1745
1777
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1778
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1746
1779
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1747
1780
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1748
1781
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -1787,6 +1820,7 @@ export type AgentUncheckedUpdateWithoutEnvVarsInput = {
|
|
|
1787
1820
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1788
1821
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1789
1822
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1823
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1790
1824
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1791
1825
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1792
1826
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -1831,6 +1865,7 @@ export type AgentCreateWithoutCronJobsInput = {
|
|
|
1831
1865
|
id?: string
|
|
1832
1866
|
name: string
|
|
1833
1867
|
slackId?: string | null
|
|
1868
|
+
slackTeamId?: string | null
|
|
1834
1869
|
slackBotToken?: string | null
|
|
1835
1870
|
anthropicApiKey?: string | null
|
|
1836
1871
|
selfHosted?: boolean
|
|
@@ -1875,6 +1910,7 @@ export type AgentUncheckedCreateWithoutCronJobsInput = {
|
|
|
1875
1910
|
id?: string
|
|
1876
1911
|
name: string
|
|
1877
1912
|
slackId?: string | null
|
|
1913
|
+
slackTeamId?: string | null
|
|
1878
1914
|
slackBotToken?: string | null
|
|
1879
1915
|
anthropicApiKey?: string | null
|
|
1880
1916
|
selfHosted?: boolean
|
|
@@ -1935,6 +1971,7 @@ export type AgentUpdateWithoutCronJobsInput = {
|
|
|
1935
1971
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1936
1972
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1937
1973
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1974
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1938
1975
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1939
1976
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1940
1977
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -1979,6 +2016,7 @@ export type AgentUncheckedUpdateWithoutCronJobsInput = {
|
|
|
1979
2016
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1980
2017
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1981
2018
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2019
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1982
2020
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1983
2021
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1984
2022
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2023,6 +2061,7 @@ export type AgentCreateWithoutToolsInput = {
|
|
|
2023
2061
|
id?: string
|
|
2024
2062
|
name: string
|
|
2025
2063
|
slackId?: string | null
|
|
2064
|
+
slackTeamId?: string | null
|
|
2026
2065
|
slackBotToken?: string | null
|
|
2027
2066
|
anthropicApiKey?: string | null
|
|
2028
2067
|
selfHosted?: boolean
|
|
@@ -2067,6 +2106,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
|
|
|
2067
2106
|
id?: string
|
|
2068
2107
|
name: string
|
|
2069
2108
|
slackId?: string | null
|
|
2109
|
+
slackTeamId?: string | null
|
|
2070
2110
|
slackBotToken?: string | null
|
|
2071
2111
|
anthropicApiKey?: string | null
|
|
2072
2112
|
selfHosted?: boolean
|
|
@@ -2127,6 +2167,7 @@ export type AgentUpdateWithoutToolsInput = {
|
|
|
2127
2167
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2128
2168
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2129
2169
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2170
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2130
2171
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2131
2172
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2132
2173
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2171,6 +2212,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
|
|
|
2171
2212
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2172
2213
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2173
2214
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2215
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2174
2216
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2175
2217
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2176
2218
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2215,6 +2257,7 @@ export type AgentCreateWithoutTokensInput = {
|
|
|
2215
2257
|
id?: string
|
|
2216
2258
|
name: string
|
|
2217
2259
|
slackId?: string | null
|
|
2260
|
+
slackTeamId?: string | null
|
|
2218
2261
|
slackBotToken?: string | null
|
|
2219
2262
|
anthropicApiKey?: string | null
|
|
2220
2263
|
selfHosted?: boolean
|
|
@@ -2259,6 +2302,7 @@ export type AgentUncheckedCreateWithoutTokensInput = {
|
|
|
2259
2302
|
id?: string
|
|
2260
2303
|
name: string
|
|
2261
2304
|
slackId?: string | null
|
|
2305
|
+
slackTeamId?: string | null
|
|
2262
2306
|
slackBotToken?: string | null
|
|
2263
2307
|
anthropicApiKey?: string | null
|
|
2264
2308
|
selfHosted?: boolean
|
|
@@ -2319,6 +2363,7 @@ export type AgentUpdateWithoutTokensInput = {
|
|
|
2319
2363
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2320
2364
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2321
2365
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2366
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2322
2367
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2323
2368
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2324
2369
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2363,6 +2408,7 @@ export type AgentUncheckedUpdateWithoutTokensInput = {
|
|
|
2363
2408
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2364
2409
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2365
2410
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2411
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2366
2412
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2367
2413
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2368
2414
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2407,6 +2453,7 @@ export type AgentCreateWithoutPluginsInput = {
|
|
|
2407
2453
|
id?: string
|
|
2408
2454
|
name: string
|
|
2409
2455
|
slackId?: string | null
|
|
2456
|
+
slackTeamId?: string | null
|
|
2410
2457
|
slackBotToken?: string | null
|
|
2411
2458
|
anthropicApiKey?: string | null
|
|
2412
2459
|
selfHosted?: boolean
|
|
@@ -2451,6 +2498,7 @@ export type AgentUncheckedCreateWithoutPluginsInput = {
|
|
|
2451
2498
|
id?: string
|
|
2452
2499
|
name: string
|
|
2453
2500
|
slackId?: string | null
|
|
2501
|
+
slackTeamId?: string | null
|
|
2454
2502
|
slackBotToken?: string | null
|
|
2455
2503
|
anthropicApiKey?: string | null
|
|
2456
2504
|
selfHosted?: boolean
|
|
@@ -2511,6 +2559,7 @@ export type AgentUpdateWithoutPluginsInput = {
|
|
|
2511
2559
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2512
2560
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2513
2561
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2562
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2514
2563
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2515
2564
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2516
2565
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2555,6 +2604,7 @@ export type AgentUncheckedUpdateWithoutPluginsInput = {
|
|
|
2555
2604
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2556
2605
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2557
2606
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2607
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2558
2608
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2559
2609
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2560
2610
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2599,6 +2649,7 @@ export type AgentCreateWithoutMembersInput = {
|
|
|
2599
2649
|
id?: string
|
|
2600
2650
|
name: string
|
|
2601
2651
|
slackId?: string | null
|
|
2652
|
+
slackTeamId?: string | null
|
|
2602
2653
|
slackBotToken?: string | null
|
|
2603
2654
|
anthropicApiKey?: string | null
|
|
2604
2655
|
selfHosted?: boolean
|
|
@@ -2643,6 +2694,7 @@ export type AgentUncheckedCreateWithoutMembersInput = {
|
|
|
2643
2694
|
id?: string
|
|
2644
2695
|
name: string
|
|
2645
2696
|
slackId?: string | null
|
|
2697
|
+
slackTeamId?: string | null
|
|
2646
2698
|
slackBotToken?: string | null
|
|
2647
2699
|
anthropicApiKey?: string | null
|
|
2648
2700
|
selfHosted?: boolean
|
|
@@ -2703,6 +2755,7 @@ export type AgentUpdateWithoutMembersInput = {
|
|
|
2703
2755
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2704
2756
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2705
2757
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2758
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2706
2759
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2707
2760
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2708
2761
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2747,6 +2800,7 @@ export type AgentUncheckedUpdateWithoutMembersInput = {
|
|
|
2747
2800
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2748
2801
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2749
2802
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2803
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2750
2804
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2751
2805
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2752
2806
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -2791,6 +2845,7 @@ export type AgentCreateWithoutAccountInput = {
|
|
|
2791
2845
|
id?: string
|
|
2792
2846
|
name: string
|
|
2793
2847
|
slackId?: string | null
|
|
2848
|
+
slackTeamId?: string | null
|
|
2794
2849
|
slackBotToken?: string | null
|
|
2795
2850
|
anthropicApiKey?: string | null
|
|
2796
2851
|
selfHosted?: boolean
|
|
@@ -2835,6 +2890,7 @@ export type AgentUncheckedCreateWithoutAccountInput = {
|
|
|
2835
2890
|
id?: string
|
|
2836
2891
|
name: string
|
|
2837
2892
|
slackId?: string | null
|
|
2893
|
+
slackTeamId?: string | null
|
|
2838
2894
|
slackBotToken?: string | null
|
|
2839
2895
|
anthropicApiKey?: string | null
|
|
2840
2896
|
selfHosted?: boolean
|
|
@@ -2908,6 +2964,7 @@ export type AgentScalarWhereInput = {
|
|
|
2908
2964
|
id?: Prisma.StringFilter<"Agent"> | string
|
|
2909
2965
|
name?: Prisma.StringFilter<"Agent"> | string
|
|
2910
2966
|
slackId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2967
|
+
slackTeamId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2911
2968
|
slackBotToken?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2912
2969
|
anthropicApiKey?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2913
2970
|
selfHosted?: Prisma.BoolFilter<"Agent"> | boolean
|
|
@@ -2942,6 +2999,7 @@ export type AgentCreateWithoutChatTokenUsageInput = {
|
|
|
2942
2999
|
id?: string
|
|
2943
3000
|
name: string
|
|
2944
3001
|
slackId?: string | null
|
|
3002
|
+
slackTeamId?: string | null
|
|
2945
3003
|
slackBotToken?: string | null
|
|
2946
3004
|
anthropicApiKey?: string | null
|
|
2947
3005
|
selfHosted?: boolean
|
|
@@ -2986,6 +3044,7 @@ export type AgentUncheckedCreateWithoutChatTokenUsageInput = {
|
|
|
2986
3044
|
id?: string
|
|
2987
3045
|
name: string
|
|
2988
3046
|
slackId?: string | null
|
|
3047
|
+
slackTeamId?: string | null
|
|
2989
3048
|
slackBotToken?: string | null
|
|
2990
3049
|
anthropicApiKey?: string | null
|
|
2991
3050
|
selfHosted?: boolean
|
|
@@ -3046,6 +3105,7 @@ export type AgentUpdateWithoutChatTokenUsageInput = {
|
|
|
3046
3105
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3047
3106
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3048
3107
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3108
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3049
3109
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3050
3110
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3051
3111
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3090,6 +3150,7 @@ export type AgentUncheckedUpdateWithoutChatTokenUsageInput = {
|
|
|
3090
3150
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3091
3151
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3092
3152
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3153
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3093
3154
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3094
3155
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3095
3156
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3134,6 +3195,7 @@ export type AgentCreateWithoutGithubInstallationsSnapshotInput = {
|
|
|
3134
3195
|
id?: string
|
|
3135
3196
|
name: string
|
|
3136
3197
|
slackId?: string | null
|
|
3198
|
+
slackTeamId?: string | null
|
|
3137
3199
|
slackBotToken?: string | null
|
|
3138
3200
|
anthropicApiKey?: string | null
|
|
3139
3201
|
selfHosted?: boolean
|
|
@@ -3178,6 +3240,7 @@ export type AgentUncheckedCreateWithoutGithubInstallationsSnapshotInput = {
|
|
|
3178
3240
|
id?: string
|
|
3179
3241
|
name: string
|
|
3180
3242
|
slackId?: string | null
|
|
3243
|
+
slackTeamId?: string | null
|
|
3181
3244
|
slackBotToken?: string | null
|
|
3182
3245
|
anthropicApiKey?: string | null
|
|
3183
3246
|
selfHosted?: boolean
|
|
@@ -3238,6 +3301,7 @@ export type AgentUpdateWithoutGithubInstallationsSnapshotInput = {
|
|
|
3238
3301
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3239
3302
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3240
3303
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3304
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3241
3305
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3242
3306
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3243
3307
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3282,6 +3346,7 @@ export type AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput = {
|
|
|
3282
3346
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3283
3347
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3284
3348
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3349
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3285
3350
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3286
3351
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3287
3352
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3326,6 +3391,7 @@ export type AgentCreateWithoutMarketplacesInput = {
|
|
|
3326
3391
|
id?: string
|
|
3327
3392
|
name: string
|
|
3328
3393
|
slackId?: string | null
|
|
3394
|
+
slackTeamId?: string | null
|
|
3329
3395
|
slackBotToken?: string | null
|
|
3330
3396
|
anthropicApiKey?: string | null
|
|
3331
3397
|
selfHosted?: boolean
|
|
@@ -3370,6 +3436,7 @@ export type AgentUncheckedCreateWithoutMarketplacesInput = {
|
|
|
3370
3436
|
id?: string
|
|
3371
3437
|
name: string
|
|
3372
3438
|
slackId?: string | null
|
|
3439
|
+
slackTeamId?: string | null
|
|
3373
3440
|
slackBotToken?: string | null
|
|
3374
3441
|
anthropicApiKey?: string | null
|
|
3375
3442
|
selfHosted?: boolean
|
|
@@ -3430,6 +3497,7 @@ export type AgentUpdateWithoutMarketplacesInput = {
|
|
|
3430
3497
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3431
3498
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3432
3499
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3500
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3433
3501
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3434
3502
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3435
3503
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3474,6 +3542,7 @@ export type AgentUncheckedUpdateWithoutMarketplacesInput = {
|
|
|
3474
3542
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3475
3543
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3476
3544
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3545
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3477
3546
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3478
3547
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3479
3548
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3518,6 +3587,7 @@ export type AgentCreateManyAccountInput = {
|
|
|
3518
3587
|
id?: string
|
|
3519
3588
|
name: string
|
|
3520
3589
|
slackId?: string | null
|
|
3590
|
+
slackTeamId?: string | null
|
|
3521
3591
|
slackBotToken?: string | null
|
|
3522
3592
|
anthropicApiKey?: string | null
|
|
3523
3593
|
selfHosted?: boolean
|
|
@@ -3551,6 +3621,7 @@ export type AgentUpdateWithoutAccountInput = {
|
|
|
3551
3621
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3552
3622
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3553
3623
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3624
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3554
3625
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3555
3626
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3556
3627
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3595,6 +3666,7 @@ export type AgentUncheckedUpdateWithoutAccountInput = {
|
|
|
3595
3666
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3596
3667
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3597
3668
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3669
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3598
3670
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3599
3671
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3600
3672
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3639,6 +3711,7 @@ export type AgentUncheckedUpdateManyWithoutAccountInput = {
|
|
|
3639
3711
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3640
3712
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3641
3713
|
slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3714
|
+
slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3642
3715
|
slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3643
3716
|
anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3644
3717
|
selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
@@ -3775,6 +3848,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
3775
3848
|
id?: boolean
|
|
3776
3849
|
name?: boolean
|
|
3777
3850
|
slackId?: boolean
|
|
3851
|
+
slackTeamId?: boolean
|
|
3778
3852
|
slackBotToken?: boolean
|
|
3779
3853
|
anthropicApiKey?: boolean
|
|
3780
3854
|
selfHosted?: boolean
|
|
@@ -3822,6 +3896,7 @@ export type AgentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
3822
3896
|
id?: boolean
|
|
3823
3897
|
name?: boolean
|
|
3824
3898
|
slackId?: boolean
|
|
3899
|
+
slackTeamId?: boolean
|
|
3825
3900
|
slackBotToken?: boolean
|
|
3826
3901
|
anthropicApiKey?: boolean
|
|
3827
3902
|
selfHosted?: boolean
|
|
@@ -3857,6 +3932,7 @@ export type AgentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
3857
3932
|
id?: boolean
|
|
3858
3933
|
name?: boolean
|
|
3859
3934
|
slackId?: boolean
|
|
3935
|
+
slackTeamId?: boolean
|
|
3860
3936
|
slackBotToken?: boolean
|
|
3861
3937
|
anthropicApiKey?: boolean
|
|
3862
3938
|
selfHosted?: boolean
|
|
@@ -3892,6 +3968,7 @@ export type AgentSelectScalar = {
|
|
|
3892
3968
|
id?: boolean
|
|
3893
3969
|
name?: boolean
|
|
3894
3970
|
slackId?: boolean
|
|
3971
|
+
slackTeamId?: boolean
|
|
3895
3972
|
slackBotToken?: boolean
|
|
3896
3973
|
anthropicApiKey?: boolean
|
|
3897
3974
|
selfHosted?: boolean
|
|
@@ -3922,7 +3999,7 @@ export type AgentSelectScalar = {
|
|
|
3922
3999
|
updatedAt?: boolean
|
|
3923
4000
|
}
|
|
3924
4001
|
|
|
3925
|
-
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" | "githubUsername" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "bakedMarketplaces" | "templateDetached" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
|
|
4002
|
+
export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slackId" | "slackTeamId" | "slackBotToken" | "anthropicApiKey" | "selfHosted" | "repos" | "reviewAuthorAllowlist" | "patchAuthorAllowlist" | "restrictSlackToMembers" | "specialty" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "githubUsername" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "bakedMarketplaces" | "templateDetached" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
|
|
3926
4003
|
export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3927
4004
|
account?: boolean | Prisma.Agent$accountArgs<ExtArgs>
|
|
3928
4005
|
envVars?: boolean | Prisma.Agent$envVarsArgs<ExtArgs>
|
|
@@ -3965,6 +4042,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
3965
4042
|
id: string
|
|
3966
4043
|
name: string
|
|
3967
4044
|
slackId: string | null
|
|
4045
|
+
slackTeamId: string | null
|
|
3968
4046
|
slackBotToken: string | null
|
|
3969
4047
|
anthropicApiKey: string | null
|
|
3970
4048
|
selfHosted: boolean
|
|
@@ -4431,6 +4509,7 @@ export interface AgentFieldRefs {
|
|
|
4431
4509
|
readonly id: Prisma.FieldRef<"Agent", 'String'>
|
|
4432
4510
|
readonly name: Prisma.FieldRef<"Agent", 'String'>
|
|
4433
4511
|
readonly slackId: Prisma.FieldRef<"Agent", 'String'>
|
|
4512
|
+
readonly slackTeamId: Prisma.FieldRef<"Agent", 'String'>
|
|
4434
4513
|
readonly slackBotToken: Prisma.FieldRef<"Agent", 'String'>
|
|
4435
4514
|
readonly anthropicApiKey: Prisma.FieldRef<"Agent", 'String'>
|
|
4436
4515
|
readonly selfHosted: Prisma.FieldRef<"Agent", 'Boolean'>
|
|
@@ -29,6 +29,7 @@ model Agent {
|
|
|
29
29
|
id String @id @default(cuid())
|
|
30
30
|
name String
|
|
31
31
|
slackId String? @unique
|
|
32
|
+
slackTeamId String? // Slack workspace id from auth.test at connect; null = unknown
|
|
32
33
|
slackBotToken String? // AES-256-GCM encrypted at the service layer
|
|
33
34
|
anthropicApiKey String? // AES-256-GCM encrypted at the service layer
|
|
34
35
|
selfHosted Boolean @default(false)
|