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