@app-vitals/agent-admin 1.125.0 → 1.126.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.
@@ -426,6 +426,7 @@ export type AgentWhereInput = {
426
426
  updatedAt?: Prisma.DateTimeFilter<"Agent"> | Date | string
427
427
  account?: Prisma.XOR<Prisma.AccountNullableScalarRelationFilter, Prisma.AccountWhereInput> | null
428
428
  envVars?: Prisma.AgentEnvListRelationFilter
429
+ githubApps?: Prisma.AgentGitHubAppListRelationFilter
429
430
  cronJobs?: Prisma.AgentCronJobListRelationFilter
430
431
  tools?: Prisma.AgentToolListRelationFilter
431
432
  tokens?: Prisma.AgentTokenListRelationFilter
@@ -473,6 +474,7 @@ export type AgentOrderByWithRelationInput = {
473
474
  updatedAt?: Prisma.SortOrder
474
475
  account?: Prisma.AccountOrderByWithRelationInput
475
476
  envVars?: Prisma.AgentEnvOrderByRelationAggregateInput
477
+ githubApps?: Prisma.AgentGitHubAppOrderByRelationAggregateInput
476
478
  cronJobs?: Prisma.AgentCronJobOrderByRelationAggregateInput
477
479
  tools?: Prisma.AgentToolOrderByRelationAggregateInput
478
480
  tokens?: Prisma.AgentTokenOrderByRelationAggregateInput
@@ -523,6 +525,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
523
525
  updatedAt?: Prisma.DateTimeFilter<"Agent"> | Date | string
524
526
  account?: Prisma.XOR<Prisma.AccountNullableScalarRelationFilter, Prisma.AccountWhereInput> | null
525
527
  envVars?: Prisma.AgentEnvListRelationFilter
528
+ githubApps?: Prisma.AgentGitHubAppListRelationFilter
526
529
  cronJobs?: Prisma.AgentCronJobListRelationFilter
527
530
  tools?: Prisma.AgentToolListRelationFilter
528
531
  tokens?: Prisma.AgentTokenListRelationFilter
@@ -647,6 +650,7 @@ export type AgentCreateInput = {
647
650
  updatedAt?: Date | string
648
651
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
649
652
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
653
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
650
654
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
651
655
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
652
656
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -693,6 +697,7 @@ export type AgentUncheckedCreateInput = {
693
697
  createdAt?: Date | string
694
698
  updatedAt?: Date | string
695
699
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
700
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
696
701
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
697
702
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
698
703
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -739,6 +744,7 @@ export type AgentUpdateInput = {
739
744
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
740
745
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
741
746
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
747
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
742
748
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
743
749
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
744
750
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -785,6 +791,7 @@ export type AgentUncheckedUpdateInput = {
785
791
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
786
792
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
787
793
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
794
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
788
795
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
789
796
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
790
797
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -1119,6 +1126,20 @@ export type AgentUpdateOneRequiredWithoutEnvVarsNestedInput = {
1119
1126
  update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutEnvVarsInput, Prisma.AgentUpdateWithoutEnvVarsInput>, Prisma.AgentUncheckedUpdateWithoutEnvVarsInput>
1120
1127
  }
1121
1128
 
1129
+ export type AgentCreateNestedOneWithoutGithubAppsInput = {
1130
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutGithubAppsInput, Prisma.AgentUncheckedCreateWithoutGithubAppsInput>
1131
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutGithubAppsInput
1132
+ connect?: Prisma.AgentWhereUniqueInput
1133
+ }
1134
+
1135
+ export type AgentUpdateOneRequiredWithoutGithubAppsNestedInput = {
1136
+ create?: Prisma.XOR<Prisma.AgentCreateWithoutGithubAppsInput, Prisma.AgentUncheckedCreateWithoutGithubAppsInput>
1137
+ connectOrCreate?: Prisma.AgentCreateOrConnectWithoutGithubAppsInput
1138
+ upsert?: Prisma.AgentUpsertWithoutGithubAppsInput
1139
+ connect?: Prisma.AgentWhereUniqueInput
1140
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AgentUpdateToOneWithWhereWithoutGithubAppsInput, Prisma.AgentUpdateWithoutGithubAppsInput>, Prisma.AgentUncheckedUpdateWithoutGithubAppsInput>
1141
+ }
1142
+
1122
1143
  export type AgentCreateNestedOneWithoutCronJobsInput = {
1123
1144
  create?: Prisma.XOR<Prisma.AgentCreateWithoutCronJobsInput, Prisma.AgentUncheckedCreateWithoutCronJobsInput>
1124
1145
  connectOrCreate?: Prisma.AgentCreateOrConnectWithoutCronJobsInput
@@ -1307,6 +1328,7 @@ export type AgentCreateWithoutWorkQueueSnapshotInput = {
1307
1328
  updatedAt?: Date | string
1308
1329
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
1309
1330
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
1331
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
1310
1332
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
1311
1333
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1312
1334
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -1352,6 +1374,7 @@ export type AgentUncheckedCreateWithoutWorkQueueSnapshotInput = {
1352
1374
  createdAt?: Date | string
1353
1375
  updatedAt?: Date | string
1354
1376
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
1377
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
1355
1378
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
1356
1379
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1357
1380
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -1413,6 +1436,7 @@ export type AgentUpdateWithoutWorkQueueSnapshotInput = {
1413
1436
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1414
1437
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
1415
1438
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
1439
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
1416
1440
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
1417
1441
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
1418
1442
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -1458,6 +1482,7 @@ export type AgentUncheckedUpdateWithoutWorkQueueSnapshotInput = {
1458
1482
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1459
1483
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1460
1484
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
1485
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
1461
1486
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
1462
1487
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1463
1488
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -1503,6 +1528,7 @@ export type AgentCreateWithoutPhaseMethodologiesInput = {
1503
1528
  updatedAt?: Date | string
1504
1529
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
1505
1530
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
1531
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
1506
1532
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
1507
1533
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1508
1534
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -1548,6 +1574,7 @@ export type AgentUncheckedCreateWithoutPhaseMethodologiesInput = {
1548
1574
  createdAt?: Date | string
1549
1575
  updatedAt?: Date | string
1550
1576
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
1577
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
1551
1578
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
1552
1579
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1553
1580
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -1609,6 +1636,7 @@ export type AgentUpdateWithoutPhaseMethodologiesInput = {
1609
1636
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1610
1637
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
1611
1638
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
1639
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
1612
1640
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
1613
1641
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
1614
1642
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -1654,6 +1682,7 @@ export type AgentUncheckedUpdateWithoutPhaseMethodologiesInput = {
1654
1682
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1655
1683
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1656
1684
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
1685
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
1657
1686
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
1658
1687
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1659
1688
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -1698,6 +1727,7 @@ export type AgentCreateWithoutEnvVarsInput = {
1698
1727
  createdAt?: Date | string
1699
1728
  updatedAt?: Date | string
1700
1729
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
1730
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
1701
1731
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
1702
1732
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1703
1733
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -1743,6 +1773,7 @@ export type AgentUncheckedCreateWithoutEnvVarsInput = {
1743
1773
  templateDetached?: boolean
1744
1774
  createdAt?: Date | string
1745
1775
  updatedAt?: Date | string
1776
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
1746
1777
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
1747
1778
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1748
1779
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -1804,6 +1835,7 @@ export type AgentUpdateWithoutEnvVarsInput = {
1804
1835
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1805
1836
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1806
1837
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
1838
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
1807
1839
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
1808
1840
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
1809
1841
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -1849,6 +1881,207 @@ export type AgentUncheckedUpdateWithoutEnvVarsInput = {
1849
1881
  templateDetached?: Prisma.BoolFieldUpdateOperationsInput | boolean
1850
1882
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1851
1883
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1884
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
1885
+ cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
1886
+ tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1887
+ tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
1888
+ plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
1889
+ marketplaces?: Prisma.AgentMarketplaceUncheckedUpdateManyWithoutAgentNestedInput
1890
+ members?: Prisma.AgentMemberUncheckedUpdateManyWithoutAgentNestedInput
1891
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedUpdateManyWithoutAgentNestedInput
1892
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedUpdateOneWithoutAgentNestedInput
1893
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedUpdateOneWithoutAgentNestedInput
1894
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyUncheckedUpdateManyWithoutAgentNestedInput
1895
+ }
1896
+
1897
+ export type AgentCreateWithoutGithubAppsInput = {
1898
+ id?: string
1899
+ name: string
1900
+ slackId?: string | null
1901
+ slackTeamId?: string | null
1902
+ slackBotToken?: string | null
1903
+ anthropicApiKey?: string | null
1904
+ selfHosted?: boolean
1905
+ repos?: Prisma.AgentCreatereposInput | string[]
1906
+ reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1907
+ patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1908
+ restrictSlackToMembers?: boolean
1909
+ specialty?: string
1910
+ trialExpiresAt?: Date | string | null
1911
+ trialExpiryWarnedAt?: Date | string | null
1912
+ ownerEmail?: string | null
1913
+ anthropicIdentityName?: string | null
1914
+ anthropicServiceAccountId?: string | null
1915
+ anthropicFederationRuleId?: string | null
1916
+ k8sServiceAccountName?: string | null
1917
+ podServiceAccountName?: string | null
1918
+ githubUsername?: string | null
1919
+ autoPostReviews?: boolean
1920
+ allowSelfReview?: boolean
1921
+ minConfidence?: number
1922
+ maxFindings?: number
1923
+ cleanupMergedWorktrees?: boolean
1924
+ cleanupAfterDays?: number
1925
+ bakedMarketplaces?: Prisma.AgentCreatebakedMarketplacesInput | string[]
1926
+ templateDetached?: boolean
1927
+ createdAt?: Date | string
1928
+ updatedAt?: Date | string
1929
+ account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
1930
+ envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
1931
+ cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
1932
+ tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1933
+ tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
1934
+ plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
1935
+ marketplaces?: Prisma.AgentMarketplaceCreateNestedManyWithoutAgentInput
1936
+ members?: Prisma.AgentMemberCreateNestedManyWithoutAgentInput
1937
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelCreateNestedManyWithoutAgentInput
1938
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotCreateNestedOneWithoutAgentInput
1939
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotCreateNestedOneWithoutAgentInput
1940
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyCreateNestedManyWithoutAgentInput
1941
+ }
1942
+
1943
+ export type AgentUncheckedCreateWithoutGithubAppsInput = {
1944
+ id?: string
1945
+ name: string
1946
+ slackId?: string | null
1947
+ slackTeamId?: string | null
1948
+ slackBotToken?: string | null
1949
+ anthropicApiKey?: string | null
1950
+ selfHosted?: boolean
1951
+ repos?: Prisma.AgentCreatereposInput | string[]
1952
+ reviewAuthorAllowlist?: Prisma.AgentCreatereviewAuthorAllowlistInput | string[]
1953
+ patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
1954
+ restrictSlackToMembers?: boolean
1955
+ specialty?: string
1956
+ accountId?: string | null
1957
+ trialExpiresAt?: Date | string | null
1958
+ trialExpiryWarnedAt?: Date | string | null
1959
+ ownerEmail?: string | null
1960
+ anthropicIdentityName?: string | null
1961
+ anthropicServiceAccountId?: string | null
1962
+ anthropicFederationRuleId?: string | null
1963
+ k8sServiceAccountName?: string | null
1964
+ podServiceAccountName?: string | null
1965
+ githubUsername?: string | null
1966
+ autoPostReviews?: boolean
1967
+ allowSelfReview?: boolean
1968
+ minConfidence?: number
1969
+ maxFindings?: number
1970
+ cleanupMergedWorktrees?: boolean
1971
+ cleanupAfterDays?: number
1972
+ bakedMarketplaces?: Prisma.AgentCreatebakedMarketplacesInput | string[]
1973
+ templateDetached?: boolean
1974
+ createdAt?: Date | string
1975
+ updatedAt?: Date | string
1976
+ envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
1977
+ cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
1978
+ tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1979
+ tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
1980
+ plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
1981
+ marketplaces?: Prisma.AgentMarketplaceUncheckedCreateNestedManyWithoutAgentInput
1982
+ members?: Prisma.AgentMemberUncheckedCreateNestedManyWithoutAgentInput
1983
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUncheckedCreateNestedManyWithoutAgentInput
1984
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUncheckedCreateNestedOneWithoutAgentInput
1985
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUncheckedCreateNestedOneWithoutAgentInput
1986
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyUncheckedCreateNestedManyWithoutAgentInput
1987
+ }
1988
+
1989
+ export type AgentCreateOrConnectWithoutGithubAppsInput = {
1990
+ where: Prisma.AgentWhereUniqueInput
1991
+ create: Prisma.XOR<Prisma.AgentCreateWithoutGithubAppsInput, Prisma.AgentUncheckedCreateWithoutGithubAppsInput>
1992
+ }
1993
+
1994
+ export type AgentUpsertWithoutGithubAppsInput = {
1995
+ update: Prisma.XOR<Prisma.AgentUpdateWithoutGithubAppsInput, Prisma.AgentUncheckedUpdateWithoutGithubAppsInput>
1996
+ create: Prisma.XOR<Prisma.AgentCreateWithoutGithubAppsInput, Prisma.AgentUncheckedCreateWithoutGithubAppsInput>
1997
+ where?: Prisma.AgentWhereInput
1998
+ }
1999
+
2000
+ export type AgentUpdateToOneWithWhereWithoutGithubAppsInput = {
2001
+ where?: Prisma.AgentWhereInput
2002
+ data: Prisma.XOR<Prisma.AgentUpdateWithoutGithubAppsInput, Prisma.AgentUncheckedUpdateWithoutGithubAppsInput>
2003
+ }
2004
+
2005
+ export type AgentUpdateWithoutGithubAppsInput = {
2006
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2007
+ name?: Prisma.StringFieldUpdateOperationsInput | string
2008
+ slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2009
+ slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2010
+ slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2011
+ anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2012
+ selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2013
+ repos?: Prisma.AgentUpdatereposInput | string[]
2014
+ reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2015
+ patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2016
+ restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2017
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2018
+ trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2019
+ trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2020
+ ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2021
+ anthropicIdentityName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2022
+ anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2023
+ anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2024
+ k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2025
+ podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2026
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2027
+ autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2028
+ allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2029
+ minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
2030
+ maxFindings?: Prisma.IntFieldUpdateOperationsInput | number
2031
+ cleanupMergedWorktrees?: Prisma.BoolFieldUpdateOperationsInput | boolean
2032
+ cleanupAfterDays?: Prisma.IntFieldUpdateOperationsInput | number
2033
+ bakedMarketplaces?: Prisma.AgentUpdatebakedMarketplacesInput | string[]
2034
+ templateDetached?: Prisma.BoolFieldUpdateOperationsInput | boolean
2035
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2036
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2037
+ account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
2038
+ envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
2039
+ cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
2040
+ tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2041
+ tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
2042
+ plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
2043
+ marketplaces?: Prisma.AgentMarketplaceUpdateManyWithoutAgentNestedInput
2044
+ members?: Prisma.AgentMemberUpdateManyWithoutAgentNestedInput
2045
+ chatTokenUsage?: Prisma.AgentChatTokenUsageDailyByModelUpdateManyWithoutAgentNestedInput
2046
+ workQueueSnapshot?: Prisma.AgentWorkQueueSnapshotUpdateOneWithoutAgentNestedInput
2047
+ githubInstallationsSnapshot?: Prisma.AgentGitHubInstallationsSnapshotUpdateOneWithoutAgentNestedInput
2048
+ phaseMethodologies?: Prisma.AgentPhaseMethodologyUpdateManyWithoutAgentNestedInput
2049
+ }
2050
+
2051
+ export type AgentUncheckedUpdateWithoutGithubAppsInput = {
2052
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2053
+ name?: Prisma.StringFieldUpdateOperationsInput | string
2054
+ slackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2055
+ slackTeamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2056
+ slackBotToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2057
+ anthropicApiKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2058
+ selfHosted?: Prisma.BoolFieldUpdateOperationsInput | boolean
2059
+ repos?: Prisma.AgentUpdatereposInput | string[]
2060
+ reviewAuthorAllowlist?: Prisma.AgentUpdatereviewAuthorAllowlistInput | string[]
2061
+ patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
2062
+ restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
2063
+ specialty?: Prisma.StringFieldUpdateOperationsInput | string
2064
+ accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2065
+ trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2066
+ trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2067
+ ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2068
+ anthropicIdentityName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2069
+ anthropicServiceAccountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2070
+ anthropicFederationRuleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2071
+ k8sServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2072
+ podServiceAccountName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2073
+ githubUsername?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2074
+ autoPostReviews?: Prisma.BoolFieldUpdateOperationsInput | boolean
2075
+ allowSelfReview?: Prisma.BoolFieldUpdateOperationsInput | boolean
2076
+ minConfidence?: Prisma.IntFieldUpdateOperationsInput | number
2077
+ maxFindings?: Prisma.IntFieldUpdateOperationsInput | number
2078
+ cleanupMergedWorktrees?: Prisma.BoolFieldUpdateOperationsInput | boolean
2079
+ cleanupAfterDays?: Prisma.IntFieldUpdateOperationsInput | number
2080
+ bakedMarketplaces?: Prisma.AgentUpdatebakedMarketplacesInput | string[]
2081
+ templateDetached?: Prisma.BoolFieldUpdateOperationsInput | boolean
2082
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2083
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2084
+ envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
1852
2085
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
1853
2086
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
1854
2087
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -1895,6 +2128,7 @@ export type AgentCreateWithoutCronJobsInput = {
1895
2128
  updatedAt?: Date | string
1896
2129
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
1897
2130
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
2131
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
1898
2132
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
1899
2133
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
1900
2134
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
@@ -1940,6 +2174,7 @@ export type AgentUncheckedCreateWithoutCronJobsInput = {
1940
2174
  createdAt?: Date | string
1941
2175
  updatedAt?: Date | string
1942
2176
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
2177
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
1943
2178
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
1944
2179
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
1945
2180
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
@@ -2001,6 +2236,7 @@ export type AgentUpdateWithoutCronJobsInput = {
2001
2236
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2002
2237
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
2003
2238
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
2239
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
2004
2240
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2005
2241
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
2006
2242
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
@@ -2046,6 +2282,7 @@ export type AgentUncheckedUpdateWithoutCronJobsInput = {
2046
2282
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2047
2283
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2048
2284
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
2285
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
2049
2286
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2050
2287
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
2051
2288
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
@@ -2091,6 +2328,7 @@ export type AgentCreateWithoutToolsInput = {
2091
2328
  updatedAt?: Date | string
2092
2329
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
2093
2330
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
2331
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
2094
2332
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
2095
2333
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
2096
2334
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
@@ -2136,6 +2374,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
2136
2374
  createdAt?: Date | string
2137
2375
  updatedAt?: Date | string
2138
2376
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
2377
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
2139
2378
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
2140
2379
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
2141
2380
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
@@ -2197,6 +2436,7 @@ export type AgentUpdateWithoutToolsInput = {
2197
2436
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2198
2437
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
2199
2438
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
2439
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
2200
2440
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
2201
2441
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
2202
2442
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
@@ -2242,6 +2482,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
2242
2482
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2243
2483
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2244
2484
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
2485
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
2245
2486
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
2246
2487
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
2247
2488
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
@@ -2287,6 +2528,7 @@ export type AgentCreateWithoutTokensInput = {
2287
2528
  updatedAt?: Date | string
2288
2529
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
2289
2530
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
2531
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
2290
2532
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
2291
2533
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2292
2534
  plugins?: Prisma.AgentPluginCreateNestedManyWithoutAgentInput
@@ -2332,6 +2574,7 @@ export type AgentUncheckedCreateWithoutTokensInput = {
2332
2574
  createdAt?: Date | string
2333
2575
  updatedAt?: Date | string
2334
2576
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
2577
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
2335
2578
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
2336
2579
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2337
2580
  plugins?: Prisma.AgentPluginUncheckedCreateNestedManyWithoutAgentInput
@@ -2393,6 +2636,7 @@ export type AgentUpdateWithoutTokensInput = {
2393
2636
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2394
2637
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
2395
2638
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
2639
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
2396
2640
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
2397
2641
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2398
2642
  plugins?: Prisma.AgentPluginUpdateManyWithoutAgentNestedInput
@@ -2438,6 +2682,7 @@ export type AgentUncheckedUpdateWithoutTokensInput = {
2438
2682
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2439
2683
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2440
2684
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
2685
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
2441
2686
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
2442
2687
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2443
2688
  plugins?: Prisma.AgentPluginUncheckedUpdateManyWithoutAgentNestedInput
@@ -2483,6 +2728,7 @@ export type AgentCreateWithoutPluginsInput = {
2483
2728
  updatedAt?: Date | string
2484
2729
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
2485
2730
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
2731
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
2486
2732
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
2487
2733
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2488
2734
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -2528,6 +2774,7 @@ export type AgentUncheckedCreateWithoutPluginsInput = {
2528
2774
  createdAt?: Date | string
2529
2775
  updatedAt?: Date | string
2530
2776
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
2777
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
2531
2778
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
2532
2779
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2533
2780
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -2589,6 +2836,7 @@ export type AgentUpdateWithoutPluginsInput = {
2589
2836
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2590
2837
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
2591
2838
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
2839
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
2592
2840
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
2593
2841
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2594
2842
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -2634,6 +2882,7 @@ export type AgentUncheckedUpdateWithoutPluginsInput = {
2634
2882
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2635
2883
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2636
2884
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
2885
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
2637
2886
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
2638
2887
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2639
2888
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -2679,6 +2928,7 @@ export type AgentCreateWithoutMembersInput = {
2679
2928
  updatedAt?: Date | string
2680
2929
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
2681
2930
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
2931
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
2682
2932
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
2683
2933
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2684
2934
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -2724,6 +2974,7 @@ export type AgentUncheckedCreateWithoutMembersInput = {
2724
2974
  createdAt?: Date | string
2725
2975
  updatedAt?: Date | string
2726
2976
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
2977
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
2727
2978
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
2728
2979
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2729
2980
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -2785,6 +3036,7 @@ export type AgentUpdateWithoutMembersInput = {
2785
3036
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2786
3037
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
2787
3038
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
3039
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
2788
3040
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
2789
3041
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
2790
3042
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -2830,6 +3082,7 @@ export type AgentUncheckedUpdateWithoutMembersInput = {
2830
3082
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2831
3083
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2832
3084
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
3085
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
2833
3086
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
2834
3087
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
2835
3088
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -2874,6 +3127,7 @@ export type AgentCreateWithoutAccountInput = {
2874
3127
  createdAt?: Date | string
2875
3128
  updatedAt?: Date | string
2876
3129
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
3130
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
2877
3131
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
2878
3132
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
2879
3133
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -2919,6 +3173,7 @@ export type AgentUncheckedCreateWithoutAccountInput = {
2919
3173
  createdAt?: Date | string
2920
3174
  updatedAt?: Date | string
2921
3175
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
3176
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
2922
3177
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
2923
3178
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
2924
3179
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -3029,6 +3284,7 @@ export type AgentCreateWithoutChatTokenUsageInput = {
3029
3284
  updatedAt?: Date | string
3030
3285
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
3031
3286
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
3287
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
3032
3288
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
3033
3289
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
3034
3290
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -3074,6 +3330,7 @@ export type AgentUncheckedCreateWithoutChatTokenUsageInput = {
3074
3330
  createdAt?: Date | string
3075
3331
  updatedAt?: Date | string
3076
3332
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
3333
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
3077
3334
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
3078
3335
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
3079
3336
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -3135,6 +3392,7 @@ export type AgentUpdateWithoutChatTokenUsageInput = {
3135
3392
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3136
3393
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
3137
3394
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
3395
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
3138
3396
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
3139
3397
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
3140
3398
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -3180,6 +3438,7 @@ export type AgentUncheckedUpdateWithoutChatTokenUsageInput = {
3180
3438
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3181
3439
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3182
3440
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
3441
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
3183
3442
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
3184
3443
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
3185
3444
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -3225,6 +3484,7 @@ export type AgentCreateWithoutGithubInstallationsSnapshotInput = {
3225
3484
  updatedAt?: Date | string
3226
3485
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
3227
3486
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
3487
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
3228
3488
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
3229
3489
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
3230
3490
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -3270,6 +3530,7 @@ export type AgentUncheckedCreateWithoutGithubInstallationsSnapshotInput = {
3270
3530
  createdAt?: Date | string
3271
3531
  updatedAt?: Date | string
3272
3532
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
3533
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
3273
3534
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
3274
3535
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
3275
3536
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -3331,6 +3592,7 @@ export type AgentUpdateWithoutGithubInstallationsSnapshotInput = {
3331
3592
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3332
3593
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
3333
3594
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
3595
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
3334
3596
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
3335
3597
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
3336
3598
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -3376,6 +3638,7 @@ export type AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput = {
3376
3638
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3377
3639
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3378
3640
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
3641
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
3379
3642
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
3380
3643
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
3381
3644
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -3421,6 +3684,7 @@ export type AgentCreateWithoutMarketplacesInput = {
3421
3684
  updatedAt?: Date | string
3422
3685
  account?: Prisma.AccountCreateNestedOneWithoutAgentsInput
3423
3686
  envVars?: Prisma.AgentEnvCreateNestedManyWithoutAgentInput
3687
+ githubApps?: Prisma.AgentGitHubAppCreateNestedManyWithoutAgentInput
3424
3688
  cronJobs?: Prisma.AgentCronJobCreateNestedManyWithoutAgentInput
3425
3689
  tools?: Prisma.AgentToolCreateNestedManyWithoutAgentInput
3426
3690
  tokens?: Prisma.AgentTokenCreateNestedManyWithoutAgentInput
@@ -3466,6 +3730,7 @@ export type AgentUncheckedCreateWithoutMarketplacesInput = {
3466
3730
  createdAt?: Date | string
3467
3731
  updatedAt?: Date | string
3468
3732
  envVars?: Prisma.AgentEnvUncheckedCreateNestedManyWithoutAgentInput
3733
+ githubApps?: Prisma.AgentGitHubAppUncheckedCreateNestedManyWithoutAgentInput
3469
3734
  cronJobs?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutAgentInput
3470
3735
  tools?: Prisma.AgentToolUncheckedCreateNestedManyWithoutAgentInput
3471
3736
  tokens?: Prisma.AgentTokenUncheckedCreateNestedManyWithoutAgentInput
@@ -3527,6 +3792,7 @@ export type AgentUpdateWithoutMarketplacesInput = {
3527
3792
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3528
3793
  account?: Prisma.AccountUpdateOneWithoutAgentsNestedInput
3529
3794
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
3795
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
3530
3796
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
3531
3797
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
3532
3798
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -3572,6 +3838,7 @@ export type AgentUncheckedUpdateWithoutMarketplacesInput = {
3572
3838
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3573
3839
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3574
3840
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
3841
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
3575
3842
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
3576
3843
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
3577
3844
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -3650,6 +3917,7 @@ export type AgentUpdateWithoutAccountInput = {
3650
3917
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3651
3918
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3652
3919
  envVars?: Prisma.AgentEnvUpdateManyWithoutAgentNestedInput
3920
+ githubApps?: Prisma.AgentGitHubAppUpdateManyWithoutAgentNestedInput
3653
3921
  cronJobs?: Prisma.AgentCronJobUpdateManyWithoutAgentNestedInput
3654
3922
  tools?: Prisma.AgentToolUpdateManyWithoutAgentNestedInput
3655
3923
  tokens?: Prisma.AgentTokenUpdateManyWithoutAgentNestedInput
@@ -3695,6 +3963,7 @@ export type AgentUncheckedUpdateWithoutAccountInput = {
3695
3963
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3696
3964
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
3697
3965
  envVars?: Prisma.AgentEnvUncheckedUpdateManyWithoutAgentNestedInput
3966
+ githubApps?: Prisma.AgentGitHubAppUncheckedUpdateManyWithoutAgentNestedInput
3698
3967
  cronJobs?: Prisma.AgentCronJobUncheckedUpdateManyWithoutAgentNestedInput
3699
3968
  tools?: Prisma.AgentToolUncheckedUpdateManyWithoutAgentNestedInput
3700
3969
  tokens?: Prisma.AgentTokenUncheckedUpdateManyWithoutAgentNestedInput
@@ -3748,6 +4017,7 @@ export type AgentUncheckedUpdateManyWithoutAccountInput = {
3748
4017
 
3749
4018
  export type AgentCountOutputType = {
3750
4019
  envVars: number
4020
+ githubApps: number
3751
4021
  cronJobs: number
3752
4022
  tools: number
3753
4023
  tokens: number
@@ -3760,6 +4030,7 @@ export type AgentCountOutputType = {
3760
4030
 
3761
4031
  export type AgentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3762
4032
  envVars?: boolean | AgentCountOutputTypeCountEnvVarsArgs
4033
+ githubApps?: boolean | AgentCountOutputTypeCountGithubAppsArgs
3763
4034
  cronJobs?: boolean | AgentCountOutputTypeCountCronJobsArgs
3764
4035
  tools?: boolean | AgentCountOutputTypeCountToolsArgs
3765
4036
  tokens?: boolean | AgentCountOutputTypeCountTokensArgs
@@ -3787,6 +4058,13 @@ export type AgentCountOutputTypeCountEnvVarsArgs<ExtArgs extends runtime.Types.E
3787
4058
  where?: Prisma.AgentEnvWhereInput
3788
4059
  }
3789
4060
 
4061
+ /**
4062
+ * AgentCountOutputType without action
4063
+ */
4064
+ export type AgentCountOutputTypeCountGithubAppsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4065
+ where?: Prisma.AgentGitHubAppWhereInput
4066
+ }
4067
+
3790
4068
  /**
3791
4069
  * AgentCountOutputType without action
3792
4070
  */
@@ -3879,6 +4157,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3879
4157
  updatedAt?: boolean
3880
4158
  account?: boolean | Prisma.Agent$accountArgs<ExtArgs>
3881
4159
  envVars?: boolean | Prisma.Agent$envVarsArgs<ExtArgs>
4160
+ githubApps?: boolean | Prisma.Agent$githubAppsArgs<ExtArgs>
3882
4161
  cronJobs?: boolean | Prisma.Agent$cronJobsArgs<ExtArgs>
3883
4162
  tools?: boolean | Prisma.Agent$toolsArgs<ExtArgs>
3884
4163
  tokens?: boolean | Prisma.Agent$tokensArgs<ExtArgs>
@@ -4003,6 +4282,7 @@ export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
4003
4282
  export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4004
4283
  account?: boolean | Prisma.Agent$accountArgs<ExtArgs>
4005
4284
  envVars?: boolean | Prisma.Agent$envVarsArgs<ExtArgs>
4285
+ githubApps?: boolean | Prisma.Agent$githubAppsArgs<ExtArgs>
4006
4286
  cronJobs?: boolean | Prisma.Agent$cronJobsArgs<ExtArgs>
4007
4287
  tools?: boolean | Prisma.Agent$toolsArgs<ExtArgs>
4008
4288
  tokens?: boolean | Prisma.Agent$tokensArgs<ExtArgs>
@@ -4027,6 +4307,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
4027
4307
  objects: {
4028
4308
  account: Prisma.$AccountPayload<ExtArgs> | null
4029
4309
  envVars: Prisma.$AgentEnvPayload<ExtArgs>[]
4310
+ githubApps: Prisma.$AgentGitHubAppPayload<ExtArgs>[]
4030
4311
  cronJobs: Prisma.$AgentCronJobPayload<ExtArgs>[]
4031
4312
  tools: Prisma.$AgentToolPayload<ExtArgs>[]
4032
4313
  tokens: Prisma.$AgentTokenPayload<ExtArgs>[]
@@ -4467,6 +4748,7 @@ export interface Prisma__AgentClient<T, Null = never, ExtArgs extends runtime.Ty
4467
4748
  readonly [Symbol.toStringTag]: "PrismaPromise"
4468
4749
  account<T extends Prisma.Agent$accountArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$accountArgs<ExtArgs>>): Prisma.Prisma__AccountClient<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
4469
4750
  envVars<T extends Prisma.Agent$envVarsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$envVarsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentEnvPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
4751
+ githubApps<T extends Prisma.Agent$githubAppsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$githubAppsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentGitHubAppPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
4470
4752
  cronJobs<T extends Prisma.Agent$cronJobsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$cronJobsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentCronJobPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
4471
4753
  tools<T extends Prisma.Agent$toolsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$toolsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentToolPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
4472
4754
  tokens<T extends Prisma.Agent$tokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Agent$tokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
@@ -4981,6 +5263,30 @@ export type Agent$envVarsArgs<ExtArgs extends runtime.Types.Extensions.InternalA
4981
5263
  distinct?: Prisma.AgentEnvScalarFieldEnum | Prisma.AgentEnvScalarFieldEnum[]
4982
5264
  }
4983
5265
 
5266
+ /**
5267
+ * Agent.githubApps
5268
+ */
5269
+ export type Agent$githubAppsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
5270
+ /**
5271
+ * Select specific fields to fetch from the AgentGitHubApp
5272
+ */
5273
+ select?: Prisma.AgentGitHubAppSelect<ExtArgs> | null
5274
+ /**
5275
+ * Omit specific fields from the AgentGitHubApp
5276
+ */
5277
+ omit?: Prisma.AgentGitHubAppOmit<ExtArgs> | null
5278
+ /**
5279
+ * Choose, which related nodes to fetch as well
5280
+ */
5281
+ include?: Prisma.AgentGitHubAppInclude<ExtArgs> | null
5282
+ where?: Prisma.AgentGitHubAppWhereInput
5283
+ orderBy?: Prisma.AgentGitHubAppOrderByWithRelationInput | Prisma.AgentGitHubAppOrderByWithRelationInput[]
5284
+ cursor?: Prisma.AgentGitHubAppWhereUniqueInput
5285
+ take?: number
5286
+ skip?: number
5287
+ distinct?: Prisma.AgentGitHubAppScalarFieldEnum | Prisma.AgentGitHubAppScalarFieldEnum[]
5288
+ }
5289
+
4984
5290
  /**
4985
5291
  * Agent.cronJobs
4986
5292
  */