@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,1199 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model RunIssueStatus
5
+ * The status comment wardby posts on the Jira issue whose event started this
6
+ * run ("working on it"), edited with the outcome when the run ends.
7
+ */
8
+ export type RunIssueStatusModel = runtime.Types.Result.DefaultSelection<Prisma.$RunIssueStatusPayload>;
9
+ export type AggregateRunIssueStatus = {
10
+ _count: RunIssueStatusCountAggregateOutputType | null;
11
+ _min: RunIssueStatusMinAggregateOutputType | null;
12
+ _max: RunIssueStatusMaxAggregateOutputType | null;
13
+ };
14
+ export type RunIssueStatusMinAggregateOutputType = {
15
+ runId: string | null;
16
+ provider: string | null;
17
+ issueKey: string | null;
18
+ commentId: string | null;
19
+ visibilityRole: string | null;
20
+ createdAt: Date | null;
21
+ completedAt: Date | null;
22
+ };
23
+ export type RunIssueStatusMaxAggregateOutputType = {
24
+ runId: string | null;
25
+ provider: string | null;
26
+ issueKey: string | null;
27
+ commentId: string | null;
28
+ visibilityRole: string | null;
29
+ createdAt: Date | null;
30
+ completedAt: Date | null;
31
+ };
32
+ export type RunIssueStatusCountAggregateOutputType = {
33
+ runId: number;
34
+ provider: number;
35
+ issueKey: number;
36
+ commentId: number;
37
+ visibilityRole: number;
38
+ createdAt: number;
39
+ completedAt: number;
40
+ _all: number;
41
+ };
42
+ export type RunIssueStatusMinAggregateInputType = {
43
+ runId?: true;
44
+ provider?: true;
45
+ issueKey?: true;
46
+ commentId?: true;
47
+ visibilityRole?: true;
48
+ createdAt?: true;
49
+ completedAt?: true;
50
+ };
51
+ export type RunIssueStatusMaxAggregateInputType = {
52
+ runId?: true;
53
+ provider?: true;
54
+ issueKey?: true;
55
+ commentId?: true;
56
+ visibilityRole?: true;
57
+ createdAt?: true;
58
+ completedAt?: true;
59
+ };
60
+ export type RunIssueStatusCountAggregateInputType = {
61
+ runId?: true;
62
+ provider?: true;
63
+ issueKey?: true;
64
+ commentId?: true;
65
+ visibilityRole?: true;
66
+ createdAt?: true;
67
+ completedAt?: true;
68
+ _all?: true;
69
+ };
70
+ export type RunIssueStatusAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
71
+ /**
72
+ * Filter which RunIssueStatus to aggregate.
73
+ */
74
+ where?: Prisma.RunIssueStatusWhereInput;
75
+ /**
76
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
77
+ *
78
+ * Determine the order of RunIssueStatuses to fetch.
79
+ */
80
+ orderBy?: Prisma.RunIssueStatusOrderByWithRelationInput | Prisma.RunIssueStatusOrderByWithRelationInput[];
81
+ /**
82
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
83
+ *
84
+ * Sets the start position
85
+ */
86
+ cursor?: Prisma.RunIssueStatusWhereUniqueInput;
87
+ /**
88
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
89
+ *
90
+ * Take `±n` RunIssueStatuses from the position of the cursor.
91
+ */
92
+ take?: number;
93
+ /**
94
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
95
+ *
96
+ * Skip the first `n` RunIssueStatuses.
97
+ */
98
+ skip?: number;
99
+ /**
100
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
101
+ *
102
+ * Count returned RunIssueStatuses
103
+ **/
104
+ _count?: true | RunIssueStatusCountAggregateInputType;
105
+ /**
106
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
107
+ *
108
+ * Select which fields to find the minimum value
109
+ **/
110
+ _min?: RunIssueStatusMinAggregateInputType;
111
+ /**
112
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
113
+ *
114
+ * Select which fields to find the maximum value
115
+ **/
116
+ _max?: RunIssueStatusMaxAggregateInputType;
117
+ };
118
+ export type GetRunIssueStatusAggregateType<T extends RunIssueStatusAggregateArgs> = {
119
+ [P in keyof T & keyof AggregateRunIssueStatus]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRunIssueStatus[P]> : Prisma.GetScalarType<T[P], AggregateRunIssueStatus[P]>;
120
+ };
121
+ export type RunIssueStatusGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
122
+ where?: Prisma.RunIssueStatusWhereInput;
123
+ orderBy?: Prisma.RunIssueStatusOrderByWithAggregationInput | Prisma.RunIssueStatusOrderByWithAggregationInput[];
124
+ by: Prisma.RunIssueStatusScalarFieldEnum[] | Prisma.RunIssueStatusScalarFieldEnum;
125
+ having?: Prisma.RunIssueStatusScalarWhereWithAggregatesInput;
126
+ take?: number;
127
+ skip?: number;
128
+ _count?: RunIssueStatusCountAggregateInputType | true;
129
+ _min?: RunIssueStatusMinAggregateInputType;
130
+ _max?: RunIssueStatusMaxAggregateInputType;
131
+ };
132
+ export type RunIssueStatusGroupByOutputType = {
133
+ runId: string;
134
+ provider: string;
135
+ issueKey: string;
136
+ commentId: string | null;
137
+ visibilityRole: string | null;
138
+ createdAt: Date;
139
+ completedAt: Date | null;
140
+ _count: RunIssueStatusCountAggregateOutputType | null;
141
+ _min: RunIssueStatusMinAggregateOutputType | null;
142
+ _max: RunIssueStatusMaxAggregateOutputType | null;
143
+ };
144
+ export type GetRunIssueStatusGroupByPayload<T extends RunIssueStatusGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RunIssueStatusGroupByOutputType, T['by']> & {
145
+ [P in ((keyof T) & (keyof RunIssueStatusGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RunIssueStatusGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RunIssueStatusGroupByOutputType[P]>;
146
+ }>>;
147
+ export type RunIssueStatusWhereInput = {
148
+ AND?: Prisma.RunIssueStatusWhereInput | Prisma.RunIssueStatusWhereInput[];
149
+ OR?: Prisma.RunIssueStatusWhereInput[];
150
+ NOT?: Prisma.RunIssueStatusWhereInput | Prisma.RunIssueStatusWhereInput[];
151
+ runId?: Prisma.StringFilter<"RunIssueStatus"> | string;
152
+ provider?: Prisma.StringFilter<"RunIssueStatus"> | string;
153
+ issueKey?: Prisma.StringFilter<"RunIssueStatus"> | string;
154
+ commentId?: Prisma.StringNullableFilter<"RunIssueStatus"> | string | null;
155
+ visibilityRole?: Prisma.StringNullableFilter<"RunIssueStatus"> | string | null;
156
+ createdAt?: Prisma.DateTimeFilter<"RunIssueStatus"> | Date | string;
157
+ completedAt?: Prisma.DateTimeNullableFilter<"RunIssueStatus"> | Date | string | null;
158
+ run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
159
+ };
160
+ export type RunIssueStatusOrderByWithRelationInput = {
161
+ runId?: Prisma.SortOrder;
162
+ provider?: Prisma.SortOrder;
163
+ issueKey?: Prisma.SortOrder;
164
+ commentId?: Prisma.SortOrderInput | Prisma.SortOrder;
165
+ visibilityRole?: Prisma.SortOrderInput | Prisma.SortOrder;
166
+ createdAt?: Prisma.SortOrder;
167
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
168
+ run?: Prisma.RunOrderByWithRelationInput;
169
+ };
170
+ export type RunIssueStatusWhereUniqueInput = Prisma.AtLeast<{
171
+ runId?: string;
172
+ AND?: Prisma.RunIssueStatusWhereInput | Prisma.RunIssueStatusWhereInput[];
173
+ OR?: Prisma.RunIssueStatusWhereInput[];
174
+ NOT?: Prisma.RunIssueStatusWhereInput | Prisma.RunIssueStatusWhereInput[];
175
+ provider?: Prisma.StringFilter<"RunIssueStatus"> | string;
176
+ issueKey?: Prisma.StringFilter<"RunIssueStatus"> | string;
177
+ commentId?: Prisma.StringNullableFilter<"RunIssueStatus"> | string | null;
178
+ visibilityRole?: Prisma.StringNullableFilter<"RunIssueStatus"> | string | null;
179
+ createdAt?: Prisma.DateTimeFilter<"RunIssueStatus"> | Date | string;
180
+ completedAt?: Prisma.DateTimeNullableFilter<"RunIssueStatus"> | Date | string | null;
181
+ run?: Prisma.XOR<Prisma.RunScalarRelationFilter, Prisma.RunWhereInput>;
182
+ }, "runId">;
183
+ export type RunIssueStatusOrderByWithAggregationInput = {
184
+ runId?: Prisma.SortOrder;
185
+ provider?: Prisma.SortOrder;
186
+ issueKey?: Prisma.SortOrder;
187
+ commentId?: Prisma.SortOrderInput | Prisma.SortOrder;
188
+ visibilityRole?: Prisma.SortOrderInput | Prisma.SortOrder;
189
+ createdAt?: Prisma.SortOrder;
190
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
191
+ _count?: Prisma.RunIssueStatusCountOrderByAggregateInput;
192
+ _max?: Prisma.RunIssueStatusMaxOrderByAggregateInput;
193
+ _min?: Prisma.RunIssueStatusMinOrderByAggregateInput;
194
+ };
195
+ export type RunIssueStatusScalarWhereWithAggregatesInput = {
196
+ AND?: Prisma.RunIssueStatusScalarWhereWithAggregatesInput | Prisma.RunIssueStatusScalarWhereWithAggregatesInput[];
197
+ OR?: Prisma.RunIssueStatusScalarWhereWithAggregatesInput[];
198
+ NOT?: Prisma.RunIssueStatusScalarWhereWithAggregatesInput | Prisma.RunIssueStatusScalarWhereWithAggregatesInput[];
199
+ runId?: Prisma.StringWithAggregatesFilter<"RunIssueStatus"> | string;
200
+ provider?: Prisma.StringWithAggregatesFilter<"RunIssueStatus"> | string;
201
+ issueKey?: Prisma.StringWithAggregatesFilter<"RunIssueStatus"> | string;
202
+ commentId?: Prisma.StringNullableWithAggregatesFilter<"RunIssueStatus"> | string | null;
203
+ visibilityRole?: Prisma.StringNullableWithAggregatesFilter<"RunIssueStatus"> | string | null;
204
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"RunIssueStatus"> | Date | string;
205
+ completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RunIssueStatus"> | Date | string | null;
206
+ };
207
+ export type RunIssueStatusCreateInput = {
208
+ provider: string;
209
+ issueKey: string;
210
+ commentId?: string | null;
211
+ visibilityRole?: string | null;
212
+ createdAt?: Date | string;
213
+ completedAt?: Date | string | null;
214
+ run: Prisma.RunCreateNestedOneWithoutIssueStatusInput;
215
+ };
216
+ export type RunIssueStatusUncheckedCreateInput = {
217
+ runId: string;
218
+ provider: string;
219
+ issueKey: string;
220
+ commentId?: string | null;
221
+ visibilityRole?: string | null;
222
+ createdAt?: Date | string;
223
+ completedAt?: Date | string | null;
224
+ };
225
+ export type RunIssueStatusUpdateInput = {
226
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
227
+ issueKey?: Prisma.StringFieldUpdateOperationsInput | string;
228
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
229
+ visibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
230
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
231
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
232
+ run?: Prisma.RunUpdateOneRequiredWithoutIssueStatusNestedInput;
233
+ };
234
+ export type RunIssueStatusUncheckedUpdateInput = {
235
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
236
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
237
+ issueKey?: Prisma.StringFieldUpdateOperationsInput | string;
238
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
239
+ visibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
240
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
241
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
242
+ };
243
+ export type RunIssueStatusCreateManyInput = {
244
+ runId: string;
245
+ provider: string;
246
+ issueKey: string;
247
+ commentId?: string | null;
248
+ visibilityRole?: string | null;
249
+ createdAt?: Date | string;
250
+ completedAt?: Date | string | null;
251
+ };
252
+ export type RunIssueStatusUpdateManyMutationInput = {
253
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
254
+ issueKey?: Prisma.StringFieldUpdateOperationsInput | string;
255
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
256
+ visibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
257
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
258
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
259
+ };
260
+ export type RunIssueStatusUncheckedUpdateManyInput = {
261
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
262
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
263
+ issueKey?: Prisma.StringFieldUpdateOperationsInput | string;
264
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
265
+ visibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
266
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
267
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
268
+ };
269
+ export type RunIssueStatusNullableScalarRelationFilter = {
270
+ is?: Prisma.RunIssueStatusWhereInput | null;
271
+ isNot?: Prisma.RunIssueStatusWhereInput | null;
272
+ };
273
+ export type RunIssueStatusCountOrderByAggregateInput = {
274
+ runId?: Prisma.SortOrder;
275
+ provider?: Prisma.SortOrder;
276
+ issueKey?: Prisma.SortOrder;
277
+ commentId?: Prisma.SortOrder;
278
+ visibilityRole?: Prisma.SortOrder;
279
+ createdAt?: Prisma.SortOrder;
280
+ completedAt?: Prisma.SortOrder;
281
+ };
282
+ export type RunIssueStatusMaxOrderByAggregateInput = {
283
+ runId?: Prisma.SortOrder;
284
+ provider?: Prisma.SortOrder;
285
+ issueKey?: Prisma.SortOrder;
286
+ commentId?: Prisma.SortOrder;
287
+ visibilityRole?: Prisma.SortOrder;
288
+ createdAt?: Prisma.SortOrder;
289
+ completedAt?: Prisma.SortOrder;
290
+ };
291
+ export type RunIssueStatusMinOrderByAggregateInput = {
292
+ runId?: Prisma.SortOrder;
293
+ provider?: Prisma.SortOrder;
294
+ issueKey?: Prisma.SortOrder;
295
+ commentId?: Prisma.SortOrder;
296
+ visibilityRole?: Prisma.SortOrder;
297
+ createdAt?: Prisma.SortOrder;
298
+ completedAt?: Prisma.SortOrder;
299
+ };
300
+ export type RunIssueStatusCreateNestedOneWithoutRunInput = {
301
+ create?: Prisma.XOR<Prisma.RunIssueStatusCreateWithoutRunInput, Prisma.RunIssueStatusUncheckedCreateWithoutRunInput>;
302
+ connectOrCreate?: Prisma.RunIssueStatusCreateOrConnectWithoutRunInput;
303
+ connect?: Prisma.RunIssueStatusWhereUniqueInput;
304
+ };
305
+ export type RunIssueStatusUncheckedCreateNestedOneWithoutRunInput = {
306
+ create?: Prisma.XOR<Prisma.RunIssueStatusCreateWithoutRunInput, Prisma.RunIssueStatusUncheckedCreateWithoutRunInput>;
307
+ connectOrCreate?: Prisma.RunIssueStatusCreateOrConnectWithoutRunInput;
308
+ connect?: Prisma.RunIssueStatusWhereUniqueInput;
309
+ };
310
+ export type RunIssueStatusUpdateOneWithoutRunNestedInput = {
311
+ create?: Prisma.XOR<Prisma.RunIssueStatusCreateWithoutRunInput, Prisma.RunIssueStatusUncheckedCreateWithoutRunInput>;
312
+ connectOrCreate?: Prisma.RunIssueStatusCreateOrConnectWithoutRunInput;
313
+ upsert?: Prisma.RunIssueStatusUpsertWithoutRunInput;
314
+ disconnect?: Prisma.RunIssueStatusWhereInput | boolean;
315
+ delete?: Prisma.RunIssueStatusWhereInput | boolean;
316
+ connect?: Prisma.RunIssueStatusWhereUniqueInput;
317
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunIssueStatusUpdateToOneWithWhereWithoutRunInput, Prisma.RunIssueStatusUpdateWithoutRunInput>, Prisma.RunIssueStatusUncheckedUpdateWithoutRunInput>;
318
+ };
319
+ export type RunIssueStatusUncheckedUpdateOneWithoutRunNestedInput = {
320
+ create?: Prisma.XOR<Prisma.RunIssueStatusCreateWithoutRunInput, Prisma.RunIssueStatusUncheckedCreateWithoutRunInput>;
321
+ connectOrCreate?: Prisma.RunIssueStatusCreateOrConnectWithoutRunInput;
322
+ upsert?: Prisma.RunIssueStatusUpsertWithoutRunInput;
323
+ disconnect?: Prisma.RunIssueStatusWhereInput | boolean;
324
+ delete?: Prisma.RunIssueStatusWhereInput | boolean;
325
+ connect?: Prisma.RunIssueStatusWhereUniqueInput;
326
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RunIssueStatusUpdateToOneWithWhereWithoutRunInput, Prisma.RunIssueStatusUpdateWithoutRunInput>, Prisma.RunIssueStatusUncheckedUpdateWithoutRunInput>;
327
+ };
328
+ export type RunIssueStatusCreateWithoutRunInput = {
329
+ provider: string;
330
+ issueKey: string;
331
+ commentId?: string | null;
332
+ visibilityRole?: string | null;
333
+ createdAt?: Date | string;
334
+ completedAt?: Date | string | null;
335
+ };
336
+ export type RunIssueStatusUncheckedCreateWithoutRunInput = {
337
+ provider: string;
338
+ issueKey: string;
339
+ commentId?: string | null;
340
+ visibilityRole?: string | null;
341
+ createdAt?: Date | string;
342
+ completedAt?: Date | string | null;
343
+ };
344
+ export type RunIssueStatusCreateOrConnectWithoutRunInput = {
345
+ where: Prisma.RunIssueStatusWhereUniqueInput;
346
+ create: Prisma.XOR<Prisma.RunIssueStatusCreateWithoutRunInput, Prisma.RunIssueStatusUncheckedCreateWithoutRunInput>;
347
+ };
348
+ export type RunIssueStatusUpsertWithoutRunInput = {
349
+ update: Prisma.XOR<Prisma.RunIssueStatusUpdateWithoutRunInput, Prisma.RunIssueStatusUncheckedUpdateWithoutRunInput>;
350
+ create: Prisma.XOR<Prisma.RunIssueStatusCreateWithoutRunInput, Prisma.RunIssueStatusUncheckedCreateWithoutRunInput>;
351
+ where?: Prisma.RunIssueStatusWhereInput;
352
+ };
353
+ export type RunIssueStatusUpdateToOneWithWhereWithoutRunInput = {
354
+ where?: Prisma.RunIssueStatusWhereInput;
355
+ data: Prisma.XOR<Prisma.RunIssueStatusUpdateWithoutRunInput, Prisma.RunIssueStatusUncheckedUpdateWithoutRunInput>;
356
+ };
357
+ export type RunIssueStatusUpdateWithoutRunInput = {
358
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
359
+ issueKey?: Prisma.StringFieldUpdateOperationsInput | string;
360
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
361
+ visibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
362
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
363
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
364
+ };
365
+ export type RunIssueStatusUncheckedUpdateWithoutRunInput = {
366
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
367
+ issueKey?: Prisma.StringFieldUpdateOperationsInput | string;
368
+ commentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
369
+ visibilityRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
370
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
371
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
372
+ };
373
+ export type RunIssueStatusSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
374
+ runId?: boolean;
375
+ provider?: boolean;
376
+ issueKey?: boolean;
377
+ commentId?: boolean;
378
+ visibilityRole?: boolean;
379
+ createdAt?: boolean;
380
+ completedAt?: boolean;
381
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
382
+ }, ExtArgs["result"]["runIssueStatus"]>;
383
+ export type RunIssueStatusSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
384
+ runId?: boolean;
385
+ provider?: boolean;
386
+ issueKey?: boolean;
387
+ commentId?: boolean;
388
+ visibilityRole?: boolean;
389
+ createdAt?: boolean;
390
+ completedAt?: boolean;
391
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
392
+ }, ExtArgs["result"]["runIssueStatus"]>;
393
+ export type RunIssueStatusSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
394
+ runId?: boolean;
395
+ provider?: boolean;
396
+ issueKey?: boolean;
397
+ commentId?: boolean;
398
+ visibilityRole?: boolean;
399
+ createdAt?: boolean;
400
+ completedAt?: boolean;
401
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
402
+ }, ExtArgs["result"]["runIssueStatus"]>;
403
+ export type RunIssueStatusSelectScalar = {
404
+ runId?: boolean;
405
+ provider?: boolean;
406
+ issueKey?: boolean;
407
+ commentId?: boolean;
408
+ visibilityRole?: boolean;
409
+ createdAt?: boolean;
410
+ completedAt?: boolean;
411
+ };
412
+ export type RunIssueStatusOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "provider" | "issueKey" | "commentId" | "visibilityRole" | "createdAt" | "completedAt", ExtArgs["result"]["runIssueStatus"]>;
413
+ export type RunIssueStatusInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
414
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
415
+ };
416
+ export type RunIssueStatusIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
417
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
418
+ };
419
+ export type RunIssueStatusIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
420
+ run?: boolean | Prisma.RunDefaultArgs<ExtArgs>;
421
+ };
422
+ export type $RunIssueStatusPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
423
+ name: "RunIssueStatus";
424
+ objects: {
425
+ run: Prisma.$RunPayload<ExtArgs>;
426
+ };
427
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
428
+ runId: string;
429
+ provider: string;
430
+ issueKey: string;
431
+ /**
432
+ * Null until the "working on it" comment is posted.
433
+ */
434
+ commentId: string | null;
435
+ visibilityRole: string | null;
436
+ createdAt: Date;
437
+ completedAt: Date | null;
438
+ }, ExtArgs["result"]["runIssueStatus"]>;
439
+ composites: {};
440
+ };
441
+ export type RunIssueStatusGetPayload<S extends boolean | null | undefined | RunIssueStatusDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload, S>;
442
+ export type RunIssueStatusCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RunIssueStatusFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
443
+ select?: RunIssueStatusCountAggregateInputType | true;
444
+ };
445
+ export interface RunIssueStatusDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
446
+ [K: symbol]: {
447
+ types: Prisma.TypeMap<ExtArgs>['model']['RunIssueStatus'];
448
+ meta: {
449
+ name: 'RunIssueStatus';
450
+ };
451
+ };
452
+ /**
453
+ * Find zero or one RunIssueStatus that matches the filter.
454
+ * @param {RunIssueStatusFindUniqueArgs} args - Arguments to find a RunIssueStatus
455
+ * @example
456
+ * // Get one RunIssueStatus
457
+ * const runIssueStatus = await prisma.runIssueStatus.findUnique({
458
+ * where: {
459
+ * // ... provide filter here
460
+ * }
461
+ * })
462
+ */
463
+ findUnique<T extends RunIssueStatusFindUniqueArgs>(args: Prisma.SelectSubset<T, RunIssueStatusFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
464
+ /**
465
+ * Find one RunIssueStatus that matches the filter or throw an error with `error.code='P2025'`
466
+ * if no matches were found.
467
+ * @param {RunIssueStatusFindUniqueOrThrowArgs} args - Arguments to find a RunIssueStatus
468
+ * @example
469
+ * // Get one RunIssueStatus
470
+ * const runIssueStatus = await prisma.runIssueStatus.findUniqueOrThrow({
471
+ * where: {
472
+ * // ... provide filter here
473
+ * }
474
+ * })
475
+ */
476
+ findUniqueOrThrow<T extends RunIssueStatusFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RunIssueStatusFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
477
+ /**
478
+ * Find the first RunIssueStatus that matches the filter.
479
+ * Note, that providing `undefined` is treated as the value not being there.
480
+ * Read more here: https://pris.ly/d/null-undefined
481
+ * @param {RunIssueStatusFindFirstArgs} args - Arguments to find a RunIssueStatus
482
+ * @example
483
+ * // Get one RunIssueStatus
484
+ * const runIssueStatus = await prisma.runIssueStatus.findFirst({
485
+ * where: {
486
+ * // ... provide filter here
487
+ * }
488
+ * })
489
+ */
490
+ findFirst<T extends RunIssueStatusFindFirstArgs>(args?: Prisma.SelectSubset<T, RunIssueStatusFindFirstArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
491
+ /**
492
+ * Find the first RunIssueStatus that matches the filter or
493
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
494
+ * Note, that providing `undefined` is treated as the value not being there.
495
+ * Read more here: https://pris.ly/d/null-undefined
496
+ * @param {RunIssueStatusFindFirstOrThrowArgs} args - Arguments to find a RunIssueStatus
497
+ * @example
498
+ * // Get one RunIssueStatus
499
+ * const runIssueStatus = await prisma.runIssueStatus.findFirstOrThrow({
500
+ * where: {
501
+ * // ... provide filter here
502
+ * }
503
+ * })
504
+ */
505
+ findFirstOrThrow<T extends RunIssueStatusFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RunIssueStatusFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
506
+ /**
507
+ * Find zero or more RunIssueStatuses that matches the filter.
508
+ * Note, that providing `undefined` is treated as the value not being there.
509
+ * Read more here: https://pris.ly/d/null-undefined
510
+ * @param {RunIssueStatusFindManyArgs} args - Arguments to filter and select certain fields only.
511
+ * @example
512
+ * // Get all RunIssueStatuses
513
+ * const runIssueStatuses = await prisma.runIssueStatus.findMany()
514
+ *
515
+ * // Get first 10 RunIssueStatuses
516
+ * const runIssueStatuses = await prisma.runIssueStatus.findMany({ take: 10 })
517
+ *
518
+ * // Only select the `runId`
519
+ * const runIssueStatusWithRunIdOnly = await prisma.runIssueStatus.findMany({ select: { runId: true } })
520
+ *
521
+ */
522
+ findMany<T extends RunIssueStatusFindManyArgs>(args?: Prisma.SelectSubset<T, RunIssueStatusFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
523
+ /**
524
+ * Create a RunIssueStatus.
525
+ * @param {RunIssueStatusCreateArgs} args - Arguments to create a RunIssueStatus.
526
+ * @example
527
+ * // Create one RunIssueStatus
528
+ * const RunIssueStatus = await prisma.runIssueStatus.create({
529
+ * data: {
530
+ * // ... data to create a RunIssueStatus
531
+ * }
532
+ * })
533
+ *
534
+ */
535
+ create<T extends RunIssueStatusCreateArgs>(args: Prisma.SelectSubset<T, RunIssueStatusCreateArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
536
+ /**
537
+ * Create many RunIssueStatuses.
538
+ * @param {RunIssueStatusCreateManyArgs} args - Arguments to create many RunIssueStatuses.
539
+ * @example
540
+ * // Create many RunIssueStatuses
541
+ * const runIssueStatus = await prisma.runIssueStatus.createMany({
542
+ * data: [
543
+ * // ... provide data here
544
+ * ]
545
+ * })
546
+ *
547
+ */
548
+ createMany<T extends RunIssueStatusCreateManyArgs>(args?: Prisma.SelectSubset<T, RunIssueStatusCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
549
+ /**
550
+ * Create many RunIssueStatuses and returns the data saved in the database.
551
+ * @param {RunIssueStatusCreateManyAndReturnArgs} args - Arguments to create many RunIssueStatuses.
552
+ * @example
553
+ * // Create many RunIssueStatuses
554
+ * const runIssueStatus = await prisma.runIssueStatus.createManyAndReturn({
555
+ * data: [
556
+ * // ... provide data here
557
+ * ]
558
+ * })
559
+ *
560
+ * // Create many RunIssueStatuses and only return the `runId`
561
+ * const runIssueStatusWithRunIdOnly = await prisma.runIssueStatus.createManyAndReturn({
562
+ * select: { runId: true },
563
+ * data: [
564
+ * // ... provide data here
565
+ * ]
566
+ * })
567
+ * Note, that providing `undefined` is treated as the value not being there.
568
+ * Read more here: https://pris.ly/d/null-undefined
569
+ *
570
+ */
571
+ createManyAndReturn<T extends RunIssueStatusCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RunIssueStatusCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
572
+ /**
573
+ * Delete a RunIssueStatus.
574
+ * @param {RunIssueStatusDeleteArgs} args - Arguments to delete one RunIssueStatus.
575
+ * @example
576
+ * // Delete one RunIssueStatus
577
+ * const RunIssueStatus = await prisma.runIssueStatus.delete({
578
+ * where: {
579
+ * // ... filter to delete one RunIssueStatus
580
+ * }
581
+ * })
582
+ *
583
+ */
584
+ delete<T extends RunIssueStatusDeleteArgs>(args: Prisma.SelectSubset<T, RunIssueStatusDeleteArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
585
+ /**
586
+ * Update one RunIssueStatus.
587
+ * @param {RunIssueStatusUpdateArgs} args - Arguments to update one RunIssueStatus.
588
+ * @example
589
+ * // Update one RunIssueStatus
590
+ * const runIssueStatus = await prisma.runIssueStatus.update({
591
+ * where: {
592
+ * // ... provide filter here
593
+ * },
594
+ * data: {
595
+ * // ... provide data here
596
+ * }
597
+ * })
598
+ *
599
+ */
600
+ update<T extends RunIssueStatusUpdateArgs>(args: Prisma.SelectSubset<T, RunIssueStatusUpdateArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
601
+ /**
602
+ * Delete zero or more RunIssueStatuses.
603
+ * @param {RunIssueStatusDeleteManyArgs} args - Arguments to filter RunIssueStatuses to delete.
604
+ * @example
605
+ * // Delete a few RunIssueStatuses
606
+ * const { count } = await prisma.runIssueStatus.deleteMany({
607
+ * where: {
608
+ * // ... provide filter here
609
+ * }
610
+ * })
611
+ *
612
+ */
613
+ deleteMany<T extends RunIssueStatusDeleteManyArgs>(args?: Prisma.SelectSubset<T, RunIssueStatusDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
614
+ /**
615
+ * Update zero or more RunIssueStatuses.
616
+ * Note, that providing `undefined` is treated as the value not being there.
617
+ * Read more here: https://pris.ly/d/null-undefined
618
+ * @param {RunIssueStatusUpdateManyArgs} args - Arguments to update one or more rows.
619
+ * @example
620
+ * // Update many RunIssueStatuses
621
+ * const runIssueStatus = await prisma.runIssueStatus.updateMany({
622
+ * where: {
623
+ * // ... provide filter here
624
+ * },
625
+ * data: {
626
+ * // ... provide data here
627
+ * }
628
+ * })
629
+ *
630
+ */
631
+ updateMany<T extends RunIssueStatusUpdateManyArgs>(args: Prisma.SelectSubset<T, RunIssueStatusUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
632
+ /**
633
+ * Update zero or more RunIssueStatuses and returns the data updated in the database.
634
+ * @param {RunIssueStatusUpdateManyAndReturnArgs} args - Arguments to update many RunIssueStatuses.
635
+ * @example
636
+ * // Update many RunIssueStatuses
637
+ * const runIssueStatus = await prisma.runIssueStatus.updateManyAndReturn({
638
+ * where: {
639
+ * // ... provide filter here
640
+ * },
641
+ * data: [
642
+ * // ... provide data here
643
+ * ]
644
+ * })
645
+ *
646
+ * // Update zero or more RunIssueStatuses and only return the `runId`
647
+ * const runIssueStatusWithRunIdOnly = await prisma.runIssueStatus.updateManyAndReturn({
648
+ * select: { runId: true },
649
+ * where: {
650
+ * // ... provide filter here
651
+ * },
652
+ * data: [
653
+ * // ... provide data here
654
+ * ]
655
+ * })
656
+ * Note, that providing `undefined` is treated as the value not being there.
657
+ * Read more here: https://pris.ly/d/null-undefined
658
+ *
659
+ */
660
+ updateManyAndReturn<T extends RunIssueStatusUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RunIssueStatusUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
661
+ /**
662
+ * Create or update one RunIssueStatus.
663
+ * @param {RunIssueStatusUpsertArgs} args - Arguments to update or create a RunIssueStatus.
664
+ * @example
665
+ * // Update or create a RunIssueStatus
666
+ * const runIssueStatus = await prisma.runIssueStatus.upsert({
667
+ * create: {
668
+ * // ... data to create a RunIssueStatus
669
+ * },
670
+ * update: {
671
+ * // ... in case it already exists, update
672
+ * },
673
+ * where: {
674
+ * // ... the filter for the RunIssueStatus we want to update
675
+ * }
676
+ * })
677
+ */
678
+ upsert<T extends RunIssueStatusUpsertArgs>(args: Prisma.SelectSubset<T, RunIssueStatusUpsertArgs<ExtArgs>>): Prisma.Prisma__RunIssueStatusClient<runtime.Types.Result.GetResult<Prisma.$RunIssueStatusPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
679
+ /**
680
+ * Count the number of RunIssueStatuses.
681
+ * Note, that providing `undefined` is treated as the value not being there.
682
+ * Read more here: https://pris.ly/d/null-undefined
683
+ * @param {RunIssueStatusCountArgs} args - Arguments to filter RunIssueStatuses to count.
684
+ * @example
685
+ * // Count the number of RunIssueStatuses
686
+ * const count = await prisma.runIssueStatus.count({
687
+ * where: {
688
+ * // ... the filter for the RunIssueStatuses we want to count
689
+ * }
690
+ * })
691
+ **/
692
+ count<T extends RunIssueStatusCountArgs>(args?: Prisma.Subset<T, RunIssueStatusCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RunIssueStatusCountAggregateOutputType> : number>;
693
+ /**
694
+ * Allows you to perform aggregations operations on a RunIssueStatus.
695
+ * Note, that providing `undefined` is treated as the value not being there.
696
+ * Read more here: https://pris.ly/d/null-undefined
697
+ * @param {RunIssueStatusAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
698
+ * @example
699
+ * // Ordered by age ascending
700
+ * // Where email contains prisma.io
701
+ * // Limited to the 10 users
702
+ * const aggregations = await prisma.user.aggregate({
703
+ * _avg: {
704
+ * age: true,
705
+ * },
706
+ * where: {
707
+ * email: {
708
+ * contains: "prisma.io",
709
+ * },
710
+ * },
711
+ * orderBy: {
712
+ * age: "asc",
713
+ * },
714
+ * take: 10,
715
+ * })
716
+ **/
717
+ aggregate<T extends RunIssueStatusAggregateArgs>(args: Prisma.Subset<T, RunIssueStatusAggregateArgs>): Prisma.PrismaPromise<GetRunIssueStatusAggregateType<T>>;
718
+ /**
719
+ * Group by RunIssueStatus.
720
+ * Note, that providing `undefined` is treated as the value not being there.
721
+ * Read more here: https://pris.ly/d/null-undefined
722
+ * @param {RunIssueStatusGroupByArgs} args - Group by arguments.
723
+ * @example
724
+ * // Group by city, order by createdAt, get count
725
+ * const result = await prisma.user.groupBy({
726
+ * by: ['city', 'createdAt'],
727
+ * orderBy: {
728
+ * createdAt: true
729
+ * },
730
+ * _count: {
731
+ * _all: true
732
+ * },
733
+ * })
734
+ *
735
+ **/
736
+ groupBy<T extends RunIssueStatusGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
737
+ orderBy: RunIssueStatusGroupByArgs['orderBy'];
738
+ } : {
739
+ orderBy?: RunIssueStatusGroupByArgs['orderBy'];
740
+ }, 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 ? {
741
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
742
+ Error,
743
+ 'Field ',
744
+ P,
745
+ ` in "having" needs to be provided in "by"`
746
+ ];
747
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
748
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
749
+ }[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 ? {} : {
750
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
751
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
752
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
753
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, RunIssueStatusGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRunIssueStatusGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
754
+ /**
755
+ * Fields of the RunIssueStatus model
756
+ */
757
+ readonly fields: RunIssueStatusFieldRefs;
758
+ }
759
+ /**
760
+ * The delegate class that acts as a "Promise-like" for RunIssueStatus.
761
+ * Why is this prefixed with `Prisma__`?
762
+ * Because we want to prevent naming conflicts as mentioned in
763
+ * https://github.com/prisma/prisma-client-js/issues/707
764
+ */
765
+ export interface Prisma__RunIssueStatusClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
766
+ readonly [Symbol.toStringTag]: "PrismaPromise";
767
+ run<T extends Prisma.RunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RunDefaultArgs<ExtArgs>>): Prisma.Prisma__RunClient<runtime.Types.Result.GetResult<Prisma.$RunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
768
+ /**
769
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
770
+ * @param onfulfilled The callback to execute when the Promise is resolved.
771
+ * @param onrejected The callback to execute when the Promise is rejected.
772
+ * @returns A Promise for the completion of which ever callback is executed.
773
+ */
774
+ 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>;
775
+ /**
776
+ * Attaches a callback for only the rejection of the Promise.
777
+ * @param onrejected The callback to execute when the Promise is rejected.
778
+ * @returns A Promise for the completion of the callback.
779
+ */
780
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
781
+ /**
782
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
783
+ * resolved value cannot be modified from the callback.
784
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
785
+ * @returns A Promise for the completion of the callback.
786
+ */
787
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
788
+ }
789
+ /**
790
+ * Fields of the RunIssueStatus model
791
+ */
792
+ export interface RunIssueStatusFieldRefs {
793
+ readonly runId: Prisma.FieldRef<"RunIssueStatus", 'String'>;
794
+ readonly provider: Prisma.FieldRef<"RunIssueStatus", 'String'>;
795
+ readonly issueKey: Prisma.FieldRef<"RunIssueStatus", 'String'>;
796
+ readonly commentId: Prisma.FieldRef<"RunIssueStatus", 'String'>;
797
+ readonly visibilityRole: Prisma.FieldRef<"RunIssueStatus", 'String'>;
798
+ readonly createdAt: Prisma.FieldRef<"RunIssueStatus", 'DateTime'>;
799
+ readonly completedAt: Prisma.FieldRef<"RunIssueStatus", 'DateTime'>;
800
+ }
801
+ /**
802
+ * RunIssueStatus findUnique
803
+ */
804
+ export type RunIssueStatusFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
805
+ /**
806
+ * Select specific fields to fetch from the RunIssueStatus
807
+ */
808
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
809
+ /**
810
+ * Omit specific fields from the RunIssueStatus
811
+ */
812
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
813
+ /**
814
+ * Choose, which related nodes to fetch as well
815
+ */
816
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
817
+ /**
818
+ * Filter, which RunIssueStatus to fetch.
819
+ */
820
+ where: Prisma.RunIssueStatusWhereUniqueInput;
821
+ };
822
+ /**
823
+ * RunIssueStatus findUniqueOrThrow
824
+ */
825
+ export type RunIssueStatusFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
826
+ /**
827
+ * Select specific fields to fetch from the RunIssueStatus
828
+ */
829
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
830
+ /**
831
+ * Omit specific fields from the RunIssueStatus
832
+ */
833
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
834
+ /**
835
+ * Choose, which related nodes to fetch as well
836
+ */
837
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
838
+ /**
839
+ * Filter, which RunIssueStatus to fetch.
840
+ */
841
+ where: Prisma.RunIssueStatusWhereUniqueInput;
842
+ };
843
+ /**
844
+ * RunIssueStatus findFirst
845
+ */
846
+ export type RunIssueStatusFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
847
+ /**
848
+ * Select specific fields to fetch from the RunIssueStatus
849
+ */
850
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
851
+ /**
852
+ * Omit specific fields from the RunIssueStatus
853
+ */
854
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
855
+ /**
856
+ * Choose, which related nodes to fetch as well
857
+ */
858
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
859
+ /**
860
+ * Filter, which RunIssueStatus to fetch.
861
+ */
862
+ where?: Prisma.RunIssueStatusWhereInput;
863
+ /**
864
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
865
+ *
866
+ * Determine the order of RunIssueStatuses to fetch.
867
+ */
868
+ orderBy?: Prisma.RunIssueStatusOrderByWithRelationInput | Prisma.RunIssueStatusOrderByWithRelationInput[];
869
+ /**
870
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
871
+ *
872
+ * Sets the position for searching for RunIssueStatuses.
873
+ */
874
+ cursor?: Prisma.RunIssueStatusWhereUniqueInput;
875
+ /**
876
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
877
+ *
878
+ * Take `±n` RunIssueStatuses from the position of the cursor.
879
+ */
880
+ take?: number;
881
+ /**
882
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
883
+ *
884
+ * Skip the first `n` RunIssueStatuses.
885
+ */
886
+ skip?: number;
887
+ /**
888
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
889
+ *
890
+ * Filter by unique combinations of RunIssueStatuses.
891
+ */
892
+ distinct?: Prisma.RunIssueStatusScalarFieldEnum | Prisma.RunIssueStatusScalarFieldEnum[];
893
+ };
894
+ /**
895
+ * RunIssueStatus findFirstOrThrow
896
+ */
897
+ export type RunIssueStatusFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
898
+ /**
899
+ * Select specific fields to fetch from the RunIssueStatus
900
+ */
901
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
902
+ /**
903
+ * Omit specific fields from the RunIssueStatus
904
+ */
905
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
906
+ /**
907
+ * Choose, which related nodes to fetch as well
908
+ */
909
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
910
+ /**
911
+ * Filter, which RunIssueStatus to fetch.
912
+ */
913
+ where?: Prisma.RunIssueStatusWhereInput;
914
+ /**
915
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
916
+ *
917
+ * Determine the order of RunIssueStatuses to fetch.
918
+ */
919
+ orderBy?: Prisma.RunIssueStatusOrderByWithRelationInput | Prisma.RunIssueStatusOrderByWithRelationInput[];
920
+ /**
921
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
922
+ *
923
+ * Sets the position for searching for RunIssueStatuses.
924
+ */
925
+ cursor?: Prisma.RunIssueStatusWhereUniqueInput;
926
+ /**
927
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
928
+ *
929
+ * Take `±n` RunIssueStatuses from the position of the cursor.
930
+ */
931
+ take?: number;
932
+ /**
933
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
934
+ *
935
+ * Skip the first `n` RunIssueStatuses.
936
+ */
937
+ skip?: number;
938
+ /**
939
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
940
+ *
941
+ * Filter by unique combinations of RunIssueStatuses.
942
+ */
943
+ distinct?: Prisma.RunIssueStatusScalarFieldEnum | Prisma.RunIssueStatusScalarFieldEnum[];
944
+ };
945
+ /**
946
+ * RunIssueStatus findMany
947
+ */
948
+ export type RunIssueStatusFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
949
+ /**
950
+ * Select specific fields to fetch from the RunIssueStatus
951
+ */
952
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
953
+ /**
954
+ * Omit specific fields from the RunIssueStatus
955
+ */
956
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
957
+ /**
958
+ * Choose, which related nodes to fetch as well
959
+ */
960
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
961
+ /**
962
+ * Filter, which RunIssueStatuses to fetch.
963
+ */
964
+ where?: Prisma.RunIssueStatusWhereInput;
965
+ /**
966
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
967
+ *
968
+ * Determine the order of RunIssueStatuses to fetch.
969
+ */
970
+ orderBy?: Prisma.RunIssueStatusOrderByWithRelationInput | Prisma.RunIssueStatusOrderByWithRelationInput[];
971
+ /**
972
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
973
+ *
974
+ * Sets the position for listing RunIssueStatuses.
975
+ */
976
+ cursor?: Prisma.RunIssueStatusWhereUniqueInput;
977
+ /**
978
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
979
+ *
980
+ * Take `±n` RunIssueStatuses from the position of the cursor.
981
+ */
982
+ take?: number;
983
+ /**
984
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
985
+ *
986
+ * Skip the first `n` RunIssueStatuses.
987
+ */
988
+ skip?: number;
989
+ /**
990
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
991
+ *
992
+ * Filter by unique combinations of RunIssueStatuses.
993
+ */
994
+ distinct?: Prisma.RunIssueStatusScalarFieldEnum | Prisma.RunIssueStatusScalarFieldEnum[];
995
+ };
996
+ /**
997
+ * RunIssueStatus create
998
+ */
999
+ export type RunIssueStatusCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1000
+ /**
1001
+ * Select specific fields to fetch from the RunIssueStatus
1002
+ */
1003
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
1004
+ /**
1005
+ * Omit specific fields from the RunIssueStatus
1006
+ */
1007
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
1008
+ /**
1009
+ * Choose, which related nodes to fetch as well
1010
+ */
1011
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
1012
+ /**
1013
+ * The data needed to create a RunIssueStatus.
1014
+ */
1015
+ data: Prisma.XOR<Prisma.RunIssueStatusCreateInput, Prisma.RunIssueStatusUncheckedCreateInput>;
1016
+ };
1017
+ /**
1018
+ * RunIssueStatus createMany
1019
+ */
1020
+ export type RunIssueStatusCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1021
+ /**
1022
+ * The data used to create many RunIssueStatuses.
1023
+ */
1024
+ data: Prisma.RunIssueStatusCreateManyInput | Prisma.RunIssueStatusCreateManyInput[];
1025
+ skipDuplicates?: boolean;
1026
+ };
1027
+ /**
1028
+ * RunIssueStatus createManyAndReturn
1029
+ */
1030
+ export type RunIssueStatusCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1031
+ /**
1032
+ * Select specific fields to fetch from the RunIssueStatus
1033
+ */
1034
+ select?: Prisma.RunIssueStatusSelectCreateManyAndReturn<ExtArgs> | null;
1035
+ /**
1036
+ * Omit specific fields from the RunIssueStatus
1037
+ */
1038
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
1039
+ /**
1040
+ * The data used to create many RunIssueStatuses.
1041
+ */
1042
+ data: Prisma.RunIssueStatusCreateManyInput | Prisma.RunIssueStatusCreateManyInput[];
1043
+ skipDuplicates?: boolean;
1044
+ /**
1045
+ * Choose, which related nodes to fetch as well
1046
+ */
1047
+ include?: Prisma.RunIssueStatusIncludeCreateManyAndReturn<ExtArgs> | null;
1048
+ };
1049
+ /**
1050
+ * RunIssueStatus update
1051
+ */
1052
+ export type RunIssueStatusUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1053
+ /**
1054
+ * Select specific fields to fetch from the RunIssueStatus
1055
+ */
1056
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
1057
+ /**
1058
+ * Omit specific fields from the RunIssueStatus
1059
+ */
1060
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
1061
+ /**
1062
+ * Choose, which related nodes to fetch as well
1063
+ */
1064
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
1065
+ /**
1066
+ * The data needed to update a RunIssueStatus.
1067
+ */
1068
+ data: Prisma.XOR<Prisma.RunIssueStatusUpdateInput, Prisma.RunIssueStatusUncheckedUpdateInput>;
1069
+ /**
1070
+ * Choose, which RunIssueStatus to update.
1071
+ */
1072
+ where: Prisma.RunIssueStatusWhereUniqueInput;
1073
+ };
1074
+ /**
1075
+ * RunIssueStatus updateMany
1076
+ */
1077
+ export type RunIssueStatusUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1078
+ /**
1079
+ * The data used to update RunIssueStatuses.
1080
+ */
1081
+ data: Prisma.XOR<Prisma.RunIssueStatusUpdateManyMutationInput, Prisma.RunIssueStatusUncheckedUpdateManyInput>;
1082
+ /**
1083
+ * Filter which RunIssueStatuses to update
1084
+ */
1085
+ where?: Prisma.RunIssueStatusWhereInput;
1086
+ /**
1087
+ * Limit how many RunIssueStatuses to update.
1088
+ */
1089
+ limit?: number;
1090
+ };
1091
+ /**
1092
+ * RunIssueStatus updateManyAndReturn
1093
+ */
1094
+ export type RunIssueStatusUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1095
+ /**
1096
+ * Select specific fields to fetch from the RunIssueStatus
1097
+ */
1098
+ select?: Prisma.RunIssueStatusSelectUpdateManyAndReturn<ExtArgs> | null;
1099
+ /**
1100
+ * Omit specific fields from the RunIssueStatus
1101
+ */
1102
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
1103
+ /**
1104
+ * The data used to update RunIssueStatuses.
1105
+ */
1106
+ data: Prisma.XOR<Prisma.RunIssueStatusUpdateManyMutationInput, Prisma.RunIssueStatusUncheckedUpdateManyInput>;
1107
+ /**
1108
+ * Filter which RunIssueStatuses to update
1109
+ */
1110
+ where?: Prisma.RunIssueStatusWhereInput;
1111
+ /**
1112
+ * Limit how many RunIssueStatuses to update.
1113
+ */
1114
+ limit?: number;
1115
+ /**
1116
+ * Choose, which related nodes to fetch as well
1117
+ */
1118
+ include?: Prisma.RunIssueStatusIncludeUpdateManyAndReturn<ExtArgs> | null;
1119
+ };
1120
+ /**
1121
+ * RunIssueStatus upsert
1122
+ */
1123
+ export type RunIssueStatusUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1124
+ /**
1125
+ * Select specific fields to fetch from the RunIssueStatus
1126
+ */
1127
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
1128
+ /**
1129
+ * Omit specific fields from the RunIssueStatus
1130
+ */
1131
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
1132
+ /**
1133
+ * Choose, which related nodes to fetch as well
1134
+ */
1135
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
1136
+ /**
1137
+ * The filter to search for the RunIssueStatus to update in case it exists.
1138
+ */
1139
+ where: Prisma.RunIssueStatusWhereUniqueInput;
1140
+ /**
1141
+ * In case the RunIssueStatus found by the `where` argument doesn't exist, create a new RunIssueStatus with this data.
1142
+ */
1143
+ create: Prisma.XOR<Prisma.RunIssueStatusCreateInput, Prisma.RunIssueStatusUncheckedCreateInput>;
1144
+ /**
1145
+ * In case the RunIssueStatus was found with the provided `where` argument, update it with this data.
1146
+ */
1147
+ update: Prisma.XOR<Prisma.RunIssueStatusUpdateInput, Prisma.RunIssueStatusUncheckedUpdateInput>;
1148
+ };
1149
+ /**
1150
+ * RunIssueStatus delete
1151
+ */
1152
+ export type RunIssueStatusDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1153
+ /**
1154
+ * Select specific fields to fetch from the RunIssueStatus
1155
+ */
1156
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
1157
+ /**
1158
+ * Omit specific fields from the RunIssueStatus
1159
+ */
1160
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
1161
+ /**
1162
+ * Choose, which related nodes to fetch as well
1163
+ */
1164
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
1165
+ /**
1166
+ * Filter which RunIssueStatus to delete.
1167
+ */
1168
+ where: Prisma.RunIssueStatusWhereUniqueInput;
1169
+ };
1170
+ /**
1171
+ * RunIssueStatus deleteMany
1172
+ */
1173
+ export type RunIssueStatusDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1174
+ /**
1175
+ * Filter which RunIssueStatuses to delete
1176
+ */
1177
+ where?: Prisma.RunIssueStatusWhereInput;
1178
+ /**
1179
+ * Limit how many RunIssueStatuses to delete.
1180
+ */
1181
+ limit?: number;
1182
+ };
1183
+ /**
1184
+ * RunIssueStatus without action
1185
+ */
1186
+ export type RunIssueStatusDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1187
+ /**
1188
+ * Select specific fields to fetch from the RunIssueStatus
1189
+ */
1190
+ select?: Prisma.RunIssueStatusSelect<ExtArgs> | null;
1191
+ /**
1192
+ * Omit specific fields from the RunIssueStatus
1193
+ */
1194
+ omit?: Prisma.RunIssueStatusOmit<ExtArgs> | null;
1195
+ /**
1196
+ * Choose, which related nodes to fetch as well
1197
+ */
1198
+ include?: Prisma.RunIssueStatusInclude<ExtArgs> | null;
1199
+ };