@wardby/cli 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/.env.example +22 -3
  2. package/README.md +11 -9
  3. package/dist/cli-help.d.ts +1 -1
  4. package/dist/cli-help.js +1 -0
  5. package/dist/cli.js +68 -10
  6. package/dist/coding/base-commit.d.ts +6 -0
  7. package/dist/coding/base-commit.js +12 -0
  8. package/dist/coding/protocol.d.ts +17 -1
  9. package/dist/coding/protocol.js +17 -6
  10. package/dist/coding/provider.d.ts +6 -1
  11. package/dist/coding/provider.js +16 -9
  12. package/dist/config/providers.d.ts +25 -0
  13. package/dist/config/providers.js +71 -0
  14. package/dist/core/attribution.d.ts +101 -0
  15. package/dist/core/attribution.js +208 -0
  16. package/dist/core/budget-groups.d.ts +17 -10
  17. package/dist/core/budget-groups.js +15 -12
  18. package/dist/core/coding-queue.d.ts +3 -0
  19. package/dist/core/coding-queue.js +6 -2
  20. package/dist/core/coding-service-status.d.ts +11 -0
  21. package/dist/core/coding-service-status.js +17 -0
  22. package/dist/core/cost-report.d.ts +88 -0
  23. package/dist/core/cost-report.js +248 -0
  24. package/dist/core/dispatch.d.ts +42 -2
  25. package/dist/core/dispatch.js +144 -26
  26. package/dist/core/engine-native.js +17 -4
  27. package/dist/core/glob.d.ts +10 -0
  28. package/dist/core/glob.js +33 -0
  29. package/dist/core/host-events.d.ts +24 -1
  30. package/dist/core/host-events.js +341 -1
  31. package/dist/core/host-status.d.ts +19 -2
  32. package/dist/core/host-status.js +47 -30
  33. package/dist/core/issue-bridge.d.ts +60 -0
  34. package/dist/core/issue-bridge.js +189 -0
  35. package/dist/core/issue-dedupe.d.ts +70 -0
  36. package/dist/core/issue-dedupe.js +255 -0
  37. package/dist/core/issue-events.d.ts +42 -0
  38. package/dist/core/issue-events.js +155 -0
  39. package/dist/core/issue-status.d.ts +29 -0
  40. package/dist/core/issue-status.js +241 -0
  41. package/dist/core/issue-tracker-tools.d.ts +64 -0
  42. package/dist/core/issue-tracker-tools.js +850 -0
  43. package/dist/core/model-usage.d.ts +10 -0
  44. package/dist/core/model-usage.js +24 -0
  45. package/dist/core/reconciler.d.ts +8 -4
  46. package/dist/core/reconciler.js +15 -4
  47. package/dist/core/review-host-tools.js +10 -3
  48. package/dist/core/run-pricing.d.ts +61 -0
  49. package/dist/core/run-pricing.js +56 -0
  50. package/dist/core/runner.d.ts +5 -2
  51. package/dist/core/runner.js +178 -27
  52. package/dist/core/scheduler.d.ts +4 -1
  53. package/dist/core/scheduler.js +3 -2
  54. package/dist/core/self-defects.d.ts +80 -0
  55. package/dist/core/self-defects.js +180 -0
  56. package/dist/core/tool-names.js +3 -0
  57. package/dist/core/webhooks.d.ts +9 -1
  58. package/dist/core/webhooks.js +19 -1
  59. package/dist/env.js +6 -1
  60. package/dist/generated/prisma/browser.d.ts +66 -0
  61. package/dist/generated/prisma/client.d.ts +66 -0
  62. package/dist/generated/prisma/commonInputTypes.d.ts +122 -52
  63. package/dist/generated/prisma/enums.d.ts +7 -0
  64. package/dist/generated/prisma/enums.js +6 -0
  65. package/dist/generated/prisma/internal/class.d.ts +99 -0
  66. package/dist/generated/prisma/internal/class.js +4 -4
  67. package/dist/generated/prisma/internal/prismaNamespace.d.ts +826 -1
  68. package/dist/generated/prisma/internal/prismaNamespace.js +135 -2
  69. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +142 -0
  70. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +135 -2
  71. package/dist/generated/prisma/models/Agent.d.ts +389 -1
  72. package/dist/generated/prisma/models/AgentIssueProject.d.ts +1838 -0
  73. package/dist/generated/prisma/models/AgentIssueProject.js +1 -0
  74. package/dist/generated/prisma/models/AgentRepository.d.ts +1 -1
  75. package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
  76. package/dist/generated/prisma/models/CodingProxySession.d.ts +73 -1
  77. package/dist/generated/prisma/models/CodingRun.d.ts +130 -1
  78. package/dist/generated/prisma/models/CodingRunServiceStatus.d.ts +1404 -0
  79. package/dist/generated/prisma/models/CodingRunServiceStatus.js +1 -0
  80. package/dist/generated/prisma/models/IssueFingerprint.d.ts +1183 -0
  81. package/dist/generated/prisma/models/IssueFingerprint.js +1 -0
  82. package/dist/generated/prisma/models/IssuePullRequest.d.ts +1255 -0
  83. package/dist/generated/prisma/models/IssuePullRequest.js +1 -0
  84. package/dist/generated/prisma/models/ModelCatalogEntry.d.ts +1322 -0
  85. package/dist/generated/prisma/models/ModelCatalogEntry.js +1 -0
  86. package/dist/generated/prisma/models/Run.d.ts +933 -1
  87. package/dist/generated/prisma/models/RunAttribution.d.ts +1259 -0
  88. package/dist/generated/prisma/models/RunAttribution.js +1 -0
  89. package/dist/generated/prisma/models/RunIssueStatus.d.ts +1199 -0
  90. package/dist/generated/prisma/models/RunIssueStatus.js +1 -0
  91. package/dist/generated/prisma/models/RunModelUsage.d.ts +1316 -0
  92. package/dist/generated/prisma/models/RunModelUsage.js +1 -0
  93. package/dist/generated/prisma/models/WorkItem.d.ts +1408 -0
  94. package/dist/generated/prisma/models/WorkItem.js +1 -0
  95. package/dist/generated/prisma/models.d.ts +9 -0
  96. package/dist/help-index.json +355 -16
  97. package/dist/import/neutral-schema.d.ts +16 -16
  98. package/dist/knowledge/check.d.ts +13 -0
  99. package/dist/knowledge/check.js +69 -0
  100. package/dist/knowledge/cli.d.ts +14 -0
  101. package/dist/knowledge/cli.js +67 -0
  102. package/dist/knowledge/concept.d.ts +54 -0
  103. package/dist/knowledge/concept.js +78 -0
  104. package/dist/knowledge/note.d.ts +11 -0
  105. package/dist/knowledge/note.js +39 -0
  106. package/dist/knowledge/relevance.d.ts +11 -0
  107. package/dist/knowledge/relevance.js +14 -0
  108. package/dist/knowledge/span-hash.d.ts +3 -0
  109. package/dist/knowledge/span-hash.js +16 -0
  110. package/dist/mcp/auth/access.d.ts +4 -2
  111. package/dist/mcp/auth/ownership.d.ts +9 -9
  112. package/dist/mcp/auth/resource-server.d.ts +3 -1
  113. package/dist/mcp/auth/resource-server.js +18 -3
  114. package/dist/mcp/auth/self-hosted/credentials.d.ts +3 -3
  115. package/dist/mcp/auth/self-hosted/session.d.ts +5 -5
  116. package/dist/mcp/context.d.ts +3 -0
  117. package/dist/mcp/host-events/deliveries.d.ts +9 -0
  118. package/dist/mcp/host-events/deliveries.js +17 -0
  119. package/dist/mcp/host-events/github-ingress.d.ts +4 -2
  120. package/dist/mcp/host-events/github-ingress.js +4 -13
  121. package/dist/mcp/host-events/jira-ingress.d.ts +29 -0
  122. package/dist/mcp/host-events/jira-ingress.js +92 -0
  123. package/dist/mcp/index.d.ts +2 -0
  124. package/dist/mcp/index.js +87 -9
  125. package/dist/mcp/server.js +5 -2
  126. package/dist/mcp/tools/agents.js +74 -3
  127. package/dist/mcp/tools/cost-report.d.ts +8 -0
  128. package/dist/mcp/tools/cost-report.js +60 -0
  129. package/dist/mcp/tools/issue-projects.d.ts +2 -0
  130. package/dist/mcp/tools/issue-projects.js +238 -0
  131. package/dist/mcp/tools/model-catalog.d.ts +22 -0
  132. package/dist/mcp/tools/model-catalog.js +423 -0
  133. package/dist/mcp/tools/repositories.js +2 -1
  134. package/dist/mcp/tools/tools.d.ts +2 -2
  135. package/dist/mcp/tools/trigger.js +33 -5
  136. package/dist/mcp/transport/streamable-http.d.ts +5 -0
  137. package/dist/mcp/transport/streamable-http.js +23 -1
  138. package/dist/mcp/webhooks/ingress.d.ts +2 -1
  139. package/dist/mcp/webhooks/ingress.js +9 -2
  140. package/dist/providers/auth/self-hosted.d.ts +8 -1
  141. package/dist/providers/auth/self-hosted.js +39 -2
  142. package/dist/providers/coding-proxy/memory-ledger.d.ts +1 -1
  143. package/dist/providers/coding-proxy/memory-ledger.js +10 -1
  144. package/dist/providers/coding-proxy/metering.d.ts +2 -1
  145. package/dist/providers/coding-proxy/metering.js +13 -2
  146. package/dist/providers/coding-proxy/prisma-ledger.js +59 -6
  147. package/dist/providers/coding-proxy/proxy.d.ts +12 -2
  148. package/dist/providers/coding-proxy/proxy.js +92 -30
  149. package/dist/providers/coding-proxy/types.d.ts +18 -1
  150. package/dist/providers/coding-proxy/types.js +12 -1
  151. package/dist/providers/engine/types.d.ts +19 -0
  152. package/dist/providers/executor/composition.js +9 -1
  153. package/dist/providers/executor/container.d.ts +30 -2
  154. package/dist/providers/executor/container.js +98 -17
  155. package/dist/providers/executor/dbos.d.ts +2 -0
  156. package/dist/providers/executor/dbos.js +7 -5
  157. package/dist/providers/executor/routing.d.ts +6 -0
  158. package/dist/providers/executor/routing.js +5 -0
  159. package/dist/providers/executor/types.d.ts +12 -0
  160. package/dist/providers/issue-tracker/adf.d.ts +31 -0
  161. package/dist/providers/issue-tracker/adf.js +181 -0
  162. package/dist/providers/issue-tracker/index.d.ts +5 -0
  163. package/dist/providers/issue-tracker/index.js +12 -0
  164. package/dist/providers/issue-tracker/jira-client.d.ts +41 -0
  165. package/dist/providers/issue-tracker/jira-client.js +151 -0
  166. package/dist/providers/issue-tracker/jira-events.d.ts +3 -0
  167. package/dist/providers/issue-tracker/jira-events.js +98 -0
  168. package/dist/providers/issue-tracker/jira.d.ts +116 -0
  169. package/dist/providers/issue-tracker/jira.js +502 -0
  170. package/dist/providers/issue-tracker/types.d.ts +269 -0
  171. package/dist/providers/issue-tracker/types.js +16 -0
  172. package/dist/providers/jobs/docker.d.ts +5 -1
  173. package/dist/providers/jobs/docker.js +61 -33
  174. package/dist/providers/jobs/kubernetes.d.ts +3 -0
  175. package/dist/providers/jobs/kubernetes.js +44 -4
  176. package/dist/providers/jobs/service-state.d.ts +22 -0
  177. package/dist/providers/jobs/service-state.js +17 -0
  178. package/dist/providers/llm/anthropic.d.ts +3 -3
  179. package/dist/providers/llm/anthropic.js +3 -9
  180. package/dist/providers/llm/bedrock.d.ts +3 -3
  181. package/dist/providers/llm/bedrock.js +3 -9
  182. package/dist/providers/llm/catalog-lookup.d.ts +10 -0
  183. package/dist/providers/llm/catalog-lookup.js +15 -0
  184. package/dist/providers/llm/catalog-shipped.d.ts +18 -0
  185. package/dist/providers/llm/catalog-shipped.js +197 -0
  186. package/dist/providers/llm/catalog-store.d.ts +58 -0
  187. package/dist/providers/llm/catalog-store.js +138 -0
  188. package/dist/providers/llm/catalog-types.d.ts +66 -0
  189. package/dist/providers/llm/catalog-types.js +64 -0
  190. package/dist/providers/llm/catalog.d.ts +61 -0
  191. package/dist/providers/llm/catalog.js +147 -0
  192. package/dist/providers/llm/claude-provider.d.ts +10 -14
  193. package/dist/providers/llm/claude-provider.js +11 -6
  194. package/dist/providers/llm/index.d.ts +9 -6
  195. package/dist/providers/llm/index.js +8 -5
  196. package/dist/providers/llm/openai.d.ts +14 -5
  197. package/dist/providers/llm/openai.js +24 -14
  198. package/dist/providers/llm/pricing-core.d.ts +5 -3
  199. package/dist/providers/llm/registration.js +8 -12
  200. package/dist/providers/llm/routing.d.ts +18 -17
  201. package/dist/providers/llm/routing.js +40 -24
  202. package/dist/providers/review-host/github-events.js +47 -1
  203. package/dist/providers/review-host/github.js +7 -6
  204. package/dist/providers/review-host/types.d.ts +25 -0
  205. package/dist/providers/vcs/git.js +2 -22
  206. package/dist/providers/vcs/github.d.ts +20 -0
  207. package/dist/providers/vcs/github.js +28 -2
  208. package/dist/providers/vcs/types.d.ts +6 -0
  209. package/dist/quickstart/index.d.ts +8 -0
  210. package/dist/quickstart/index.js +34 -34
  211. package/dist/serve.js +8 -2
  212. package/dist/viewer/api-schema.d.ts +2757 -0
  213. package/dist/viewer/api-schema.js +165 -0
  214. package/dist/viewer/build-schemas.d.ts +2 -0
  215. package/dist/viewer/build-schemas.js +18 -0
  216. package/dist/viewer/event-bus.d.ts +38 -0
  217. package/dist/viewer/event-bus.js +232 -0
  218. package/dist/viewer/graph.d.ts +40 -0
  219. package/dist/viewer/graph.js +243 -0
  220. package/dist/viewer/http.d.ts +30 -0
  221. package/dist/viewer/http.js +133 -0
  222. package/dist/viewer/run-detail.d.ts +4 -0
  223. package/dist/viewer/run-detail.js +61 -0
  224. package/dist/wardby-bin.js +5 -0
  225. package/docs/README.md +10 -0
  226. package/docs/agent-recipes.md +383 -0
  227. package/docs/code-review-agents.md +29 -2
  228. package/docs/coding-agent-setup.md +3 -0
  229. package/docs/coding-worker-isolation.md +39 -5
  230. package/docs/getting-started-gke.md +28 -11
  231. package/docs/getting-started-identity-provider.md +49 -38
  232. package/docs/getting-started.md +14 -0
  233. package/docs/jira-agents.md +649 -0
  234. package/docs/knowledge.md +387 -0
  235. package/docs/models.md +221 -0
  236. package/docs/security-deployment.md +19 -9
  237. package/docs/viewer-api.md +142 -0
  238. package/help/admin-viewer.md +39 -0
  239. package/help/agent-recipes.md +173 -0
  240. package/help/architecture-agent.md +189 -0
  241. package/help/builder-agent.md +80 -0
  242. package/help/code-review-agents.md +6 -0
  243. package/help/cost-attribution.md +67 -0
  244. package/help/creating-agents.md +22 -0
  245. package/help/deploy-gke.md +6 -0
  246. package/help/errors/model-unavailable.md +63 -0
  247. package/help/getting-started.md +1 -0
  248. package/help/github.md +18 -0
  249. package/help/identity-and-access.md +8 -3
  250. package/help/jira.md +135 -0
  251. package/help/knowledge.md +47 -0
  252. package/help/models.md +90 -0
  253. package/help/operating-agents.md +7 -1
  254. package/help/troubleshooting/budgets.md +6 -0
  255. package/package.json +5 -2
  256. package/prisma/migrations/20260930000000_jira_issue_projects/migration.sql +34 -0
  257. package/prisma/migrations/20261001000000_jira_phase2_allowlists/migration.sql +3 -0
  258. package/prisma/migrations/20261001010000_jira_link_types_allowlist/migration.sql +2 -0
  259. package/prisma/migrations/20261002000000_jira_coding_bridge/migration.sql +28 -0
  260. package/prisma/migrations/20261002010000_jira_issue_creation/migration.sql +25 -0
  261. package/prisma/migrations/20261003000000_issue_cost_attribution/migration.sql +56 -0
  262. package/prisma/migrations/20261003010000_coding_run_service_status/migration.sql +23 -0
  263. package/prisma/migrations/20261003020000_viewer_notify/migration.sql +54 -0
  264. package/prisma/migrations/20261003030000_viewer_notify_fixes/migration.sql +47 -0
  265. package/prisma/migrations/20261003040000_viewer_indexes/migration.sql +12 -0
  266. package/prisma/migrations/20261004000000_model_catalog/migration.sql +26 -0
  267. package/prisma/schema.prisma +258 -2
  268. package/dist/mcp/tools/models.d.ts +0 -8
  269. package/dist/mcp/tools/models.js +0 -15
  270. package/dist/providers/llm/pricing-anthropic.d.ts +0 -14
  271. package/dist/providers/llm/pricing-anthropic.js +0 -48
  272. package/dist/providers/llm/pricing-bedrock-claude.d.ts +0 -20
  273. package/dist/providers/llm/pricing-bedrock-claude.js +0 -46
  274. package/dist/providers/llm/pricing.d.ts +0 -30
  275. package/dist/providers/llm/pricing.js +0 -74
@@ -0,0 +1,1838 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model AgentIssueProject
5
+ * Which issue-tracker projects (Jira today) a native agent may act on, and
6
+ * which issue events trigger it. Admin-approved in phase 1 (no way to verify
7
+ * an owner's Jira access). See
8
+ * docs/private/2026-09-30-jira-issue-tracker-design.md §3.
9
+ */
10
+ export type AgentIssueProjectModel = runtime.Types.Result.DefaultSelection<Prisma.$AgentIssueProjectPayload>;
11
+ export type AggregateAgentIssueProject = {
12
+ _count: AgentIssueProjectCountAggregateOutputType | null;
13
+ _avg: AgentIssueProjectAvgAggregateOutputType | null;
14
+ _sum: AgentIssueProjectSumAggregateOutputType | null;
15
+ _min: AgentIssueProjectMinAggregateOutputType | null;
16
+ _max: AgentIssueProjectMaxAggregateOutputType | null;
17
+ };
18
+ export type AgentIssueProjectAvgAggregateOutputType = {
19
+ maxNewIssuesPerRun: number | null;
20
+ };
21
+ export type AgentIssueProjectSumAggregateOutputType = {
22
+ maxNewIssuesPerRun: number | null;
23
+ };
24
+ export type AgentIssueProjectMinAggregateOutputType = {
25
+ id: string | null;
26
+ agentId: string | null;
27
+ provider: string | null;
28
+ projectKey: string | null;
29
+ access: string | null;
30
+ jqlFilter: string | null;
31
+ commentVisibilityRole: string | null;
32
+ onPullRequestOpened: string | null;
33
+ onPullRequestMerged: string | null;
34
+ maxNewIssuesPerRun: number | null;
35
+ authorizedById: string | null;
36
+ authorizedAt: Date | null;
37
+ createdAt: Date | null;
38
+ };
39
+ export type AgentIssueProjectMaxAggregateOutputType = {
40
+ id: string | null;
41
+ agentId: string | null;
42
+ provider: string | null;
43
+ projectKey: string | null;
44
+ access: string | null;
45
+ jqlFilter: string | null;
46
+ commentVisibilityRole: string | null;
47
+ onPullRequestOpened: string | null;
48
+ onPullRequestMerged: string | null;
49
+ maxNewIssuesPerRun: number | null;
50
+ authorizedById: string | null;
51
+ authorizedAt: Date | null;
52
+ createdAt: Date | null;
53
+ };
54
+ export type AgentIssueProjectCountAggregateOutputType = {
55
+ id: number;
56
+ agentId: number;
57
+ provider: number;
58
+ projectKey: number;
59
+ access: number;
60
+ triggers: number;
61
+ triggerStatuses: number;
62
+ triggerLabels: number;
63
+ jqlFilter: number;
64
+ trustedAccountIds: number;
65
+ commentVisibilityRole: number;
66
+ allowedTransitions: number;
67
+ writableFields: number;
68
+ allowedLinkTypes: number;
69
+ onPullRequestOpened: number;
70
+ onPullRequestMerged: number;
71
+ creatableIssueTypes: number;
72
+ maxNewIssuesPerRun: number;
73
+ authorizedById: number;
74
+ authorizedAt: number;
75
+ createdAt: number;
76
+ _all: number;
77
+ };
78
+ export type AgentIssueProjectAvgAggregateInputType = {
79
+ maxNewIssuesPerRun?: true;
80
+ };
81
+ export type AgentIssueProjectSumAggregateInputType = {
82
+ maxNewIssuesPerRun?: true;
83
+ };
84
+ export type AgentIssueProjectMinAggregateInputType = {
85
+ id?: true;
86
+ agentId?: true;
87
+ provider?: true;
88
+ projectKey?: true;
89
+ access?: true;
90
+ jqlFilter?: true;
91
+ commentVisibilityRole?: true;
92
+ onPullRequestOpened?: true;
93
+ onPullRequestMerged?: true;
94
+ maxNewIssuesPerRun?: true;
95
+ authorizedById?: true;
96
+ authorizedAt?: true;
97
+ createdAt?: true;
98
+ };
99
+ export type AgentIssueProjectMaxAggregateInputType = {
100
+ id?: true;
101
+ agentId?: true;
102
+ provider?: true;
103
+ projectKey?: true;
104
+ access?: true;
105
+ jqlFilter?: true;
106
+ commentVisibilityRole?: true;
107
+ onPullRequestOpened?: true;
108
+ onPullRequestMerged?: true;
109
+ maxNewIssuesPerRun?: true;
110
+ authorizedById?: true;
111
+ authorizedAt?: true;
112
+ createdAt?: true;
113
+ };
114
+ export type AgentIssueProjectCountAggregateInputType = {
115
+ id?: true;
116
+ agentId?: true;
117
+ provider?: true;
118
+ projectKey?: true;
119
+ access?: true;
120
+ triggers?: true;
121
+ triggerStatuses?: true;
122
+ triggerLabels?: true;
123
+ jqlFilter?: true;
124
+ trustedAccountIds?: true;
125
+ commentVisibilityRole?: true;
126
+ allowedTransitions?: true;
127
+ writableFields?: true;
128
+ allowedLinkTypes?: true;
129
+ onPullRequestOpened?: true;
130
+ onPullRequestMerged?: true;
131
+ creatableIssueTypes?: true;
132
+ maxNewIssuesPerRun?: true;
133
+ authorizedById?: true;
134
+ authorizedAt?: true;
135
+ createdAt?: true;
136
+ _all?: true;
137
+ };
138
+ export type AgentIssueProjectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
139
+ /**
140
+ * Filter which AgentIssueProject to aggregate.
141
+ */
142
+ where?: Prisma.AgentIssueProjectWhereInput;
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
145
+ *
146
+ * Determine the order of AgentIssueProjects to fetch.
147
+ */
148
+ orderBy?: Prisma.AgentIssueProjectOrderByWithRelationInput | Prisma.AgentIssueProjectOrderByWithRelationInput[];
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
151
+ *
152
+ * Sets the start position
153
+ */
154
+ cursor?: Prisma.AgentIssueProjectWhereUniqueInput;
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
157
+ *
158
+ * Take `±n` AgentIssueProjects from the position of the cursor.
159
+ */
160
+ take?: number;
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
163
+ *
164
+ * Skip the first `n` AgentIssueProjects.
165
+ */
166
+ skip?: number;
167
+ /**
168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
+ *
170
+ * Count returned AgentIssueProjects
171
+ **/
172
+ _count?: true | AgentIssueProjectCountAggregateInputType;
173
+ /**
174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
175
+ *
176
+ * Select which fields to average
177
+ **/
178
+ _avg?: AgentIssueProjectAvgAggregateInputType;
179
+ /**
180
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
181
+ *
182
+ * Select which fields to sum
183
+ **/
184
+ _sum?: AgentIssueProjectSumAggregateInputType;
185
+ /**
186
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
187
+ *
188
+ * Select which fields to find the minimum value
189
+ **/
190
+ _min?: AgentIssueProjectMinAggregateInputType;
191
+ /**
192
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
193
+ *
194
+ * Select which fields to find the maximum value
195
+ **/
196
+ _max?: AgentIssueProjectMaxAggregateInputType;
197
+ };
198
+ export type GetAgentIssueProjectAggregateType<T extends AgentIssueProjectAggregateArgs> = {
199
+ [P in keyof T & keyof AggregateAgentIssueProject]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAgentIssueProject[P]> : Prisma.GetScalarType<T[P], AggregateAgentIssueProject[P]>;
200
+ };
201
+ export type AgentIssueProjectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
202
+ where?: Prisma.AgentIssueProjectWhereInput;
203
+ orderBy?: Prisma.AgentIssueProjectOrderByWithAggregationInput | Prisma.AgentIssueProjectOrderByWithAggregationInput[];
204
+ by: Prisma.AgentIssueProjectScalarFieldEnum[] | Prisma.AgentIssueProjectScalarFieldEnum;
205
+ having?: Prisma.AgentIssueProjectScalarWhereWithAggregatesInput;
206
+ take?: number;
207
+ skip?: number;
208
+ _count?: AgentIssueProjectCountAggregateInputType | true;
209
+ _avg?: AgentIssueProjectAvgAggregateInputType;
210
+ _sum?: AgentIssueProjectSumAggregateInputType;
211
+ _min?: AgentIssueProjectMinAggregateInputType;
212
+ _max?: AgentIssueProjectMaxAggregateInputType;
213
+ };
214
+ export type AgentIssueProjectGroupByOutputType = {
215
+ id: string;
216
+ agentId: string;
217
+ provider: string;
218
+ projectKey: string;
219
+ access: string;
220
+ triggers: string[];
221
+ triggerStatuses: string[];
222
+ triggerLabels: string[];
223
+ jqlFilter: string | null;
224
+ trustedAccountIds: string[];
225
+ commentVisibilityRole: string | null;
226
+ allowedTransitions: string[];
227
+ writableFields: string[];
228
+ allowedLinkTypes: string[];
229
+ onPullRequestOpened: string | null;
230
+ onPullRequestMerged: string | null;
231
+ creatableIssueTypes: string[];
232
+ maxNewIssuesPerRun: number | null;
233
+ authorizedById: string;
234
+ authorizedAt: Date;
235
+ createdAt: Date;
236
+ _count: AgentIssueProjectCountAggregateOutputType | null;
237
+ _avg: AgentIssueProjectAvgAggregateOutputType | null;
238
+ _sum: AgentIssueProjectSumAggregateOutputType | null;
239
+ _min: AgentIssueProjectMinAggregateOutputType | null;
240
+ _max: AgentIssueProjectMaxAggregateOutputType | null;
241
+ };
242
+ export type GetAgentIssueProjectGroupByPayload<T extends AgentIssueProjectGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AgentIssueProjectGroupByOutputType, T['by']> & {
243
+ [P in ((keyof T) & (keyof AgentIssueProjectGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AgentIssueProjectGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AgentIssueProjectGroupByOutputType[P]>;
244
+ }>>;
245
+ export type AgentIssueProjectWhereInput = {
246
+ AND?: Prisma.AgentIssueProjectWhereInput | Prisma.AgentIssueProjectWhereInput[];
247
+ OR?: Prisma.AgentIssueProjectWhereInput[];
248
+ NOT?: Prisma.AgentIssueProjectWhereInput | Prisma.AgentIssueProjectWhereInput[];
249
+ id?: Prisma.StringFilter<"AgentIssueProject"> | string;
250
+ agentId?: Prisma.StringFilter<"AgentIssueProject"> | string;
251
+ provider?: Prisma.StringFilter<"AgentIssueProject"> | string;
252
+ projectKey?: Prisma.StringFilter<"AgentIssueProject"> | string;
253
+ access?: Prisma.StringFilter<"AgentIssueProject"> | string;
254
+ triggers?: Prisma.StringNullableListFilter<"AgentIssueProject">;
255
+ triggerStatuses?: Prisma.StringNullableListFilter<"AgentIssueProject">;
256
+ triggerLabels?: Prisma.StringNullableListFilter<"AgentIssueProject">;
257
+ jqlFilter?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
258
+ trustedAccountIds?: Prisma.StringNullableListFilter<"AgentIssueProject">;
259
+ commentVisibilityRole?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
260
+ allowedTransitions?: Prisma.StringNullableListFilter<"AgentIssueProject">;
261
+ writableFields?: Prisma.StringNullableListFilter<"AgentIssueProject">;
262
+ allowedLinkTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
263
+ onPullRequestOpened?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
264
+ onPullRequestMerged?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
265
+ creatableIssueTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
266
+ maxNewIssuesPerRun?: Prisma.IntNullableFilter<"AgentIssueProject"> | number | null;
267
+ authorizedById?: Prisma.StringFilter<"AgentIssueProject"> | string;
268
+ authorizedAt?: Prisma.DateTimeFilter<"AgentIssueProject"> | Date | string;
269
+ createdAt?: Prisma.DateTimeFilter<"AgentIssueProject"> | Date | string;
270
+ agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
271
+ };
272
+ export type AgentIssueProjectOrderByWithRelationInput = {
273
+ id?: Prisma.SortOrder;
274
+ agentId?: Prisma.SortOrder;
275
+ provider?: Prisma.SortOrder;
276
+ projectKey?: Prisma.SortOrder;
277
+ access?: Prisma.SortOrder;
278
+ triggers?: Prisma.SortOrder;
279
+ triggerStatuses?: Prisma.SortOrder;
280
+ triggerLabels?: Prisma.SortOrder;
281
+ jqlFilter?: Prisma.SortOrderInput | Prisma.SortOrder;
282
+ trustedAccountIds?: Prisma.SortOrder;
283
+ commentVisibilityRole?: Prisma.SortOrderInput | Prisma.SortOrder;
284
+ allowedTransitions?: Prisma.SortOrder;
285
+ writableFields?: Prisma.SortOrder;
286
+ allowedLinkTypes?: Prisma.SortOrder;
287
+ onPullRequestOpened?: Prisma.SortOrderInput | Prisma.SortOrder;
288
+ onPullRequestMerged?: Prisma.SortOrderInput | Prisma.SortOrder;
289
+ creatableIssueTypes?: Prisma.SortOrder;
290
+ maxNewIssuesPerRun?: Prisma.SortOrderInput | Prisma.SortOrder;
291
+ authorizedById?: Prisma.SortOrder;
292
+ authorizedAt?: Prisma.SortOrder;
293
+ createdAt?: Prisma.SortOrder;
294
+ agent?: Prisma.AgentOrderByWithRelationInput;
295
+ };
296
+ export type AgentIssueProjectWhereUniqueInput = Prisma.AtLeast<{
297
+ id?: string;
298
+ agentId_provider_projectKey?: Prisma.AgentIssueProjectAgentIdProviderProjectKeyCompoundUniqueInput;
299
+ AND?: Prisma.AgentIssueProjectWhereInput | Prisma.AgentIssueProjectWhereInput[];
300
+ OR?: Prisma.AgentIssueProjectWhereInput[];
301
+ NOT?: Prisma.AgentIssueProjectWhereInput | Prisma.AgentIssueProjectWhereInput[];
302
+ agentId?: Prisma.StringFilter<"AgentIssueProject"> | string;
303
+ provider?: Prisma.StringFilter<"AgentIssueProject"> | string;
304
+ projectKey?: Prisma.StringFilter<"AgentIssueProject"> | string;
305
+ access?: Prisma.StringFilter<"AgentIssueProject"> | string;
306
+ triggers?: Prisma.StringNullableListFilter<"AgentIssueProject">;
307
+ triggerStatuses?: Prisma.StringNullableListFilter<"AgentIssueProject">;
308
+ triggerLabels?: Prisma.StringNullableListFilter<"AgentIssueProject">;
309
+ jqlFilter?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
310
+ trustedAccountIds?: Prisma.StringNullableListFilter<"AgentIssueProject">;
311
+ commentVisibilityRole?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
312
+ allowedTransitions?: Prisma.StringNullableListFilter<"AgentIssueProject">;
313
+ writableFields?: Prisma.StringNullableListFilter<"AgentIssueProject">;
314
+ allowedLinkTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
315
+ onPullRequestOpened?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
316
+ onPullRequestMerged?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
317
+ creatableIssueTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
318
+ maxNewIssuesPerRun?: Prisma.IntNullableFilter<"AgentIssueProject"> | number | null;
319
+ authorizedById?: Prisma.StringFilter<"AgentIssueProject"> | string;
320
+ authorizedAt?: Prisma.DateTimeFilter<"AgentIssueProject"> | Date | string;
321
+ createdAt?: Prisma.DateTimeFilter<"AgentIssueProject"> | Date | string;
322
+ agent?: Prisma.XOR<Prisma.AgentScalarRelationFilter, Prisma.AgentWhereInput>;
323
+ }, "id" | "agentId_provider_projectKey">;
324
+ export type AgentIssueProjectOrderByWithAggregationInput = {
325
+ id?: Prisma.SortOrder;
326
+ agentId?: Prisma.SortOrder;
327
+ provider?: Prisma.SortOrder;
328
+ projectKey?: Prisma.SortOrder;
329
+ access?: Prisma.SortOrder;
330
+ triggers?: Prisma.SortOrder;
331
+ triggerStatuses?: Prisma.SortOrder;
332
+ triggerLabels?: Prisma.SortOrder;
333
+ jqlFilter?: Prisma.SortOrderInput | Prisma.SortOrder;
334
+ trustedAccountIds?: Prisma.SortOrder;
335
+ commentVisibilityRole?: Prisma.SortOrderInput | Prisma.SortOrder;
336
+ allowedTransitions?: Prisma.SortOrder;
337
+ writableFields?: Prisma.SortOrder;
338
+ allowedLinkTypes?: Prisma.SortOrder;
339
+ onPullRequestOpened?: Prisma.SortOrderInput | Prisma.SortOrder;
340
+ onPullRequestMerged?: Prisma.SortOrderInput | Prisma.SortOrder;
341
+ creatableIssueTypes?: Prisma.SortOrder;
342
+ maxNewIssuesPerRun?: Prisma.SortOrderInput | Prisma.SortOrder;
343
+ authorizedById?: Prisma.SortOrder;
344
+ authorizedAt?: Prisma.SortOrder;
345
+ createdAt?: Prisma.SortOrder;
346
+ _count?: Prisma.AgentIssueProjectCountOrderByAggregateInput;
347
+ _avg?: Prisma.AgentIssueProjectAvgOrderByAggregateInput;
348
+ _max?: Prisma.AgentIssueProjectMaxOrderByAggregateInput;
349
+ _min?: Prisma.AgentIssueProjectMinOrderByAggregateInput;
350
+ _sum?: Prisma.AgentIssueProjectSumOrderByAggregateInput;
351
+ };
352
+ export type AgentIssueProjectScalarWhereWithAggregatesInput = {
353
+ AND?: Prisma.AgentIssueProjectScalarWhereWithAggregatesInput | Prisma.AgentIssueProjectScalarWhereWithAggregatesInput[];
354
+ OR?: Prisma.AgentIssueProjectScalarWhereWithAggregatesInput[];
355
+ NOT?: Prisma.AgentIssueProjectScalarWhereWithAggregatesInput | Prisma.AgentIssueProjectScalarWhereWithAggregatesInput[];
356
+ id?: Prisma.StringWithAggregatesFilter<"AgentIssueProject"> | string;
357
+ agentId?: Prisma.StringWithAggregatesFilter<"AgentIssueProject"> | string;
358
+ provider?: Prisma.StringWithAggregatesFilter<"AgentIssueProject"> | string;
359
+ projectKey?: Prisma.StringWithAggregatesFilter<"AgentIssueProject"> | string;
360
+ access?: Prisma.StringWithAggregatesFilter<"AgentIssueProject"> | string;
361
+ triggers?: Prisma.StringNullableListFilter<"AgentIssueProject">;
362
+ triggerStatuses?: Prisma.StringNullableListFilter<"AgentIssueProject">;
363
+ triggerLabels?: Prisma.StringNullableListFilter<"AgentIssueProject">;
364
+ jqlFilter?: Prisma.StringNullableWithAggregatesFilter<"AgentIssueProject"> | string | null;
365
+ trustedAccountIds?: Prisma.StringNullableListFilter<"AgentIssueProject">;
366
+ commentVisibilityRole?: Prisma.StringNullableWithAggregatesFilter<"AgentIssueProject"> | string | null;
367
+ allowedTransitions?: Prisma.StringNullableListFilter<"AgentIssueProject">;
368
+ writableFields?: Prisma.StringNullableListFilter<"AgentIssueProject">;
369
+ allowedLinkTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
370
+ onPullRequestOpened?: Prisma.StringNullableWithAggregatesFilter<"AgentIssueProject"> | string | null;
371
+ onPullRequestMerged?: Prisma.StringNullableWithAggregatesFilter<"AgentIssueProject"> | string | null;
372
+ creatableIssueTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
373
+ maxNewIssuesPerRun?: Prisma.IntNullableWithAggregatesFilter<"AgentIssueProject"> | number | null;
374
+ authorizedById?: Prisma.StringWithAggregatesFilter<"AgentIssueProject"> | string;
375
+ authorizedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentIssueProject"> | Date | string;
376
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentIssueProject"> | Date | string;
377
+ };
378
+ export type AgentIssueProjectCreateInput = {
379
+ id?: string;
380
+ provider: string;
381
+ projectKey: string;
382
+ access: string;
383
+ triggers?: Prisma.AgentIssueProjectCreatetriggersInput | string[];
384
+ triggerStatuses?: Prisma.AgentIssueProjectCreatetriggerStatusesInput | string[];
385
+ triggerLabels?: Prisma.AgentIssueProjectCreatetriggerLabelsInput | string[];
386
+ jqlFilter?: string | null;
387
+ trustedAccountIds?: Prisma.AgentIssueProjectCreatetrustedAccountIdsInput | string[];
388
+ commentVisibilityRole?: string | null;
389
+ allowedTransitions?: Prisma.AgentIssueProjectCreateallowedTransitionsInput | string[];
390
+ writableFields?: Prisma.AgentIssueProjectCreatewritableFieldsInput | string[];
391
+ allowedLinkTypes?: Prisma.AgentIssueProjectCreateallowedLinkTypesInput | string[];
392
+ onPullRequestOpened?: string | null;
393
+ onPullRequestMerged?: string | null;
394
+ creatableIssueTypes?: Prisma.AgentIssueProjectCreatecreatableIssueTypesInput | string[];
395
+ maxNewIssuesPerRun?: number | null;
396
+ authorizedById: string;
397
+ authorizedAt?: Date | string;
398
+ createdAt?: Date | string;
399
+ agent: Prisma.AgentCreateNestedOneWithoutIssueProjectsInput;
400
+ };
401
+ export type AgentIssueProjectUncheckedCreateInput = {
402
+ id?: string;
403
+ agentId: string;
404
+ provider: string;
405
+ projectKey: string;
406
+ access: string;
407
+ triggers?: Prisma.AgentIssueProjectCreatetriggersInput | string[];
408
+ triggerStatuses?: Prisma.AgentIssueProjectCreatetriggerStatusesInput | string[];
409
+ triggerLabels?: Prisma.AgentIssueProjectCreatetriggerLabelsInput | string[];
410
+ jqlFilter?: string | null;
411
+ trustedAccountIds?: Prisma.AgentIssueProjectCreatetrustedAccountIdsInput | string[];
412
+ commentVisibilityRole?: string | null;
413
+ allowedTransitions?: Prisma.AgentIssueProjectCreateallowedTransitionsInput | string[];
414
+ writableFields?: Prisma.AgentIssueProjectCreatewritableFieldsInput | string[];
415
+ allowedLinkTypes?: Prisma.AgentIssueProjectCreateallowedLinkTypesInput | string[];
416
+ onPullRequestOpened?: string | null;
417
+ onPullRequestMerged?: string | null;
418
+ creatableIssueTypes?: Prisma.AgentIssueProjectCreatecreatableIssueTypesInput | string[];
419
+ maxNewIssuesPerRun?: number | null;
420
+ authorizedById: string;
421
+ authorizedAt?: Date | string;
422
+ createdAt?: Date | string;
423
+ };
424
+ export type AgentIssueProjectUpdateInput = {
425
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
426
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
427
+ projectKey?: Prisma.StringFieldUpdateOperationsInput | string;
428
+ access?: Prisma.StringFieldUpdateOperationsInput | string;
429
+ triggers?: Prisma.AgentIssueProjectUpdatetriggersInput | string[];
430
+ triggerStatuses?: Prisma.AgentIssueProjectUpdatetriggerStatusesInput | string[];
431
+ triggerLabels?: Prisma.AgentIssueProjectUpdatetriggerLabelsInput | string[];
432
+ jqlFilter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
433
+ trustedAccountIds?: Prisma.AgentIssueProjectUpdatetrustedAccountIdsInput | string[];
434
+ commentVisibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
435
+ allowedTransitions?: Prisma.AgentIssueProjectUpdateallowedTransitionsInput | string[];
436
+ writableFields?: Prisma.AgentIssueProjectUpdatewritableFieldsInput | string[];
437
+ allowedLinkTypes?: Prisma.AgentIssueProjectUpdateallowedLinkTypesInput | string[];
438
+ onPullRequestOpened?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
439
+ onPullRequestMerged?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
440
+ creatableIssueTypes?: Prisma.AgentIssueProjectUpdatecreatableIssueTypesInput | string[];
441
+ maxNewIssuesPerRun?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
442
+ authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
443
+ authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
444
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
445
+ agent?: Prisma.AgentUpdateOneRequiredWithoutIssueProjectsNestedInput;
446
+ };
447
+ export type AgentIssueProjectUncheckedUpdateInput = {
448
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
449
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string;
450
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
451
+ projectKey?: Prisma.StringFieldUpdateOperationsInput | string;
452
+ access?: Prisma.StringFieldUpdateOperationsInput | string;
453
+ triggers?: Prisma.AgentIssueProjectUpdatetriggersInput | string[];
454
+ triggerStatuses?: Prisma.AgentIssueProjectUpdatetriggerStatusesInput | string[];
455
+ triggerLabels?: Prisma.AgentIssueProjectUpdatetriggerLabelsInput | string[];
456
+ jqlFilter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
457
+ trustedAccountIds?: Prisma.AgentIssueProjectUpdatetrustedAccountIdsInput | string[];
458
+ commentVisibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
459
+ allowedTransitions?: Prisma.AgentIssueProjectUpdateallowedTransitionsInput | string[];
460
+ writableFields?: Prisma.AgentIssueProjectUpdatewritableFieldsInput | string[];
461
+ allowedLinkTypes?: Prisma.AgentIssueProjectUpdateallowedLinkTypesInput | string[];
462
+ onPullRequestOpened?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
463
+ onPullRequestMerged?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
464
+ creatableIssueTypes?: Prisma.AgentIssueProjectUpdatecreatableIssueTypesInput | string[];
465
+ maxNewIssuesPerRun?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
466
+ authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
467
+ authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
468
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
469
+ };
470
+ export type AgentIssueProjectCreateManyInput = {
471
+ id?: string;
472
+ agentId: string;
473
+ provider: string;
474
+ projectKey: string;
475
+ access: string;
476
+ triggers?: Prisma.AgentIssueProjectCreatetriggersInput | string[];
477
+ triggerStatuses?: Prisma.AgentIssueProjectCreatetriggerStatusesInput | string[];
478
+ triggerLabels?: Prisma.AgentIssueProjectCreatetriggerLabelsInput | string[];
479
+ jqlFilter?: string | null;
480
+ trustedAccountIds?: Prisma.AgentIssueProjectCreatetrustedAccountIdsInput | string[];
481
+ commentVisibilityRole?: string | null;
482
+ allowedTransitions?: Prisma.AgentIssueProjectCreateallowedTransitionsInput | string[];
483
+ writableFields?: Prisma.AgentIssueProjectCreatewritableFieldsInput | string[];
484
+ allowedLinkTypes?: Prisma.AgentIssueProjectCreateallowedLinkTypesInput | string[];
485
+ onPullRequestOpened?: string | null;
486
+ onPullRequestMerged?: string | null;
487
+ creatableIssueTypes?: Prisma.AgentIssueProjectCreatecreatableIssueTypesInput | string[];
488
+ maxNewIssuesPerRun?: number | null;
489
+ authorizedById: string;
490
+ authorizedAt?: Date | string;
491
+ createdAt?: Date | string;
492
+ };
493
+ export type AgentIssueProjectUpdateManyMutationInput = {
494
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
495
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
496
+ projectKey?: Prisma.StringFieldUpdateOperationsInput | string;
497
+ access?: Prisma.StringFieldUpdateOperationsInput | string;
498
+ triggers?: Prisma.AgentIssueProjectUpdatetriggersInput | string[];
499
+ triggerStatuses?: Prisma.AgentIssueProjectUpdatetriggerStatusesInput | string[];
500
+ triggerLabels?: Prisma.AgentIssueProjectUpdatetriggerLabelsInput | string[];
501
+ jqlFilter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
502
+ trustedAccountIds?: Prisma.AgentIssueProjectUpdatetrustedAccountIdsInput | string[];
503
+ commentVisibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
504
+ allowedTransitions?: Prisma.AgentIssueProjectUpdateallowedTransitionsInput | string[];
505
+ writableFields?: Prisma.AgentIssueProjectUpdatewritableFieldsInput | string[];
506
+ allowedLinkTypes?: Prisma.AgentIssueProjectUpdateallowedLinkTypesInput | string[];
507
+ onPullRequestOpened?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
508
+ onPullRequestMerged?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
509
+ creatableIssueTypes?: Prisma.AgentIssueProjectUpdatecreatableIssueTypesInput | string[];
510
+ maxNewIssuesPerRun?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
511
+ authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
512
+ authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
513
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
514
+ };
515
+ export type AgentIssueProjectUncheckedUpdateManyInput = {
516
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
517
+ agentId?: Prisma.StringFieldUpdateOperationsInput | string;
518
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
519
+ projectKey?: Prisma.StringFieldUpdateOperationsInput | string;
520
+ access?: Prisma.StringFieldUpdateOperationsInput | string;
521
+ triggers?: Prisma.AgentIssueProjectUpdatetriggersInput | string[];
522
+ triggerStatuses?: Prisma.AgentIssueProjectUpdatetriggerStatusesInput | string[];
523
+ triggerLabels?: Prisma.AgentIssueProjectUpdatetriggerLabelsInput | string[];
524
+ jqlFilter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
525
+ trustedAccountIds?: Prisma.AgentIssueProjectUpdatetrustedAccountIdsInput | string[];
526
+ commentVisibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
527
+ allowedTransitions?: Prisma.AgentIssueProjectUpdateallowedTransitionsInput | string[];
528
+ writableFields?: Prisma.AgentIssueProjectUpdatewritableFieldsInput | string[];
529
+ allowedLinkTypes?: Prisma.AgentIssueProjectUpdateallowedLinkTypesInput | string[];
530
+ onPullRequestOpened?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
531
+ onPullRequestMerged?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
532
+ creatableIssueTypes?: Prisma.AgentIssueProjectUpdatecreatableIssueTypesInput | string[];
533
+ maxNewIssuesPerRun?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
534
+ authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
535
+ authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
536
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
537
+ };
538
+ export type AgentIssueProjectListRelationFilter = {
539
+ every?: Prisma.AgentIssueProjectWhereInput;
540
+ some?: Prisma.AgentIssueProjectWhereInput;
541
+ none?: Prisma.AgentIssueProjectWhereInput;
542
+ };
543
+ export type AgentIssueProjectOrderByRelationAggregateInput = {
544
+ _count?: Prisma.SortOrder;
545
+ };
546
+ export type AgentIssueProjectAgentIdProviderProjectKeyCompoundUniqueInput = {
547
+ agentId: string;
548
+ provider: string;
549
+ projectKey: string;
550
+ };
551
+ export type AgentIssueProjectCountOrderByAggregateInput = {
552
+ id?: Prisma.SortOrder;
553
+ agentId?: Prisma.SortOrder;
554
+ provider?: Prisma.SortOrder;
555
+ projectKey?: Prisma.SortOrder;
556
+ access?: Prisma.SortOrder;
557
+ triggers?: Prisma.SortOrder;
558
+ triggerStatuses?: Prisma.SortOrder;
559
+ triggerLabels?: Prisma.SortOrder;
560
+ jqlFilter?: Prisma.SortOrder;
561
+ trustedAccountIds?: Prisma.SortOrder;
562
+ commentVisibilityRole?: Prisma.SortOrder;
563
+ allowedTransitions?: Prisma.SortOrder;
564
+ writableFields?: Prisma.SortOrder;
565
+ allowedLinkTypes?: Prisma.SortOrder;
566
+ onPullRequestOpened?: Prisma.SortOrder;
567
+ onPullRequestMerged?: Prisma.SortOrder;
568
+ creatableIssueTypes?: Prisma.SortOrder;
569
+ maxNewIssuesPerRun?: Prisma.SortOrder;
570
+ authorizedById?: Prisma.SortOrder;
571
+ authorizedAt?: Prisma.SortOrder;
572
+ createdAt?: Prisma.SortOrder;
573
+ };
574
+ export type AgentIssueProjectAvgOrderByAggregateInput = {
575
+ maxNewIssuesPerRun?: Prisma.SortOrder;
576
+ };
577
+ export type AgentIssueProjectMaxOrderByAggregateInput = {
578
+ id?: Prisma.SortOrder;
579
+ agentId?: Prisma.SortOrder;
580
+ provider?: Prisma.SortOrder;
581
+ projectKey?: Prisma.SortOrder;
582
+ access?: Prisma.SortOrder;
583
+ jqlFilter?: Prisma.SortOrder;
584
+ commentVisibilityRole?: Prisma.SortOrder;
585
+ onPullRequestOpened?: Prisma.SortOrder;
586
+ onPullRequestMerged?: Prisma.SortOrder;
587
+ maxNewIssuesPerRun?: Prisma.SortOrder;
588
+ authorizedById?: Prisma.SortOrder;
589
+ authorizedAt?: Prisma.SortOrder;
590
+ createdAt?: Prisma.SortOrder;
591
+ };
592
+ export type AgentIssueProjectMinOrderByAggregateInput = {
593
+ id?: Prisma.SortOrder;
594
+ agentId?: Prisma.SortOrder;
595
+ provider?: Prisma.SortOrder;
596
+ projectKey?: Prisma.SortOrder;
597
+ access?: Prisma.SortOrder;
598
+ jqlFilter?: Prisma.SortOrder;
599
+ commentVisibilityRole?: Prisma.SortOrder;
600
+ onPullRequestOpened?: Prisma.SortOrder;
601
+ onPullRequestMerged?: Prisma.SortOrder;
602
+ maxNewIssuesPerRun?: Prisma.SortOrder;
603
+ authorizedById?: Prisma.SortOrder;
604
+ authorizedAt?: Prisma.SortOrder;
605
+ createdAt?: Prisma.SortOrder;
606
+ };
607
+ export type AgentIssueProjectSumOrderByAggregateInput = {
608
+ maxNewIssuesPerRun?: Prisma.SortOrder;
609
+ };
610
+ export type AgentIssueProjectCreateNestedManyWithoutAgentInput = {
611
+ create?: Prisma.XOR<Prisma.AgentIssueProjectCreateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput> | Prisma.AgentIssueProjectCreateWithoutAgentInput[] | Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput[];
612
+ connectOrCreate?: Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput | Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput[];
613
+ createMany?: Prisma.AgentIssueProjectCreateManyAgentInputEnvelope;
614
+ connect?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
615
+ };
616
+ export type AgentIssueProjectUncheckedCreateNestedManyWithoutAgentInput = {
617
+ create?: Prisma.XOR<Prisma.AgentIssueProjectCreateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput> | Prisma.AgentIssueProjectCreateWithoutAgentInput[] | Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput[];
618
+ connectOrCreate?: Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput | Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput[];
619
+ createMany?: Prisma.AgentIssueProjectCreateManyAgentInputEnvelope;
620
+ connect?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
621
+ };
622
+ export type AgentIssueProjectUpdateManyWithoutAgentNestedInput = {
623
+ create?: Prisma.XOR<Prisma.AgentIssueProjectCreateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput> | Prisma.AgentIssueProjectCreateWithoutAgentInput[] | Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput[];
624
+ connectOrCreate?: Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput | Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput[];
625
+ upsert?: Prisma.AgentIssueProjectUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentIssueProjectUpsertWithWhereUniqueWithoutAgentInput[];
626
+ createMany?: Prisma.AgentIssueProjectCreateManyAgentInputEnvelope;
627
+ set?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
628
+ disconnect?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
629
+ delete?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
630
+ connect?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
631
+ update?: Prisma.AgentIssueProjectUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentIssueProjectUpdateWithWhereUniqueWithoutAgentInput[];
632
+ updateMany?: Prisma.AgentIssueProjectUpdateManyWithWhereWithoutAgentInput | Prisma.AgentIssueProjectUpdateManyWithWhereWithoutAgentInput[];
633
+ deleteMany?: Prisma.AgentIssueProjectScalarWhereInput | Prisma.AgentIssueProjectScalarWhereInput[];
634
+ };
635
+ export type AgentIssueProjectUncheckedUpdateManyWithoutAgentNestedInput = {
636
+ create?: Prisma.XOR<Prisma.AgentIssueProjectCreateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput> | Prisma.AgentIssueProjectCreateWithoutAgentInput[] | Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput[];
637
+ connectOrCreate?: Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput | Prisma.AgentIssueProjectCreateOrConnectWithoutAgentInput[];
638
+ upsert?: Prisma.AgentIssueProjectUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentIssueProjectUpsertWithWhereUniqueWithoutAgentInput[];
639
+ createMany?: Prisma.AgentIssueProjectCreateManyAgentInputEnvelope;
640
+ set?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
641
+ disconnect?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
642
+ delete?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
643
+ connect?: Prisma.AgentIssueProjectWhereUniqueInput | Prisma.AgentIssueProjectWhereUniqueInput[];
644
+ update?: Prisma.AgentIssueProjectUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentIssueProjectUpdateWithWhereUniqueWithoutAgentInput[];
645
+ updateMany?: Prisma.AgentIssueProjectUpdateManyWithWhereWithoutAgentInput | Prisma.AgentIssueProjectUpdateManyWithWhereWithoutAgentInput[];
646
+ deleteMany?: Prisma.AgentIssueProjectScalarWhereInput | Prisma.AgentIssueProjectScalarWhereInput[];
647
+ };
648
+ export type AgentIssueProjectCreatetriggersInput = {
649
+ set: string[];
650
+ };
651
+ export type AgentIssueProjectCreatetriggerStatusesInput = {
652
+ set: string[];
653
+ };
654
+ export type AgentIssueProjectCreatetriggerLabelsInput = {
655
+ set: string[];
656
+ };
657
+ export type AgentIssueProjectCreatetrustedAccountIdsInput = {
658
+ set: string[];
659
+ };
660
+ export type AgentIssueProjectCreateallowedTransitionsInput = {
661
+ set: string[];
662
+ };
663
+ export type AgentIssueProjectCreatewritableFieldsInput = {
664
+ set: string[];
665
+ };
666
+ export type AgentIssueProjectCreateallowedLinkTypesInput = {
667
+ set: string[];
668
+ };
669
+ export type AgentIssueProjectCreatecreatableIssueTypesInput = {
670
+ set: string[];
671
+ };
672
+ export type AgentIssueProjectUpdatetriggersInput = {
673
+ set?: string[];
674
+ push?: string | string[];
675
+ };
676
+ export type AgentIssueProjectUpdatetriggerStatusesInput = {
677
+ set?: string[];
678
+ push?: string | string[];
679
+ };
680
+ export type AgentIssueProjectUpdatetriggerLabelsInput = {
681
+ set?: string[];
682
+ push?: string | string[];
683
+ };
684
+ export type AgentIssueProjectUpdatetrustedAccountIdsInput = {
685
+ set?: string[];
686
+ push?: string | string[];
687
+ };
688
+ export type AgentIssueProjectUpdateallowedTransitionsInput = {
689
+ set?: string[];
690
+ push?: string | string[];
691
+ };
692
+ export type AgentIssueProjectUpdatewritableFieldsInput = {
693
+ set?: string[];
694
+ push?: string | string[];
695
+ };
696
+ export type AgentIssueProjectUpdateallowedLinkTypesInput = {
697
+ set?: string[];
698
+ push?: string | string[];
699
+ };
700
+ export type AgentIssueProjectUpdatecreatableIssueTypesInput = {
701
+ set?: string[];
702
+ push?: string | string[];
703
+ };
704
+ export type AgentIssueProjectCreateWithoutAgentInput = {
705
+ id?: string;
706
+ provider: string;
707
+ projectKey: string;
708
+ access: string;
709
+ triggers?: Prisma.AgentIssueProjectCreatetriggersInput | string[];
710
+ triggerStatuses?: Prisma.AgentIssueProjectCreatetriggerStatusesInput | string[];
711
+ triggerLabels?: Prisma.AgentIssueProjectCreatetriggerLabelsInput | string[];
712
+ jqlFilter?: string | null;
713
+ trustedAccountIds?: Prisma.AgentIssueProjectCreatetrustedAccountIdsInput | string[];
714
+ commentVisibilityRole?: string | null;
715
+ allowedTransitions?: Prisma.AgentIssueProjectCreateallowedTransitionsInput | string[];
716
+ writableFields?: Prisma.AgentIssueProjectCreatewritableFieldsInput | string[];
717
+ allowedLinkTypes?: Prisma.AgentIssueProjectCreateallowedLinkTypesInput | string[];
718
+ onPullRequestOpened?: string | null;
719
+ onPullRequestMerged?: string | null;
720
+ creatableIssueTypes?: Prisma.AgentIssueProjectCreatecreatableIssueTypesInput | string[];
721
+ maxNewIssuesPerRun?: number | null;
722
+ authorizedById: string;
723
+ authorizedAt?: Date | string;
724
+ createdAt?: Date | string;
725
+ };
726
+ export type AgentIssueProjectUncheckedCreateWithoutAgentInput = {
727
+ id?: string;
728
+ provider: string;
729
+ projectKey: string;
730
+ access: string;
731
+ triggers?: Prisma.AgentIssueProjectCreatetriggersInput | string[];
732
+ triggerStatuses?: Prisma.AgentIssueProjectCreatetriggerStatusesInput | string[];
733
+ triggerLabels?: Prisma.AgentIssueProjectCreatetriggerLabelsInput | string[];
734
+ jqlFilter?: string | null;
735
+ trustedAccountIds?: Prisma.AgentIssueProjectCreatetrustedAccountIdsInput | string[];
736
+ commentVisibilityRole?: string | null;
737
+ allowedTransitions?: Prisma.AgentIssueProjectCreateallowedTransitionsInput | string[];
738
+ writableFields?: Prisma.AgentIssueProjectCreatewritableFieldsInput | string[];
739
+ allowedLinkTypes?: Prisma.AgentIssueProjectCreateallowedLinkTypesInput | string[];
740
+ onPullRequestOpened?: string | null;
741
+ onPullRequestMerged?: string | null;
742
+ creatableIssueTypes?: Prisma.AgentIssueProjectCreatecreatableIssueTypesInput | string[];
743
+ maxNewIssuesPerRun?: number | null;
744
+ authorizedById: string;
745
+ authorizedAt?: Date | string;
746
+ createdAt?: Date | string;
747
+ };
748
+ export type AgentIssueProjectCreateOrConnectWithoutAgentInput = {
749
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
750
+ create: Prisma.XOR<Prisma.AgentIssueProjectCreateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput>;
751
+ };
752
+ export type AgentIssueProjectCreateManyAgentInputEnvelope = {
753
+ data: Prisma.AgentIssueProjectCreateManyAgentInput | Prisma.AgentIssueProjectCreateManyAgentInput[];
754
+ skipDuplicates?: boolean;
755
+ };
756
+ export type AgentIssueProjectUpsertWithWhereUniqueWithoutAgentInput = {
757
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
758
+ update: Prisma.XOR<Prisma.AgentIssueProjectUpdateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedUpdateWithoutAgentInput>;
759
+ create: Prisma.XOR<Prisma.AgentIssueProjectCreateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedCreateWithoutAgentInput>;
760
+ };
761
+ export type AgentIssueProjectUpdateWithWhereUniqueWithoutAgentInput = {
762
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
763
+ data: Prisma.XOR<Prisma.AgentIssueProjectUpdateWithoutAgentInput, Prisma.AgentIssueProjectUncheckedUpdateWithoutAgentInput>;
764
+ };
765
+ export type AgentIssueProjectUpdateManyWithWhereWithoutAgentInput = {
766
+ where: Prisma.AgentIssueProjectScalarWhereInput;
767
+ data: Prisma.XOR<Prisma.AgentIssueProjectUpdateManyMutationInput, Prisma.AgentIssueProjectUncheckedUpdateManyWithoutAgentInput>;
768
+ };
769
+ export type AgentIssueProjectScalarWhereInput = {
770
+ AND?: Prisma.AgentIssueProjectScalarWhereInput | Prisma.AgentIssueProjectScalarWhereInput[];
771
+ OR?: Prisma.AgentIssueProjectScalarWhereInput[];
772
+ NOT?: Prisma.AgentIssueProjectScalarWhereInput | Prisma.AgentIssueProjectScalarWhereInput[];
773
+ id?: Prisma.StringFilter<"AgentIssueProject"> | string;
774
+ agentId?: Prisma.StringFilter<"AgentIssueProject"> | string;
775
+ provider?: Prisma.StringFilter<"AgentIssueProject"> | string;
776
+ projectKey?: Prisma.StringFilter<"AgentIssueProject"> | string;
777
+ access?: Prisma.StringFilter<"AgentIssueProject"> | string;
778
+ triggers?: Prisma.StringNullableListFilter<"AgentIssueProject">;
779
+ triggerStatuses?: Prisma.StringNullableListFilter<"AgentIssueProject">;
780
+ triggerLabels?: Prisma.StringNullableListFilter<"AgentIssueProject">;
781
+ jqlFilter?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
782
+ trustedAccountIds?: Prisma.StringNullableListFilter<"AgentIssueProject">;
783
+ commentVisibilityRole?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
784
+ allowedTransitions?: Prisma.StringNullableListFilter<"AgentIssueProject">;
785
+ writableFields?: Prisma.StringNullableListFilter<"AgentIssueProject">;
786
+ allowedLinkTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
787
+ onPullRequestOpened?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
788
+ onPullRequestMerged?: Prisma.StringNullableFilter<"AgentIssueProject"> | string | null;
789
+ creatableIssueTypes?: Prisma.StringNullableListFilter<"AgentIssueProject">;
790
+ maxNewIssuesPerRun?: Prisma.IntNullableFilter<"AgentIssueProject"> | number | null;
791
+ authorizedById?: Prisma.StringFilter<"AgentIssueProject"> | string;
792
+ authorizedAt?: Prisma.DateTimeFilter<"AgentIssueProject"> | Date | string;
793
+ createdAt?: Prisma.DateTimeFilter<"AgentIssueProject"> | Date | string;
794
+ };
795
+ export type AgentIssueProjectCreateManyAgentInput = {
796
+ id?: string;
797
+ provider: string;
798
+ projectKey: string;
799
+ access: string;
800
+ triggers?: Prisma.AgentIssueProjectCreatetriggersInput | string[];
801
+ triggerStatuses?: Prisma.AgentIssueProjectCreatetriggerStatusesInput | string[];
802
+ triggerLabels?: Prisma.AgentIssueProjectCreatetriggerLabelsInput | string[];
803
+ jqlFilter?: string | null;
804
+ trustedAccountIds?: Prisma.AgentIssueProjectCreatetrustedAccountIdsInput | string[];
805
+ commentVisibilityRole?: string | null;
806
+ allowedTransitions?: Prisma.AgentIssueProjectCreateallowedTransitionsInput | string[];
807
+ writableFields?: Prisma.AgentIssueProjectCreatewritableFieldsInput | string[];
808
+ allowedLinkTypes?: Prisma.AgentIssueProjectCreateallowedLinkTypesInput | string[];
809
+ onPullRequestOpened?: string | null;
810
+ onPullRequestMerged?: string | null;
811
+ creatableIssueTypes?: Prisma.AgentIssueProjectCreatecreatableIssueTypesInput | string[];
812
+ maxNewIssuesPerRun?: number | null;
813
+ authorizedById: string;
814
+ authorizedAt?: Date | string;
815
+ createdAt?: Date | string;
816
+ };
817
+ export type AgentIssueProjectUpdateWithoutAgentInput = {
818
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
819
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
820
+ projectKey?: Prisma.StringFieldUpdateOperationsInput | string;
821
+ access?: Prisma.StringFieldUpdateOperationsInput | string;
822
+ triggers?: Prisma.AgentIssueProjectUpdatetriggersInput | string[];
823
+ triggerStatuses?: Prisma.AgentIssueProjectUpdatetriggerStatusesInput | string[];
824
+ triggerLabels?: Prisma.AgentIssueProjectUpdatetriggerLabelsInput | string[];
825
+ jqlFilter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
826
+ trustedAccountIds?: Prisma.AgentIssueProjectUpdatetrustedAccountIdsInput | string[];
827
+ commentVisibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
828
+ allowedTransitions?: Prisma.AgentIssueProjectUpdateallowedTransitionsInput | string[];
829
+ writableFields?: Prisma.AgentIssueProjectUpdatewritableFieldsInput | string[];
830
+ allowedLinkTypes?: Prisma.AgentIssueProjectUpdateallowedLinkTypesInput | string[];
831
+ onPullRequestOpened?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
832
+ onPullRequestMerged?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
833
+ creatableIssueTypes?: Prisma.AgentIssueProjectUpdatecreatableIssueTypesInput | string[];
834
+ maxNewIssuesPerRun?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
835
+ authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
836
+ authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
837
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
838
+ };
839
+ export type AgentIssueProjectUncheckedUpdateWithoutAgentInput = {
840
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
841
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
842
+ projectKey?: Prisma.StringFieldUpdateOperationsInput | string;
843
+ access?: Prisma.StringFieldUpdateOperationsInput | string;
844
+ triggers?: Prisma.AgentIssueProjectUpdatetriggersInput | string[];
845
+ triggerStatuses?: Prisma.AgentIssueProjectUpdatetriggerStatusesInput | string[];
846
+ triggerLabels?: Prisma.AgentIssueProjectUpdatetriggerLabelsInput | string[];
847
+ jqlFilter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
848
+ trustedAccountIds?: Prisma.AgentIssueProjectUpdatetrustedAccountIdsInput | string[];
849
+ commentVisibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
850
+ allowedTransitions?: Prisma.AgentIssueProjectUpdateallowedTransitionsInput | string[];
851
+ writableFields?: Prisma.AgentIssueProjectUpdatewritableFieldsInput | string[];
852
+ allowedLinkTypes?: Prisma.AgentIssueProjectUpdateallowedLinkTypesInput | string[];
853
+ onPullRequestOpened?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
854
+ onPullRequestMerged?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
855
+ creatableIssueTypes?: Prisma.AgentIssueProjectUpdatecreatableIssueTypesInput | string[];
856
+ maxNewIssuesPerRun?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
857
+ authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
858
+ authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
859
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
860
+ };
861
+ export type AgentIssueProjectUncheckedUpdateManyWithoutAgentInput = {
862
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
863
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
864
+ projectKey?: Prisma.StringFieldUpdateOperationsInput | string;
865
+ access?: Prisma.StringFieldUpdateOperationsInput | string;
866
+ triggers?: Prisma.AgentIssueProjectUpdatetriggersInput | string[];
867
+ triggerStatuses?: Prisma.AgentIssueProjectUpdatetriggerStatusesInput | string[];
868
+ triggerLabels?: Prisma.AgentIssueProjectUpdatetriggerLabelsInput | string[];
869
+ jqlFilter?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
870
+ trustedAccountIds?: Prisma.AgentIssueProjectUpdatetrustedAccountIdsInput | string[];
871
+ commentVisibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
872
+ allowedTransitions?: Prisma.AgentIssueProjectUpdateallowedTransitionsInput | string[];
873
+ writableFields?: Prisma.AgentIssueProjectUpdatewritableFieldsInput | string[];
874
+ allowedLinkTypes?: Prisma.AgentIssueProjectUpdateallowedLinkTypesInput | string[];
875
+ onPullRequestOpened?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
876
+ onPullRequestMerged?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
877
+ creatableIssueTypes?: Prisma.AgentIssueProjectUpdatecreatableIssueTypesInput | string[];
878
+ maxNewIssuesPerRun?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
879
+ authorizedById?: Prisma.StringFieldUpdateOperationsInput | string;
880
+ authorizedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
881
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
882
+ };
883
+ export type AgentIssueProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
884
+ id?: boolean;
885
+ agentId?: boolean;
886
+ provider?: boolean;
887
+ projectKey?: boolean;
888
+ access?: boolean;
889
+ triggers?: boolean;
890
+ triggerStatuses?: boolean;
891
+ triggerLabels?: boolean;
892
+ jqlFilter?: boolean;
893
+ trustedAccountIds?: boolean;
894
+ commentVisibilityRole?: boolean;
895
+ allowedTransitions?: boolean;
896
+ writableFields?: boolean;
897
+ allowedLinkTypes?: boolean;
898
+ onPullRequestOpened?: boolean;
899
+ onPullRequestMerged?: boolean;
900
+ creatableIssueTypes?: boolean;
901
+ maxNewIssuesPerRun?: boolean;
902
+ authorizedById?: boolean;
903
+ authorizedAt?: boolean;
904
+ createdAt?: boolean;
905
+ agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
906
+ }, ExtArgs["result"]["agentIssueProject"]>;
907
+ export type AgentIssueProjectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
908
+ id?: boolean;
909
+ agentId?: boolean;
910
+ provider?: boolean;
911
+ projectKey?: boolean;
912
+ access?: boolean;
913
+ triggers?: boolean;
914
+ triggerStatuses?: boolean;
915
+ triggerLabels?: boolean;
916
+ jqlFilter?: boolean;
917
+ trustedAccountIds?: boolean;
918
+ commentVisibilityRole?: boolean;
919
+ allowedTransitions?: boolean;
920
+ writableFields?: boolean;
921
+ allowedLinkTypes?: boolean;
922
+ onPullRequestOpened?: boolean;
923
+ onPullRequestMerged?: boolean;
924
+ creatableIssueTypes?: boolean;
925
+ maxNewIssuesPerRun?: boolean;
926
+ authorizedById?: boolean;
927
+ authorizedAt?: boolean;
928
+ createdAt?: boolean;
929
+ agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
930
+ }, ExtArgs["result"]["agentIssueProject"]>;
931
+ export type AgentIssueProjectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
932
+ id?: boolean;
933
+ agentId?: boolean;
934
+ provider?: boolean;
935
+ projectKey?: boolean;
936
+ access?: boolean;
937
+ triggers?: boolean;
938
+ triggerStatuses?: boolean;
939
+ triggerLabels?: boolean;
940
+ jqlFilter?: boolean;
941
+ trustedAccountIds?: boolean;
942
+ commentVisibilityRole?: boolean;
943
+ allowedTransitions?: boolean;
944
+ writableFields?: boolean;
945
+ allowedLinkTypes?: boolean;
946
+ onPullRequestOpened?: boolean;
947
+ onPullRequestMerged?: boolean;
948
+ creatableIssueTypes?: boolean;
949
+ maxNewIssuesPerRun?: boolean;
950
+ authorizedById?: boolean;
951
+ authorizedAt?: boolean;
952
+ createdAt?: boolean;
953
+ agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
954
+ }, ExtArgs["result"]["agentIssueProject"]>;
955
+ export type AgentIssueProjectSelectScalar = {
956
+ id?: boolean;
957
+ agentId?: boolean;
958
+ provider?: boolean;
959
+ projectKey?: boolean;
960
+ access?: boolean;
961
+ triggers?: boolean;
962
+ triggerStatuses?: boolean;
963
+ triggerLabels?: boolean;
964
+ jqlFilter?: boolean;
965
+ trustedAccountIds?: boolean;
966
+ commentVisibilityRole?: boolean;
967
+ allowedTransitions?: boolean;
968
+ writableFields?: boolean;
969
+ allowedLinkTypes?: boolean;
970
+ onPullRequestOpened?: boolean;
971
+ onPullRequestMerged?: boolean;
972
+ creatableIssueTypes?: boolean;
973
+ maxNewIssuesPerRun?: boolean;
974
+ authorizedById?: boolean;
975
+ authorizedAt?: boolean;
976
+ createdAt?: boolean;
977
+ };
978
+ export type AgentIssueProjectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "provider" | "projectKey" | "access" | "triggers" | "triggerStatuses" | "triggerLabels" | "jqlFilter" | "trustedAccountIds" | "commentVisibilityRole" | "allowedTransitions" | "writableFields" | "allowedLinkTypes" | "onPullRequestOpened" | "onPullRequestMerged" | "creatableIssueTypes" | "maxNewIssuesPerRun" | "authorizedById" | "authorizedAt" | "createdAt", ExtArgs["result"]["agentIssueProject"]>;
979
+ export type AgentIssueProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
980
+ agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
981
+ };
982
+ export type AgentIssueProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
983
+ agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
984
+ };
985
+ export type AgentIssueProjectIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
986
+ agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>;
987
+ };
988
+ export type $AgentIssueProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
989
+ name: "AgentIssueProject";
990
+ objects: {
991
+ agent: Prisma.$AgentPayload<ExtArgs>;
992
+ };
993
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
994
+ id: string;
995
+ agentId: string;
996
+ /**
997
+ * "jira" today; validated in code.
998
+ */
999
+ provider: string;
1000
+ /**
1001
+ * Upper-case Jira project key.
1002
+ */
1003
+ projectKey: string;
1004
+ /**
1005
+ * "read" or "write".
1006
+ */
1007
+ access: string;
1008
+ /**
1009
+ * Subset of "created", "transitioned", "labeled", "assigned", "mention".
1010
+ */
1011
+ triggers: string[];
1012
+ /**
1013
+ * With "transitioned": the status names (case-insensitive) that trigger.
1014
+ */
1015
+ triggerStatuses: string[];
1016
+ /**
1017
+ * With "labeled": the labels whose addition triggers.
1018
+ */
1019
+ triggerLabels: string[];
1020
+ /**
1021
+ * Optional JQL the issue must also match for any trigger.
1022
+ */
1023
+ jqlFilter: string | null;
1024
+ /**
1025
+ * Jira accountIds whose @-mention or assignment may trigger (required for those triggers).
1026
+ */
1027
+ trustedAccountIds: string[];
1028
+ /**
1029
+ * Optional project role that the agent's comments are restricted to.
1030
+ */
1031
+ commentVisibilityRole: string | null;
1032
+ /**
1033
+ * Target status names (case-insensitive) jira_transition may move issues to. Empty = no transitions.
1034
+ */
1035
+ allowedTransitions: string[];
1036
+ /**
1037
+ * Field ids jira_update_fields may change ("labels", "components", "priority", "customfield_NNNNN"). Empty = none.
1038
+ */
1039
+ writableFields: string[];
1040
+ /**
1041
+ * Issue link type names (case-insensitive) jira_link_issues may create. Empty = linking off.
1042
+ */
1043
+ allowedLinkTypes: string[];
1044
+ /**
1045
+ * Status to move the issue to when a pull request for it opens (a control-plane move, not gated by allowedTransitions). Null = none.
1046
+ */
1047
+ onPullRequestOpened: string | null;
1048
+ /**
1049
+ * Status to move the issue to when a pull request for it merges. Null = none.
1050
+ */
1051
+ onPullRequestMerged: string | null;
1052
+ /**
1053
+ * Issue type names (case-insensitive) jira_create_issue may create. Empty = creation off.
1054
+ */
1055
+ creatableIssueTypes: string[];
1056
+ /**
1057
+ * Cap on issues one run may create in this project. Null = no cap.
1058
+ */
1059
+ maxNewIssuesPerRun: number | null;
1060
+ authorizedById: string;
1061
+ authorizedAt: Date;
1062
+ createdAt: Date;
1063
+ }, ExtArgs["result"]["agentIssueProject"]>;
1064
+ composites: {};
1065
+ };
1066
+ export type AgentIssueProjectGetPayload<S extends boolean | null | undefined | AgentIssueProjectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload, S>;
1067
+ export type AgentIssueProjectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<AgentIssueProjectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1068
+ select?: AgentIssueProjectCountAggregateInputType | true;
1069
+ };
1070
+ export interface AgentIssueProjectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1071
+ [K: symbol]: {
1072
+ types: Prisma.TypeMap<ExtArgs>['model']['AgentIssueProject'];
1073
+ meta: {
1074
+ name: 'AgentIssueProject';
1075
+ };
1076
+ };
1077
+ /**
1078
+ * Find zero or one AgentIssueProject that matches the filter.
1079
+ * @param {AgentIssueProjectFindUniqueArgs} args - Arguments to find a AgentIssueProject
1080
+ * @example
1081
+ * // Get one AgentIssueProject
1082
+ * const agentIssueProject = await prisma.agentIssueProject.findUnique({
1083
+ * where: {
1084
+ * // ... provide filter here
1085
+ * }
1086
+ * })
1087
+ */
1088
+ findUnique<T extends AgentIssueProjectFindUniqueArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1089
+ /**
1090
+ * Find one AgentIssueProject that matches the filter or throw an error with `error.code='P2025'`
1091
+ * if no matches were found.
1092
+ * @param {AgentIssueProjectFindUniqueOrThrowArgs} args - Arguments to find a AgentIssueProject
1093
+ * @example
1094
+ * // Get one AgentIssueProject
1095
+ * const agentIssueProject = await prisma.agentIssueProject.findUniqueOrThrow({
1096
+ * where: {
1097
+ * // ... provide filter here
1098
+ * }
1099
+ * })
1100
+ */
1101
+ findUniqueOrThrow<T extends AgentIssueProjectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1102
+ /**
1103
+ * Find the first AgentIssueProject that matches the filter.
1104
+ * Note, that providing `undefined` is treated as the value not being there.
1105
+ * Read more here: https://pris.ly/d/null-undefined
1106
+ * @param {AgentIssueProjectFindFirstArgs} args - Arguments to find a AgentIssueProject
1107
+ * @example
1108
+ * // Get one AgentIssueProject
1109
+ * const agentIssueProject = await prisma.agentIssueProject.findFirst({
1110
+ * where: {
1111
+ * // ... provide filter here
1112
+ * }
1113
+ * })
1114
+ */
1115
+ findFirst<T extends AgentIssueProjectFindFirstArgs>(args?: Prisma.SelectSubset<T, AgentIssueProjectFindFirstArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1116
+ /**
1117
+ * Find the first AgentIssueProject that matches the filter or
1118
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1119
+ * Note, that providing `undefined` is treated as the value not being there.
1120
+ * Read more here: https://pris.ly/d/null-undefined
1121
+ * @param {AgentIssueProjectFindFirstOrThrowArgs} args - Arguments to find a AgentIssueProject
1122
+ * @example
1123
+ * // Get one AgentIssueProject
1124
+ * const agentIssueProject = await prisma.agentIssueProject.findFirstOrThrow({
1125
+ * where: {
1126
+ * // ... provide filter here
1127
+ * }
1128
+ * })
1129
+ */
1130
+ findFirstOrThrow<T extends AgentIssueProjectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AgentIssueProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1131
+ /**
1132
+ * Find zero or more AgentIssueProjects that matches the filter.
1133
+ * Note, that providing `undefined` is treated as the value not being there.
1134
+ * Read more here: https://pris.ly/d/null-undefined
1135
+ * @param {AgentIssueProjectFindManyArgs} args - Arguments to filter and select certain fields only.
1136
+ * @example
1137
+ * // Get all AgentIssueProjects
1138
+ * const agentIssueProjects = await prisma.agentIssueProject.findMany()
1139
+ *
1140
+ * // Get first 10 AgentIssueProjects
1141
+ * const agentIssueProjects = await prisma.agentIssueProject.findMany({ take: 10 })
1142
+ *
1143
+ * // Only select the `id`
1144
+ * const agentIssueProjectWithIdOnly = await prisma.agentIssueProject.findMany({ select: { id: true } })
1145
+ *
1146
+ */
1147
+ findMany<T extends AgentIssueProjectFindManyArgs>(args?: Prisma.SelectSubset<T, AgentIssueProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1148
+ /**
1149
+ * Create a AgentIssueProject.
1150
+ * @param {AgentIssueProjectCreateArgs} args - Arguments to create a AgentIssueProject.
1151
+ * @example
1152
+ * // Create one AgentIssueProject
1153
+ * const AgentIssueProject = await prisma.agentIssueProject.create({
1154
+ * data: {
1155
+ * // ... data to create a AgentIssueProject
1156
+ * }
1157
+ * })
1158
+ *
1159
+ */
1160
+ create<T extends AgentIssueProjectCreateArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectCreateArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1161
+ /**
1162
+ * Create many AgentIssueProjects.
1163
+ * @param {AgentIssueProjectCreateManyArgs} args - Arguments to create many AgentIssueProjects.
1164
+ * @example
1165
+ * // Create many AgentIssueProjects
1166
+ * const agentIssueProject = await prisma.agentIssueProject.createMany({
1167
+ * data: [
1168
+ * // ... provide data here
1169
+ * ]
1170
+ * })
1171
+ *
1172
+ */
1173
+ createMany<T extends AgentIssueProjectCreateManyArgs>(args?: Prisma.SelectSubset<T, AgentIssueProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1174
+ /**
1175
+ * Create many AgentIssueProjects and returns the data saved in the database.
1176
+ * @param {AgentIssueProjectCreateManyAndReturnArgs} args - Arguments to create many AgentIssueProjects.
1177
+ * @example
1178
+ * // Create many AgentIssueProjects
1179
+ * const agentIssueProject = await prisma.agentIssueProject.createManyAndReturn({
1180
+ * data: [
1181
+ * // ... provide data here
1182
+ * ]
1183
+ * })
1184
+ *
1185
+ * // Create many AgentIssueProjects and only return the `id`
1186
+ * const agentIssueProjectWithIdOnly = await prisma.agentIssueProject.createManyAndReturn({
1187
+ * select: { id: true },
1188
+ * data: [
1189
+ * // ... provide data here
1190
+ * ]
1191
+ * })
1192
+ * Note, that providing `undefined` is treated as the value not being there.
1193
+ * Read more here: https://pris.ly/d/null-undefined
1194
+ *
1195
+ */
1196
+ createManyAndReturn<T extends AgentIssueProjectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AgentIssueProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1197
+ /**
1198
+ * Delete a AgentIssueProject.
1199
+ * @param {AgentIssueProjectDeleteArgs} args - Arguments to delete one AgentIssueProject.
1200
+ * @example
1201
+ * // Delete one AgentIssueProject
1202
+ * const AgentIssueProject = await prisma.agentIssueProject.delete({
1203
+ * where: {
1204
+ * // ... filter to delete one AgentIssueProject
1205
+ * }
1206
+ * })
1207
+ *
1208
+ */
1209
+ delete<T extends AgentIssueProjectDeleteArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectDeleteArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1210
+ /**
1211
+ * Update one AgentIssueProject.
1212
+ * @param {AgentIssueProjectUpdateArgs} args - Arguments to update one AgentIssueProject.
1213
+ * @example
1214
+ * // Update one AgentIssueProject
1215
+ * const agentIssueProject = await prisma.agentIssueProject.update({
1216
+ * where: {
1217
+ * // ... provide filter here
1218
+ * },
1219
+ * data: {
1220
+ * // ... provide data here
1221
+ * }
1222
+ * })
1223
+ *
1224
+ */
1225
+ update<T extends AgentIssueProjectUpdateArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectUpdateArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1226
+ /**
1227
+ * Delete zero or more AgentIssueProjects.
1228
+ * @param {AgentIssueProjectDeleteManyArgs} args - Arguments to filter AgentIssueProjects to delete.
1229
+ * @example
1230
+ * // Delete a few AgentIssueProjects
1231
+ * const { count } = await prisma.agentIssueProject.deleteMany({
1232
+ * where: {
1233
+ * // ... provide filter here
1234
+ * }
1235
+ * })
1236
+ *
1237
+ */
1238
+ deleteMany<T extends AgentIssueProjectDeleteManyArgs>(args?: Prisma.SelectSubset<T, AgentIssueProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1239
+ /**
1240
+ * Update zero or more AgentIssueProjects.
1241
+ * Note, that providing `undefined` is treated as the value not being there.
1242
+ * Read more here: https://pris.ly/d/null-undefined
1243
+ * @param {AgentIssueProjectUpdateManyArgs} args - Arguments to update one or more rows.
1244
+ * @example
1245
+ * // Update many AgentIssueProjects
1246
+ * const agentIssueProject = await prisma.agentIssueProject.updateMany({
1247
+ * where: {
1248
+ * // ... provide filter here
1249
+ * },
1250
+ * data: {
1251
+ * // ... provide data here
1252
+ * }
1253
+ * })
1254
+ *
1255
+ */
1256
+ updateMany<T extends AgentIssueProjectUpdateManyArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1257
+ /**
1258
+ * Update zero or more AgentIssueProjects and returns the data updated in the database.
1259
+ * @param {AgentIssueProjectUpdateManyAndReturnArgs} args - Arguments to update many AgentIssueProjects.
1260
+ * @example
1261
+ * // Update many AgentIssueProjects
1262
+ * const agentIssueProject = await prisma.agentIssueProject.updateManyAndReturn({
1263
+ * where: {
1264
+ * // ... provide filter here
1265
+ * },
1266
+ * data: [
1267
+ * // ... provide data here
1268
+ * ]
1269
+ * })
1270
+ *
1271
+ * // Update zero or more AgentIssueProjects and only return the `id`
1272
+ * const agentIssueProjectWithIdOnly = await prisma.agentIssueProject.updateManyAndReturn({
1273
+ * select: { id: true },
1274
+ * where: {
1275
+ * // ... provide filter here
1276
+ * },
1277
+ * data: [
1278
+ * // ... provide data here
1279
+ * ]
1280
+ * })
1281
+ * Note, that providing `undefined` is treated as the value not being there.
1282
+ * Read more here: https://pris.ly/d/null-undefined
1283
+ *
1284
+ */
1285
+ updateManyAndReturn<T extends AgentIssueProjectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1286
+ /**
1287
+ * Create or update one AgentIssueProject.
1288
+ * @param {AgentIssueProjectUpsertArgs} args - Arguments to update or create a AgentIssueProject.
1289
+ * @example
1290
+ * // Update or create a AgentIssueProject
1291
+ * const agentIssueProject = await prisma.agentIssueProject.upsert({
1292
+ * create: {
1293
+ * // ... data to create a AgentIssueProject
1294
+ * },
1295
+ * update: {
1296
+ * // ... in case it already exists, update
1297
+ * },
1298
+ * where: {
1299
+ * // ... the filter for the AgentIssueProject we want to update
1300
+ * }
1301
+ * })
1302
+ */
1303
+ upsert<T extends AgentIssueProjectUpsertArgs>(args: Prisma.SelectSubset<T, AgentIssueProjectUpsertArgs<ExtArgs>>): Prisma.Prisma__AgentIssueProjectClient<runtime.Types.Result.GetResult<Prisma.$AgentIssueProjectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1304
+ /**
1305
+ * Count the number of AgentIssueProjects.
1306
+ * Note, that providing `undefined` is treated as the value not being there.
1307
+ * Read more here: https://pris.ly/d/null-undefined
1308
+ * @param {AgentIssueProjectCountArgs} args - Arguments to filter AgentIssueProjects to count.
1309
+ * @example
1310
+ * // Count the number of AgentIssueProjects
1311
+ * const count = await prisma.agentIssueProject.count({
1312
+ * where: {
1313
+ * // ... the filter for the AgentIssueProjects we want to count
1314
+ * }
1315
+ * })
1316
+ **/
1317
+ count<T extends AgentIssueProjectCountArgs>(args?: Prisma.Subset<T, AgentIssueProjectCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AgentIssueProjectCountAggregateOutputType> : number>;
1318
+ /**
1319
+ * Allows you to perform aggregations operations on a AgentIssueProject.
1320
+ * Note, that providing `undefined` is treated as the value not being there.
1321
+ * Read more here: https://pris.ly/d/null-undefined
1322
+ * @param {AgentIssueProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1323
+ * @example
1324
+ * // Ordered by age ascending
1325
+ * // Where email contains prisma.io
1326
+ * // Limited to the 10 users
1327
+ * const aggregations = await prisma.user.aggregate({
1328
+ * _avg: {
1329
+ * age: true,
1330
+ * },
1331
+ * where: {
1332
+ * email: {
1333
+ * contains: "prisma.io",
1334
+ * },
1335
+ * },
1336
+ * orderBy: {
1337
+ * age: "asc",
1338
+ * },
1339
+ * take: 10,
1340
+ * })
1341
+ **/
1342
+ aggregate<T extends AgentIssueProjectAggregateArgs>(args: Prisma.Subset<T, AgentIssueProjectAggregateArgs>): Prisma.PrismaPromise<GetAgentIssueProjectAggregateType<T>>;
1343
+ /**
1344
+ * Group by AgentIssueProject.
1345
+ * Note, that providing `undefined` is treated as the value not being there.
1346
+ * Read more here: https://pris.ly/d/null-undefined
1347
+ * @param {AgentIssueProjectGroupByArgs} args - Group by arguments.
1348
+ * @example
1349
+ * // Group by city, order by createdAt, get count
1350
+ * const result = await prisma.user.groupBy({
1351
+ * by: ['city', 'createdAt'],
1352
+ * orderBy: {
1353
+ * createdAt: true
1354
+ * },
1355
+ * _count: {
1356
+ * _all: true
1357
+ * },
1358
+ * })
1359
+ *
1360
+ **/
1361
+ groupBy<T extends AgentIssueProjectGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1362
+ orderBy: AgentIssueProjectGroupByArgs['orderBy'];
1363
+ } : {
1364
+ orderBy?: AgentIssueProjectGroupByArgs['orderBy'];
1365
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
1366
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1367
+ Error,
1368
+ 'Field ',
1369
+ P,
1370
+ ` in "having" needs to be provided in "by"`
1371
+ ];
1372
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1373
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1374
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1375
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1376
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1377
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1378
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, AgentIssueProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgentIssueProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1379
+ /**
1380
+ * Fields of the AgentIssueProject model
1381
+ */
1382
+ readonly fields: AgentIssueProjectFieldRefs;
1383
+ }
1384
+ /**
1385
+ * The delegate class that acts as a "Promise-like" for AgentIssueProject.
1386
+ * Why is this prefixed with `Prisma__`?
1387
+ * Because we want to prevent naming conflicts as mentioned in
1388
+ * https://github.com/prisma/prisma-client-js/issues/707
1389
+ */
1390
+ export interface Prisma__AgentIssueProjectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1391
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1392
+ agent<T extends Prisma.AgentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentDefaultArgs<ExtArgs>>): Prisma.Prisma__AgentClient<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1393
+ /**
1394
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1395
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1396
+ * @param onrejected The callback to execute when the Promise is rejected.
1397
+ * @returns A Promise for the completion of which ever callback is executed.
1398
+ */
1399
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
1400
+ /**
1401
+ * Attaches a callback for only the rejection of the Promise.
1402
+ * @param onrejected The callback to execute when the Promise is rejected.
1403
+ * @returns A Promise for the completion of the callback.
1404
+ */
1405
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1406
+ /**
1407
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1408
+ * resolved value cannot be modified from the callback.
1409
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1410
+ * @returns A Promise for the completion of the callback.
1411
+ */
1412
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1413
+ }
1414
+ /**
1415
+ * Fields of the AgentIssueProject model
1416
+ */
1417
+ export interface AgentIssueProjectFieldRefs {
1418
+ readonly id: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1419
+ readonly agentId: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1420
+ readonly provider: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1421
+ readonly projectKey: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1422
+ readonly access: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1423
+ readonly triggers: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1424
+ readonly triggerStatuses: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1425
+ readonly triggerLabels: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1426
+ readonly jqlFilter: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1427
+ readonly trustedAccountIds: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1428
+ readonly commentVisibilityRole: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1429
+ readonly allowedTransitions: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1430
+ readonly writableFields: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1431
+ readonly allowedLinkTypes: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1432
+ readonly onPullRequestOpened: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1433
+ readonly onPullRequestMerged: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1434
+ readonly creatableIssueTypes: Prisma.FieldRef<"AgentIssueProject", 'String[]'>;
1435
+ readonly maxNewIssuesPerRun: Prisma.FieldRef<"AgentIssueProject", 'Int'>;
1436
+ readonly authorizedById: Prisma.FieldRef<"AgentIssueProject", 'String'>;
1437
+ readonly authorizedAt: Prisma.FieldRef<"AgentIssueProject", 'DateTime'>;
1438
+ readonly createdAt: Prisma.FieldRef<"AgentIssueProject", 'DateTime'>;
1439
+ }
1440
+ /**
1441
+ * AgentIssueProject findUnique
1442
+ */
1443
+ export type AgentIssueProjectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1444
+ /**
1445
+ * Select specific fields to fetch from the AgentIssueProject
1446
+ */
1447
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1448
+ /**
1449
+ * Omit specific fields from the AgentIssueProject
1450
+ */
1451
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1452
+ /**
1453
+ * Choose, which related nodes to fetch as well
1454
+ */
1455
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1456
+ /**
1457
+ * Filter, which AgentIssueProject to fetch.
1458
+ */
1459
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
1460
+ };
1461
+ /**
1462
+ * AgentIssueProject findUniqueOrThrow
1463
+ */
1464
+ export type AgentIssueProjectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1465
+ /**
1466
+ * Select specific fields to fetch from the AgentIssueProject
1467
+ */
1468
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1469
+ /**
1470
+ * Omit specific fields from the AgentIssueProject
1471
+ */
1472
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1473
+ /**
1474
+ * Choose, which related nodes to fetch as well
1475
+ */
1476
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1477
+ /**
1478
+ * Filter, which AgentIssueProject to fetch.
1479
+ */
1480
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
1481
+ };
1482
+ /**
1483
+ * AgentIssueProject findFirst
1484
+ */
1485
+ export type AgentIssueProjectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1486
+ /**
1487
+ * Select specific fields to fetch from the AgentIssueProject
1488
+ */
1489
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1490
+ /**
1491
+ * Omit specific fields from the AgentIssueProject
1492
+ */
1493
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1494
+ /**
1495
+ * Choose, which related nodes to fetch as well
1496
+ */
1497
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1498
+ /**
1499
+ * Filter, which AgentIssueProject to fetch.
1500
+ */
1501
+ where?: Prisma.AgentIssueProjectWhereInput;
1502
+ /**
1503
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1504
+ *
1505
+ * Determine the order of AgentIssueProjects to fetch.
1506
+ */
1507
+ orderBy?: Prisma.AgentIssueProjectOrderByWithRelationInput | Prisma.AgentIssueProjectOrderByWithRelationInput[];
1508
+ /**
1509
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1510
+ *
1511
+ * Sets the position for searching for AgentIssueProjects.
1512
+ */
1513
+ cursor?: Prisma.AgentIssueProjectWhereUniqueInput;
1514
+ /**
1515
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1516
+ *
1517
+ * Take `±n` AgentIssueProjects from the position of the cursor.
1518
+ */
1519
+ take?: number;
1520
+ /**
1521
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1522
+ *
1523
+ * Skip the first `n` AgentIssueProjects.
1524
+ */
1525
+ skip?: number;
1526
+ /**
1527
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1528
+ *
1529
+ * Filter by unique combinations of AgentIssueProjects.
1530
+ */
1531
+ distinct?: Prisma.AgentIssueProjectScalarFieldEnum | Prisma.AgentIssueProjectScalarFieldEnum[];
1532
+ };
1533
+ /**
1534
+ * AgentIssueProject findFirstOrThrow
1535
+ */
1536
+ export type AgentIssueProjectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1537
+ /**
1538
+ * Select specific fields to fetch from the AgentIssueProject
1539
+ */
1540
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1541
+ /**
1542
+ * Omit specific fields from the AgentIssueProject
1543
+ */
1544
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1545
+ /**
1546
+ * Choose, which related nodes to fetch as well
1547
+ */
1548
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1549
+ /**
1550
+ * Filter, which AgentIssueProject to fetch.
1551
+ */
1552
+ where?: Prisma.AgentIssueProjectWhereInput;
1553
+ /**
1554
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1555
+ *
1556
+ * Determine the order of AgentIssueProjects to fetch.
1557
+ */
1558
+ orderBy?: Prisma.AgentIssueProjectOrderByWithRelationInput | Prisma.AgentIssueProjectOrderByWithRelationInput[];
1559
+ /**
1560
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1561
+ *
1562
+ * Sets the position for searching for AgentIssueProjects.
1563
+ */
1564
+ cursor?: Prisma.AgentIssueProjectWhereUniqueInput;
1565
+ /**
1566
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1567
+ *
1568
+ * Take `±n` AgentIssueProjects from the position of the cursor.
1569
+ */
1570
+ take?: number;
1571
+ /**
1572
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1573
+ *
1574
+ * Skip the first `n` AgentIssueProjects.
1575
+ */
1576
+ skip?: number;
1577
+ /**
1578
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1579
+ *
1580
+ * Filter by unique combinations of AgentIssueProjects.
1581
+ */
1582
+ distinct?: Prisma.AgentIssueProjectScalarFieldEnum | Prisma.AgentIssueProjectScalarFieldEnum[];
1583
+ };
1584
+ /**
1585
+ * AgentIssueProject findMany
1586
+ */
1587
+ export type AgentIssueProjectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1588
+ /**
1589
+ * Select specific fields to fetch from the AgentIssueProject
1590
+ */
1591
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1592
+ /**
1593
+ * Omit specific fields from the AgentIssueProject
1594
+ */
1595
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1596
+ /**
1597
+ * Choose, which related nodes to fetch as well
1598
+ */
1599
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1600
+ /**
1601
+ * Filter, which AgentIssueProjects to fetch.
1602
+ */
1603
+ where?: Prisma.AgentIssueProjectWhereInput;
1604
+ /**
1605
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1606
+ *
1607
+ * Determine the order of AgentIssueProjects to fetch.
1608
+ */
1609
+ orderBy?: Prisma.AgentIssueProjectOrderByWithRelationInput | Prisma.AgentIssueProjectOrderByWithRelationInput[];
1610
+ /**
1611
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1612
+ *
1613
+ * Sets the position for listing AgentIssueProjects.
1614
+ */
1615
+ cursor?: Prisma.AgentIssueProjectWhereUniqueInput;
1616
+ /**
1617
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1618
+ *
1619
+ * Take `±n` AgentIssueProjects from the position of the cursor.
1620
+ */
1621
+ take?: number;
1622
+ /**
1623
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1624
+ *
1625
+ * Skip the first `n` AgentIssueProjects.
1626
+ */
1627
+ skip?: number;
1628
+ /**
1629
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1630
+ *
1631
+ * Filter by unique combinations of AgentIssueProjects.
1632
+ */
1633
+ distinct?: Prisma.AgentIssueProjectScalarFieldEnum | Prisma.AgentIssueProjectScalarFieldEnum[];
1634
+ };
1635
+ /**
1636
+ * AgentIssueProject create
1637
+ */
1638
+ export type AgentIssueProjectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1639
+ /**
1640
+ * Select specific fields to fetch from the AgentIssueProject
1641
+ */
1642
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1643
+ /**
1644
+ * Omit specific fields from the AgentIssueProject
1645
+ */
1646
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1647
+ /**
1648
+ * Choose, which related nodes to fetch as well
1649
+ */
1650
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1651
+ /**
1652
+ * The data needed to create a AgentIssueProject.
1653
+ */
1654
+ data: Prisma.XOR<Prisma.AgentIssueProjectCreateInput, Prisma.AgentIssueProjectUncheckedCreateInput>;
1655
+ };
1656
+ /**
1657
+ * AgentIssueProject createMany
1658
+ */
1659
+ export type AgentIssueProjectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1660
+ /**
1661
+ * The data used to create many AgentIssueProjects.
1662
+ */
1663
+ data: Prisma.AgentIssueProjectCreateManyInput | Prisma.AgentIssueProjectCreateManyInput[];
1664
+ skipDuplicates?: boolean;
1665
+ };
1666
+ /**
1667
+ * AgentIssueProject createManyAndReturn
1668
+ */
1669
+ export type AgentIssueProjectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1670
+ /**
1671
+ * Select specific fields to fetch from the AgentIssueProject
1672
+ */
1673
+ select?: Prisma.AgentIssueProjectSelectCreateManyAndReturn<ExtArgs> | null;
1674
+ /**
1675
+ * Omit specific fields from the AgentIssueProject
1676
+ */
1677
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1678
+ /**
1679
+ * The data used to create many AgentIssueProjects.
1680
+ */
1681
+ data: Prisma.AgentIssueProjectCreateManyInput | Prisma.AgentIssueProjectCreateManyInput[];
1682
+ skipDuplicates?: boolean;
1683
+ /**
1684
+ * Choose, which related nodes to fetch as well
1685
+ */
1686
+ include?: Prisma.AgentIssueProjectIncludeCreateManyAndReturn<ExtArgs> | null;
1687
+ };
1688
+ /**
1689
+ * AgentIssueProject update
1690
+ */
1691
+ export type AgentIssueProjectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1692
+ /**
1693
+ * Select specific fields to fetch from the AgentIssueProject
1694
+ */
1695
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1696
+ /**
1697
+ * Omit specific fields from the AgentIssueProject
1698
+ */
1699
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1700
+ /**
1701
+ * Choose, which related nodes to fetch as well
1702
+ */
1703
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1704
+ /**
1705
+ * The data needed to update a AgentIssueProject.
1706
+ */
1707
+ data: Prisma.XOR<Prisma.AgentIssueProjectUpdateInput, Prisma.AgentIssueProjectUncheckedUpdateInput>;
1708
+ /**
1709
+ * Choose, which AgentIssueProject to update.
1710
+ */
1711
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
1712
+ };
1713
+ /**
1714
+ * AgentIssueProject updateMany
1715
+ */
1716
+ export type AgentIssueProjectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1717
+ /**
1718
+ * The data used to update AgentIssueProjects.
1719
+ */
1720
+ data: Prisma.XOR<Prisma.AgentIssueProjectUpdateManyMutationInput, Prisma.AgentIssueProjectUncheckedUpdateManyInput>;
1721
+ /**
1722
+ * Filter which AgentIssueProjects to update
1723
+ */
1724
+ where?: Prisma.AgentIssueProjectWhereInput;
1725
+ /**
1726
+ * Limit how many AgentIssueProjects to update.
1727
+ */
1728
+ limit?: number;
1729
+ };
1730
+ /**
1731
+ * AgentIssueProject updateManyAndReturn
1732
+ */
1733
+ export type AgentIssueProjectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1734
+ /**
1735
+ * Select specific fields to fetch from the AgentIssueProject
1736
+ */
1737
+ select?: Prisma.AgentIssueProjectSelectUpdateManyAndReturn<ExtArgs> | null;
1738
+ /**
1739
+ * Omit specific fields from the AgentIssueProject
1740
+ */
1741
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1742
+ /**
1743
+ * The data used to update AgentIssueProjects.
1744
+ */
1745
+ data: Prisma.XOR<Prisma.AgentIssueProjectUpdateManyMutationInput, Prisma.AgentIssueProjectUncheckedUpdateManyInput>;
1746
+ /**
1747
+ * Filter which AgentIssueProjects to update
1748
+ */
1749
+ where?: Prisma.AgentIssueProjectWhereInput;
1750
+ /**
1751
+ * Limit how many AgentIssueProjects to update.
1752
+ */
1753
+ limit?: number;
1754
+ /**
1755
+ * Choose, which related nodes to fetch as well
1756
+ */
1757
+ include?: Prisma.AgentIssueProjectIncludeUpdateManyAndReturn<ExtArgs> | null;
1758
+ };
1759
+ /**
1760
+ * AgentIssueProject upsert
1761
+ */
1762
+ export type AgentIssueProjectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1763
+ /**
1764
+ * Select specific fields to fetch from the AgentIssueProject
1765
+ */
1766
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1767
+ /**
1768
+ * Omit specific fields from the AgentIssueProject
1769
+ */
1770
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1771
+ /**
1772
+ * Choose, which related nodes to fetch as well
1773
+ */
1774
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1775
+ /**
1776
+ * The filter to search for the AgentIssueProject to update in case it exists.
1777
+ */
1778
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
1779
+ /**
1780
+ * In case the AgentIssueProject found by the `where` argument doesn't exist, create a new AgentIssueProject with this data.
1781
+ */
1782
+ create: Prisma.XOR<Prisma.AgentIssueProjectCreateInput, Prisma.AgentIssueProjectUncheckedCreateInput>;
1783
+ /**
1784
+ * In case the AgentIssueProject was found with the provided `where` argument, update it with this data.
1785
+ */
1786
+ update: Prisma.XOR<Prisma.AgentIssueProjectUpdateInput, Prisma.AgentIssueProjectUncheckedUpdateInput>;
1787
+ };
1788
+ /**
1789
+ * AgentIssueProject delete
1790
+ */
1791
+ export type AgentIssueProjectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1792
+ /**
1793
+ * Select specific fields to fetch from the AgentIssueProject
1794
+ */
1795
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1796
+ /**
1797
+ * Omit specific fields from the AgentIssueProject
1798
+ */
1799
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1800
+ /**
1801
+ * Choose, which related nodes to fetch as well
1802
+ */
1803
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1804
+ /**
1805
+ * Filter which AgentIssueProject to delete.
1806
+ */
1807
+ where: Prisma.AgentIssueProjectWhereUniqueInput;
1808
+ };
1809
+ /**
1810
+ * AgentIssueProject deleteMany
1811
+ */
1812
+ export type AgentIssueProjectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1813
+ /**
1814
+ * Filter which AgentIssueProjects to delete
1815
+ */
1816
+ where?: Prisma.AgentIssueProjectWhereInput;
1817
+ /**
1818
+ * Limit how many AgentIssueProjects to delete.
1819
+ */
1820
+ limit?: number;
1821
+ };
1822
+ /**
1823
+ * AgentIssueProject without action
1824
+ */
1825
+ export type AgentIssueProjectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1826
+ /**
1827
+ * Select specific fields to fetch from the AgentIssueProject
1828
+ */
1829
+ select?: Prisma.AgentIssueProjectSelect<ExtArgs> | null;
1830
+ /**
1831
+ * Omit specific fields from the AgentIssueProject
1832
+ */
1833
+ omit?: Prisma.AgentIssueProjectOmit<ExtArgs> | null;
1834
+ /**
1835
+ * Choose, which related nodes to fetch as well
1836
+ */
1837
+ include?: Prisma.AgentIssueProjectInclude<ExtArgs> | null;
1838
+ };