@wardby/cli 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/.env.example +34 -4
  2. package/README.md +41 -4
  3. package/dist/claude-coding-worker/driver.d.ts +6 -1
  4. package/dist/claude-coding-worker/driver.js +27 -1
  5. package/dist/claude-coding-worker/main.js +2 -0
  6. package/dist/claude-coding-worker/tool-socket.d.ts +9 -0
  7. package/dist/claude-coding-worker/tool-socket.js +26 -0
  8. package/dist/cli-help.d.ts +1 -1
  9. package/dist/cli-help.js +13 -4
  10. package/dist/cli.d.ts +1 -1
  11. package/dist/cli.js +219 -29
  12. package/dist/coding/collect-exclude.d.ts +25 -0
  13. package/dist/coding/collect-exclude.js +76 -0
  14. package/dist/coding/profile.d.ts +67 -22
  15. package/dist/coding/profile.js +58 -25
  16. package/dist/coding/protected-path-wording.d.ts +24 -0
  17. package/dist/coding/protected-path-wording.js +55 -0
  18. package/dist/coding/protected-paths.d.ts +31 -0
  19. package/dist/coding/protected-paths.js +48 -0
  20. package/dist/coding/protocol.d.ts +75 -4
  21. package/dist/coding/protocol.js +107 -7
  22. package/dist/coding/registry/adapters.d.ts +2 -0
  23. package/dist/coding/registry/adapters.js +9 -0
  24. package/dist/coding/registry/allowlist.d.ts +9 -0
  25. package/dist/coding/registry/allowlist.js +28 -0
  26. package/dist/coding/registry/json-scan.d.ts +55 -0
  27. package/dist/coding/registry/json-scan.js +191 -0
  28. package/dist/coding/registry/lockfiles.d.ts +6 -0
  29. package/dist/coding/registry/lockfiles.js +89 -0
  30. package/dist/coding/registry/npm-lockfile.d.ts +9 -0
  31. package/dist/coding/registry/npm-lockfile.js +73 -0
  32. package/dist/coding/registry/npm-plan.d.ts +29 -0
  33. package/dist/coding/registry/npm-plan.js +289 -0
  34. package/dist/coding/registry/npm.d.ts +7 -0
  35. package/dist/coding/registry/npm.js +252 -0
  36. package/dist/coding/registry/pypi.d.ts +4 -0
  37. package/dist/coding/registry/pypi.js +210 -0
  38. package/dist/coding/registry/report.d.ts +37 -0
  39. package/dist/coding/registry/report.js +31 -0
  40. package/dist/coding/registry/token.d.ts +4 -0
  41. package/dist/coding/registry/token.js +7 -0
  42. package/dist/coding/registry/types.d.ts +286 -0
  43. package/dist/coding/registry/types.js +19 -0
  44. package/dist/coding/registry/worker-config.d.ts +14 -0
  45. package/dist/coding/registry/worker-config.js +31 -0
  46. package/dist/coding/services/builtins.d.ts +22 -0
  47. package/dist/coding/services/builtins.js +85 -0
  48. package/dist/coding/services/catalog.d.ts +443 -0
  49. package/dist/coding/services/catalog.js +159 -0
  50. package/dist/coding/services/declaration.d.ts +11 -0
  51. package/dist/coding/services/declaration.js +114 -0
  52. package/dist/coding/services/note.d.ts +8 -0
  53. package/dist/coding/services/note.js +15 -0
  54. package/dist/coding/services/resolve.d.ts +25 -0
  55. package/dist/coding/services/resolve.js +50 -0
  56. package/dist/coding/services/wording.d.ts +25 -0
  57. package/dist/coding/services/wording.js +70 -0
  58. package/dist/coding-proxy/main.js +24 -4
  59. package/dist/coding-worker/artifact.d.ts +6 -0
  60. package/dist/coding-worker/debug-trace.d.ts +37 -0
  61. package/dist/coding-worker/debug-trace.js +117 -0
  62. package/dist/coding-worker/driver.d.ts +13 -1
  63. package/dist/coding-worker/driver.js +102 -13
  64. package/dist/coding-worker/errors.js +8 -0
  65. package/dist/coding-worker/main.js +10 -2
  66. package/dist/coding-worker/sdk.d.ts +2 -2
  67. package/dist/coding-worker/sdk.js +7 -2
  68. package/dist/coding-worker/types.d.ts +3 -0
  69. package/dist/config/providers.d.ts +41 -0
  70. package/dist/config/providers.js +66 -0
  71. package/dist/core/budget-groups.d.ts +108 -5
  72. package/dist/core/budget-groups.js +125 -19
  73. package/dist/core/budget-wording.d.ts +22 -0
  74. package/dist/core/budget-wording.js +55 -0
  75. package/dist/core/datastores.js +18 -2
  76. package/dist/core/db.d.ts +5 -1
  77. package/dist/core/db.js +8 -2
  78. package/dist/core/dispatch.d.ts +33 -6
  79. package/dist/core/dispatch.js +260 -43
  80. package/dist/core/engine-native.js +27 -10
  81. package/dist/core/grants.d.ts +86 -0
  82. package/dist/core/grants.js +126 -0
  83. package/dist/core/host-events.d.ts +49 -0
  84. package/dist/core/host-events.js +257 -0
  85. package/dist/core/host-identity-links.d.ts +54 -0
  86. package/dist/core/host-identity-links.js +189 -0
  87. package/dist/core/host-status.d.ts +61 -0
  88. package/dist/core/host-status.js +211 -0
  89. package/dist/core/in-flight-runs.d.ts +8 -0
  90. package/dist/core/in-flight-runs.js +56 -0
  91. package/dist/core/provider-wording.d.ts +12 -0
  92. package/dist/core/provider-wording.js +44 -0
  93. package/dist/core/reconciler.d.ts +38 -2
  94. package/dist/core/reconciler.js +86 -2
  95. package/dist/core/repo-access.d.ts +99 -0
  96. package/dist/core/repo-access.js +136 -0
  97. package/dist/core/review-host-checks.d.ts +11 -0
  98. package/dist/core/review-host-checks.js +41 -0
  99. package/dist/core/review-host-tools.d.ts +47 -0
  100. package/dist/core/review-host-tools.js +347 -0
  101. package/dist/core/run-heartbeat.d.ts +27 -0
  102. package/dist/core/run-heartbeat.js +54 -0
  103. package/dist/core/runner.d.ts +30 -8
  104. package/dist/core/runner.js +237 -40
  105. package/dist/core/secrets.d.ts +11 -2
  106. package/dist/core/secrets.js +25 -6
  107. package/dist/core/subagent-memory-tools.d.ts +1 -1
  108. package/dist/core/subagent-memory-tools.js +16 -3
  109. package/dist/core/tool-admin.d.ts +81 -0
  110. package/dist/core/tool-admin.js +129 -0
  111. package/dist/core/tool-names.d.ts +42 -0
  112. package/dist/core/tool-names.js +64 -0
  113. package/dist/core/untrusted-content.d.ts +32 -0
  114. package/dist/core/untrusted-content.js +72 -0
  115. package/dist/core/webhooks.d.ts +8 -1
  116. package/dist/core/webhooks.js +23 -2
  117. package/dist/generated/prisma/browser.d.ts +100 -0
  118. package/dist/generated/prisma/client.d.ts +100 -0
  119. package/dist/generated/prisma/commonInputTypes.d.ts +30 -0
  120. package/dist/generated/prisma/enums.d.ts +6 -0
  121. package/dist/generated/prisma/enums.js +6 -1
  122. package/dist/generated/prisma/internal/class.d.ts +143 -0
  123. package/dist/generated/prisma/internal/class.js +4 -4
  124. package/dist/generated/prisma/internal/prismaNamespace.d.ts +1746 -577
  125. package/dist/generated/prisma/internal/prismaNamespace.js +179 -6
  126. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +186 -0
  127. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +179 -6
  128. package/dist/generated/prisma/models/Agent.d.ts +294 -1
  129. package/dist/generated/prisma/models/AgentRepository.d.ts +1425 -0
  130. package/dist/generated/prisma/models/AgentRepository.js +1 -0
  131. package/dist/generated/prisma/models/AgentTool.d.ts +95 -1
  132. package/dist/generated/prisma/models/AuthUser.d.ts +56 -1
  133. package/dist/generated/prisma/models/CodingAgentProfile.d.ts +258 -7
  134. package/dist/generated/prisma/models/CodingProxySession.d.ts +123 -2
  135. package/dist/generated/prisma/models/CodingRun.d.ts +1276 -95
  136. package/dist/generated/prisma/models/CodingService.d.ts +1348 -0
  137. package/dist/generated/prisma/models/CodingService.js +1 -0
  138. package/dist/generated/prisma/models/HostEventDelivery.d.ts +946 -0
  139. package/dist/generated/prisma/models/HostEventDelivery.js +1 -0
  140. package/dist/generated/prisma/models/HostIdentity.d.ts +1232 -0
  141. package/dist/generated/prisma/models/HostIdentity.js +1 -0
  142. package/dist/generated/prisma/models/HostIdentityLinkRequest.d.ts +1473 -0
  143. package/dist/generated/prisma/models/HostIdentityLinkRequest.js +1 -0
  144. package/dist/generated/prisma/models/Principal.d.ts +455 -0
  145. package/dist/generated/prisma/models/RegistryAllowance.d.ts +1148 -0
  146. package/dist/generated/prisma/models/RegistryAllowance.js +1 -0
  147. package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +1219 -0
  148. package/dist/generated/prisma/models/RegistryApprovedVersion.js +1 -0
  149. package/dist/generated/prisma/models/RegistryFetch.d.ts +1428 -0
  150. package/dist/generated/prisma/models/RegistryFetch.js +1 -0
  151. package/dist/generated/prisma/models/RegistryPlanRefusal.d.ts +1294 -0
  152. package/dist/generated/prisma/models/RegistryPlanRefusal.js +1 -0
  153. package/dist/generated/prisma/models/RegistryVersionFact.d.ts +1085 -0
  154. package/dist/generated/prisma/models/RegistryVersionFact.js +1 -0
  155. package/dist/generated/prisma/models/ResourceGrant.d.ts +1437 -0
  156. package/dist/generated/prisma/models/ResourceGrant.js +1 -0
  157. package/dist/generated/prisma/models/Run.d.ts +389 -1
  158. package/dist/generated/prisma/models/RunHostCheck.d.ts +1239 -0
  159. package/dist/generated/prisma/models/RunHostCheck.js +1 -0
  160. package/dist/generated/prisma/models/RunHostStatus.d.ts +1315 -0
  161. package/dist/generated/prisma/models/RunHostStatus.js +1 -0
  162. package/dist/generated/prisma/models/Tool.d.ts +15 -3
  163. package/dist/generated/prisma/models.d.ts +13 -0
  164. package/dist/help/build.d.ts +1 -0
  165. package/dist/help/build.js +9 -0
  166. package/dist/help/catalog.d.ts +24 -0
  167. package/dist/help/catalog.js +160 -0
  168. package/dist/help/cli.d.ts +2 -0
  169. package/dist/help/cli.js +65 -0
  170. package/dist/help/runtime.d.ts +3 -0
  171. package/dist/help/runtime.js +44 -0
  172. package/dist/help/search.d.ts +9 -0
  173. package/dist/help/search.js +104 -0
  174. package/dist/help-index.json +660 -0
  175. package/dist/import/cli-args.js +3 -2
  176. package/dist/import/create.d.ts +5 -0
  177. package/dist/import/create.js +67 -13
  178. package/dist/import/index.js +19 -9
  179. package/dist/import/neutral-schema.d.ts +11 -11
  180. package/dist/mcp/auth/access.d.ts +70 -0
  181. package/dist/mcp/auth/access.js +58 -0
  182. package/dist/mcp/auth/grants-cli.d.ts +149 -0
  183. package/dist/mcp/auth/grants-cli.js +518 -0
  184. package/dist/mcp/auth/host-account-cli.d.ts +2 -0
  185. package/dist/mcp/auth/host-account-cli.js +47 -0
  186. package/dist/mcp/auth/ownership.d.ts +26 -52
  187. package/dist/mcp/auth/ownership.js +19 -14
  188. package/dist/mcp/auth/repo-authorization.d.ts +22 -0
  189. package/dist/mcp/auth/repo-authorization.js +51 -0
  190. package/dist/mcp/auth/resource-server.d.ts +31 -2
  191. package/dist/mcp/auth/resource-server.js +84 -3
  192. package/dist/mcp/auth/self-hosted/browser.js +2 -2
  193. package/dist/mcp/auth/self-hosted/cli.js +47 -13
  194. package/dist/mcp/auth/self-hosted/credentials.d.ts +20 -2
  195. package/dist/mcp/auth/self-hosted/credentials.js +62 -4
  196. package/dist/mcp/auth/self-hosted/session.d.ts +2 -1
  197. package/dist/mcp/context.d.ts +27 -1
  198. package/dist/mcp/errors.d.ts +25 -6
  199. package/dist/mcp/errors.js +98 -0
  200. package/dist/mcp/host-events/github-ingress.d.ts +36 -0
  201. package/dist/mcp/host-events/github-ingress.js +92 -0
  202. package/dist/mcp/host-events/github-user-callback.d.ts +18 -0
  203. package/dist/mcp/host-events/github-user-callback.js +50 -0
  204. package/dist/mcp/index.d.ts +8 -1
  205. package/dist/mcp/index.js +106 -16
  206. package/dist/mcp/server.js +27 -9
  207. package/dist/mcp/tools/agents.js +446 -48
  208. package/dist/mcp/tools/budget-groups.js +3 -3
  209. package/dist/mcp/tools/datastore.js +22 -15
  210. package/dist/mcp/tools/grants.d.ts +2 -0
  211. package/dist/mcp/tools/grants.js +239 -0
  212. package/dist/mcp/tools/help.d.ts +5 -0
  213. package/dist/mcp/tools/help.js +67 -0
  214. package/dist/mcp/tools/host-accounts.d.ts +2 -0
  215. package/dist/mcp/tools/host-accounts.js +114 -0
  216. package/dist/mcp/tools/memory.d.ts +7 -1
  217. package/dist/mcp/tools/memory.js +5 -5
  218. package/dist/mcp/tools/repositories.d.ts +2 -0
  219. package/dist/mcp/tools/repositories.js +181 -0
  220. package/dist/mcp/tools/runs.d.ts +6 -0
  221. package/dist/mcp/tools/runs.js +60 -6
  222. package/dist/mcp/tools/scheduling.js +3 -6
  223. package/dist/mcp/tools/secrets.js +18 -6
  224. package/dist/mcp/tools/services.d.ts +2 -0
  225. package/dist/mcp/tools/services.js +222 -0
  226. package/dist/mcp/tools/subagents.js +52 -16
  227. package/dist/mcp/tools/tools.d.ts +41 -0
  228. package/dist/mcp/tools/tools.js +201 -40
  229. package/dist/mcp/tools/trigger.js +36 -6
  230. package/dist/mcp/tools/webhooks.js +15 -4
  231. package/dist/mcp/transport/streamable-http.d.ts +10 -0
  232. package/dist/mcp/transport/streamable-http.js +32 -2
  233. package/dist/providers/auth/delegating.d.ts +19 -0
  234. package/dist/providers/auth/delegating.js +71 -0
  235. package/dist/providers/auth/index.d.ts +2 -0
  236. package/dist/providers/auth/index.js +11 -0
  237. package/dist/providers/auth/self-hosted.d.ts +2 -1
  238. package/dist/providers/auth/self-hosted.js +16 -4
  239. package/dist/providers/auth/types.d.ts +6 -0
  240. package/dist/providers/coding-proxy/memory-ledger.d.ts +3 -0
  241. package/dist/providers/coding-proxy/memory-ledger.js +21 -2
  242. package/dist/providers/coding-proxy/metering.d.ts +4 -0
  243. package/dist/providers/coding-proxy/metering.js +28 -2
  244. package/dist/providers/coding-proxy/prisma-ledger.d.ts +17 -0
  245. package/dist/providers/coding-proxy/prisma-ledger.js +50 -5
  246. package/dist/providers/coding-proxy/proxy.d.ts +13 -0
  247. package/dist/providers/coding-proxy/proxy.js +479 -18
  248. package/dist/providers/coding-proxy/registry/audit.d.ts +131 -0
  249. package/dist/providers/coding-proxy/registry/audit.js +380 -0
  250. package/dist/providers/coding-proxy/registry/bounded-fetch.d.ts +16 -0
  251. package/dist/providers/coding-proxy/registry/bounded-fetch.js +77 -0
  252. package/dist/providers/coding-proxy/registry/plan.d.ts +58 -0
  253. package/dist/providers/coding-proxy/registry/plan.js +304 -0
  254. package/dist/providers/coding-proxy/registry/prisma-store.d.ts +34 -0
  255. package/dist/providers/coding-proxy/registry/prisma-store.js +151 -0
  256. package/dist/providers/coding-proxy/registry/service.d.ts +213 -0
  257. package/dist/providers/coding-proxy/registry/service.js +1137 -0
  258. package/dist/providers/coding-proxy/registry/store.d.ts +127 -0
  259. package/dist/providers/coding-proxy/registry/store.js +70 -0
  260. package/dist/providers/coding-proxy/runtime.d.ts +17 -0
  261. package/dist/providers/coding-proxy/runtime.js +63 -0
  262. package/dist/providers/coding-proxy/secure-fetch.js +0 -1
  263. package/dist/providers/coding-proxy/server.d.ts +11 -0
  264. package/dist/providers/coding-proxy/server.js +163 -0
  265. package/dist/providers/coding-proxy/types.d.ts +15 -0
  266. package/dist/providers/engine/types.d.ts +10 -0
  267. package/dist/providers/executor/build.d.ts +2 -2
  268. package/dist/providers/executor/composition.d.ts +3 -0
  269. package/dist/providers/executor/composition.js +19 -0
  270. package/dist/providers/executor/container.d.ts +105 -3
  271. package/dist/providers/executor/container.js +296 -20
  272. package/dist/providers/executor/dbos.d.ts +2 -3
  273. package/dist/providers/executor/in-process.d.ts +2 -3
  274. package/dist/providers/executor/routing.d.ts +7 -0
  275. package/dist/providers/executor/routing.js +13 -0
  276. package/dist/providers/executor/types.d.ts +22 -0
  277. package/dist/providers/jobs/claude-tool-setup.d.ts +23 -0
  278. package/dist/providers/jobs/claude-tool-setup.js +50 -0
  279. package/dist/providers/jobs/collect-prune.d.ts +7 -0
  280. package/dist/providers/jobs/collect-prune.js +27 -0
  281. package/dist/providers/jobs/docker-isolation.d.ts +48 -3
  282. package/dist/providers/jobs/docker-isolation.js +213 -22
  283. package/dist/providers/jobs/docker-services.d.ts +35 -0
  284. package/dist/providers/jobs/docker-services.js +191 -0
  285. package/dist/providers/jobs/docker.d.ts +49 -2
  286. package/dist/providers/jobs/docker.js +279 -32
  287. package/dist/providers/jobs/fake-kubernetes-api.d.ts +1 -0
  288. package/dist/providers/jobs/fake-kubernetes-api.js +12 -3
  289. package/dist/providers/jobs/kubernetes-isolation.d.ts +17 -2
  290. package/dist/providers/jobs/kubernetes-isolation.js +238 -57
  291. package/dist/providers/jobs/kubernetes-platform.d.ts +10 -4
  292. package/dist/providers/jobs/kubernetes-platform.js +11 -5
  293. package/dist/providers/jobs/kubernetes-preflight.js +3 -0
  294. package/dist/providers/jobs/kubernetes.d.ts +21 -2
  295. package/dist/providers/jobs/kubernetes.js +112 -21
  296. package/dist/providers/jobs/types.d.ts +18 -0
  297. package/dist/providers/llm/anthropic.js +6 -2
  298. package/dist/providers/llm/bedrock.js +2 -1
  299. package/dist/providers/llm/claude-messages.d.ts +5 -1
  300. package/dist/providers/llm/claude-messages.js +1 -0
  301. package/dist/providers/llm/claude-provider.d.ts +3 -1
  302. package/dist/providers/llm/claude-provider.js +5 -1
  303. package/dist/providers/llm/index.d.ts +1 -1
  304. package/dist/providers/llm/index.js +1 -1
  305. package/dist/providers/llm/pricing-anthropic.d.ts +10 -0
  306. package/dist/providers/llm/pricing-anthropic.js +32 -14
  307. package/dist/providers/llm/pricing-bedrock-claude.d.ts +8 -0
  308. package/dist/providers/llm/pricing-bedrock-claude.js +9 -0
  309. package/dist/providers/llm/routing.d.ts +10 -1
  310. package/dist/providers/llm/routing.js +18 -0
  311. package/dist/providers/llm/types.d.ts +12 -0
  312. package/dist/providers/llm/types.js +8 -1
  313. package/dist/providers/review-host/diff-lines.d.ts +16 -0
  314. package/dist/providers/review-host/diff-lines.js +59 -0
  315. package/dist/providers/review-host/github-events.d.ts +6 -0
  316. package/dist/providers/review-host/github-events.js +180 -0
  317. package/dist/providers/review-host/github-user-auth.d.ts +38 -0
  318. package/dist/providers/review-host/github-user-auth.js +128 -0
  319. package/dist/providers/review-host/github.d.ts +57 -0
  320. package/dist/providers/review-host/github.js +567 -0
  321. package/dist/providers/review-host/index.d.ts +12 -0
  322. package/dist/providers/review-host/index.js +30 -0
  323. package/dist/providers/review-host/review-format.d.ts +19 -0
  324. package/dist/providers/review-host/review-format.js +59 -0
  325. package/dist/providers/review-host/types.d.ts +284 -0
  326. package/dist/providers/review-host/types.js +24 -0
  327. package/dist/providers/vcs/git.d.ts +16 -6
  328. package/dist/providers/vcs/git.js +77 -13
  329. package/dist/providers/vcs/github.d.ts +74 -3
  330. package/dist/providers/vcs/github.js +195 -15
  331. package/dist/providers/vcs/types.d.ts +42 -4
  332. package/dist/quickstart/index.js +13 -2
  333. package/dist/sandbox/fetch-policy.d.ts +20 -2
  334. package/dist/sandbox/fetch-policy.js +64 -3
  335. package/dist/sandbox/host-functions.d.ts +9 -1
  336. package/dist/sandbox/host-functions.js +12 -5
  337. package/dist/serve.js +1 -1
  338. package/dist/wardby-bin.js +6 -0
  339. package/docs/README.md +30 -0
  340. package/docs/architecture-runtime.md +90 -0
  341. package/docs/assets/brand/wardby-icon-512.png +0 -0
  342. package/docs/assets/brand/wardby-icon.svg +16 -0
  343. package/docs/assets/brand/wardby-mascot-profile-512.png +0 -0
  344. package/docs/assets/brand/wardby-mascot.png +0 -0
  345. package/docs/assets/brand/wardby-mascot.svg +5 -0
  346. package/docs/assets/wardby-workflow.svg +106 -0
  347. package/docs/code-review-agents.md +481 -0
  348. package/docs/coding-agent-setup.md +172 -0
  349. package/docs/coding-packages.md +455 -0
  350. package/docs/coding-services.md +300 -0
  351. package/docs/coding-worker-byo-images.md +98 -0
  352. package/docs/coding-worker-isolation.md +1061 -0
  353. package/docs/getting-started-gke.md +615 -0
  354. package/docs/getting-started-identity-provider.md +308 -0
  355. package/docs/getting-started.md +133 -0
  356. package/docs/observability.md +53 -0
  357. package/docs/release-verification.md +66 -0
  358. package/docs/security-deployment.md +657 -0
  359. package/help/code-review-agents.md +31 -0
  360. package/help/coding-packages.md +31 -0
  361. package/help/coding-services.md +71 -0
  362. package/help/creating-agents.md +68 -0
  363. package/help/deploy-gke.md +39 -0
  364. package/help/deployment-targets.md +39 -0
  365. package/help/errors/budget-group-exhausted.md +25 -0
  366. package/help/errors/docker-isolation-unsupported.md +26 -0
  367. package/help/errors/protected-path.md +45 -0
  368. package/help/errors/repo-access.md +27 -0
  369. package/help/errors/service-declaration-invalid.md +27 -0
  370. package/help/errors/service-declaration-unavailable.md +25 -0
  371. package/help/errors/service-launcher-unsupported.md +30 -0
  372. package/help/errors/service-not-allowed.md +27 -0
  373. package/help/errors/service-unknown.md +23 -0
  374. package/help/errors/service-unready.md +49 -0
  375. package/help/getting-started.md +31 -0
  376. package/help/github.md +30 -0
  377. package/help/identity-and-access.md +39 -0
  378. package/help/mcp.md +30 -0
  379. package/help/native-capabilities.md +30 -0
  380. package/help/observability.md +41 -0
  381. package/help/operating-agents.md +30 -0
  382. package/help/security.md +27 -0
  383. package/help/troubleshooting/budgets.md +26 -0
  384. package/help/troubleshooting/coding-workers.md +47 -0
  385. package/help/troubleshooting/repository-access.md +27 -0
  386. package/package.json +12 -3
  387. package/prisma/migrations/20260925010000_coding_collect_exclude/migration.sql +8 -0
  388. package/prisma/migrations/20260925015000_allowed_egress_default/migration.sql +8 -0
  389. package/prisma/migrations/20260925020000_coding_package_registry/migration.sql +55 -0
  390. package/prisma/migrations/20260925030000_tool_name_per_owner/migration.sql +11 -0
  391. package/prisma/migrations/20260926010000_run_trigger_host_event/migration.sql +7 -0
  392. package/prisma/migrations/20260926020000_code_review_hosts/migration.sql +53 -0
  393. package/prisma/migrations/20260926030000_auth_user_roles/migration.sql +9 -0
  394. package/prisma/migrations/20260926040000_agent_effort/migration.sql +6 -0
  395. package/prisma/migrations/20260926050000_registry_lockfile_plan/migration.sql +32 -0
  396. package/prisma/migrations/20260926050000_repo_access_authorization/migration.sql +82 -0
  397. package/prisma/migrations/20260926060000_registry_plan_refusal/migration.sql +19 -0
  398. package/prisma/migrations/20260926100000_registry_plan_refusal_published_at/migration.sql +5 -0
  399. package/prisma/migrations/20260926190000_run_host_status/migration.sql +18 -0
  400. package/prisma/migrations/20260926210000_run_host_status_at_dispatch/migration.sql +5 -0
  401. package/prisma/migrations/20260927010000_resource_grants/migration.sql +72 -0
  402. package/prisma/migrations/20260927020000_proxy_session_budget_exhausted/migration.sql +3 -0
  403. package/prisma/migrations/20260927030000_coding_debug_trace/migration.sql +4 -0
  404. package/prisma/migrations/20260927040000_proxy_session_upstream_failure/migration.sql +3 -0
  405. package/prisma/migrations/20260927050000_coding_run_services/migration.sql +74 -0
  406. package/prisma/migrations/20260928000000_coding_run_tool_image/migration.sql +5 -0
  407. package/prisma/schema.prisma +407 -21
@@ -0,0 +1,1294 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model RegistryPlanRefusal
5
+ * One exact package version a run's lockfile plan refused for a reason
6
+ * intrinsic to the registry's name@version (too new, an advisory, not
7
+ * published, no integrity, hosted elsewhere): a download of it is answered
8
+ * from here with the same code and reason, without a graph walk.
9
+ */
10
+ export type RegistryPlanRefusalModel = runtime.Types.Result.DefaultSelection<Prisma.$RegistryPlanRefusalPayload>;
11
+ export type AggregateRegistryPlanRefusal = {
12
+ _count: RegistryPlanRefusalCountAggregateOutputType | null;
13
+ _min: RegistryPlanRefusalMinAggregateOutputType | null;
14
+ _max: RegistryPlanRefusalMaxAggregateOutputType | null;
15
+ };
16
+ export type RegistryPlanRefusalMinAggregateOutputType = {
17
+ runId: string | null;
18
+ ecosystem: string | null;
19
+ name: string | null;
20
+ version: string | null;
21
+ code: string | null;
22
+ reason: string | null;
23
+ publishedAt: Date | null;
24
+ createdAt: Date | null;
25
+ };
26
+ export type RegistryPlanRefusalMaxAggregateOutputType = {
27
+ runId: string | null;
28
+ ecosystem: string | null;
29
+ name: string | null;
30
+ version: string | null;
31
+ code: string | null;
32
+ reason: string | null;
33
+ publishedAt: Date | null;
34
+ createdAt: Date | null;
35
+ };
36
+ export type RegistryPlanRefusalCountAggregateOutputType = {
37
+ runId: number;
38
+ ecosystem: number;
39
+ name: number;
40
+ version: number;
41
+ code: number;
42
+ reason: number;
43
+ publishedAt: number;
44
+ createdAt: number;
45
+ _all: number;
46
+ };
47
+ export type RegistryPlanRefusalMinAggregateInputType = {
48
+ runId?: true;
49
+ ecosystem?: true;
50
+ name?: true;
51
+ version?: true;
52
+ code?: true;
53
+ reason?: true;
54
+ publishedAt?: true;
55
+ createdAt?: true;
56
+ };
57
+ export type RegistryPlanRefusalMaxAggregateInputType = {
58
+ runId?: true;
59
+ ecosystem?: true;
60
+ name?: true;
61
+ version?: true;
62
+ code?: true;
63
+ reason?: true;
64
+ publishedAt?: true;
65
+ createdAt?: true;
66
+ };
67
+ export type RegistryPlanRefusalCountAggregateInputType = {
68
+ runId?: true;
69
+ ecosystem?: true;
70
+ name?: true;
71
+ version?: true;
72
+ code?: true;
73
+ reason?: true;
74
+ publishedAt?: true;
75
+ createdAt?: true;
76
+ _all?: true;
77
+ };
78
+ export type RegistryPlanRefusalAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
79
+ /**
80
+ * Filter which RegistryPlanRefusal to aggregate.
81
+ */
82
+ where?: Prisma.RegistryPlanRefusalWhereInput;
83
+ /**
84
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
85
+ *
86
+ * Determine the order of RegistryPlanRefusals to fetch.
87
+ */
88
+ orderBy?: Prisma.RegistryPlanRefusalOrderByWithRelationInput | Prisma.RegistryPlanRefusalOrderByWithRelationInput[];
89
+ /**
90
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
91
+ *
92
+ * Sets the start position
93
+ */
94
+ cursor?: Prisma.RegistryPlanRefusalWhereUniqueInput;
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97
+ *
98
+ * Take `±n` RegistryPlanRefusals from the position of the cursor.
99
+ */
100
+ take?: number;
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
103
+ *
104
+ * Skip the first `n` RegistryPlanRefusals.
105
+ */
106
+ skip?: number;
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
109
+ *
110
+ * Count returned RegistryPlanRefusals
111
+ **/
112
+ _count?: true | RegistryPlanRefusalCountAggregateInputType;
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
115
+ *
116
+ * Select which fields to find the minimum value
117
+ **/
118
+ _min?: RegistryPlanRefusalMinAggregateInputType;
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Select which fields to find the maximum value
123
+ **/
124
+ _max?: RegistryPlanRefusalMaxAggregateInputType;
125
+ };
126
+ export type GetRegistryPlanRefusalAggregateType<T extends RegistryPlanRefusalAggregateArgs> = {
127
+ [P in keyof T & keyof AggregateRegistryPlanRefusal]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRegistryPlanRefusal[P]> : Prisma.GetScalarType<T[P], AggregateRegistryPlanRefusal[P]>;
128
+ };
129
+ export type RegistryPlanRefusalGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
130
+ where?: Prisma.RegistryPlanRefusalWhereInput;
131
+ orderBy?: Prisma.RegistryPlanRefusalOrderByWithAggregationInput | Prisma.RegistryPlanRefusalOrderByWithAggregationInput[];
132
+ by: Prisma.RegistryPlanRefusalScalarFieldEnum[] | Prisma.RegistryPlanRefusalScalarFieldEnum;
133
+ having?: Prisma.RegistryPlanRefusalScalarWhereWithAggregatesInput;
134
+ take?: number;
135
+ skip?: number;
136
+ _count?: RegistryPlanRefusalCountAggregateInputType | true;
137
+ _min?: RegistryPlanRefusalMinAggregateInputType;
138
+ _max?: RegistryPlanRefusalMaxAggregateInputType;
139
+ };
140
+ export type RegistryPlanRefusalGroupByOutputType = {
141
+ runId: string;
142
+ ecosystem: string;
143
+ name: string;
144
+ version: string;
145
+ code: string;
146
+ reason: string;
147
+ publishedAt: Date | null;
148
+ createdAt: Date;
149
+ _count: RegistryPlanRefusalCountAggregateOutputType | null;
150
+ _min: RegistryPlanRefusalMinAggregateOutputType | null;
151
+ _max: RegistryPlanRefusalMaxAggregateOutputType | null;
152
+ };
153
+ export type GetRegistryPlanRefusalGroupByPayload<T extends RegistryPlanRefusalGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RegistryPlanRefusalGroupByOutputType, T['by']> & {
154
+ [P in ((keyof T) & (keyof RegistryPlanRefusalGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RegistryPlanRefusalGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RegistryPlanRefusalGroupByOutputType[P]>;
155
+ }>>;
156
+ export type RegistryPlanRefusalWhereInput = {
157
+ AND?: Prisma.RegistryPlanRefusalWhereInput | Prisma.RegistryPlanRefusalWhereInput[];
158
+ OR?: Prisma.RegistryPlanRefusalWhereInput[];
159
+ NOT?: Prisma.RegistryPlanRefusalWhereInput | Prisma.RegistryPlanRefusalWhereInput[];
160
+ runId?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
161
+ ecosystem?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
162
+ name?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
163
+ version?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
164
+ code?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
165
+ reason?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
166
+ publishedAt?: Prisma.DateTimeNullableFilter<"RegistryPlanRefusal"> | Date | string | null;
167
+ createdAt?: Prisma.DateTimeFilter<"RegistryPlanRefusal"> | Date | string;
168
+ run?: Prisma.XOR<Prisma.CodingRunScalarRelationFilter, Prisma.CodingRunWhereInput>;
169
+ };
170
+ export type RegistryPlanRefusalOrderByWithRelationInput = {
171
+ runId?: Prisma.SortOrder;
172
+ ecosystem?: Prisma.SortOrder;
173
+ name?: Prisma.SortOrder;
174
+ version?: Prisma.SortOrder;
175
+ code?: Prisma.SortOrder;
176
+ reason?: Prisma.SortOrder;
177
+ publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
178
+ createdAt?: Prisma.SortOrder;
179
+ run?: Prisma.CodingRunOrderByWithRelationInput;
180
+ };
181
+ export type RegistryPlanRefusalWhereUniqueInput = Prisma.AtLeast<{
182
+ runId_ecosystem_name_version?: Prisma.RegistryPlanRefusalRunIdEcosystemNameVersionCompoundUniqueInput;
183
+ AND?: Prisma.RegistryPlanRefusalWhereInput | Prisma.RegistryPlanRefusalWhereInput[];
184
+ OR?: Prisma.RegistryPlanRefusalWhereInput[];
185
+ NOT?: Prisma.RegistryPlanRefusalWhereInput | Prisma.RegistryPlanRefusalWhereInput[];
186
+ runId?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
187
+ ecosystem?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
188
+ name?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
189
+ version?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
190
+ code?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
191
+ reason?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
192
+ publishedAt?: Prisma.DateTimeNullableFilter<"RegistryPlanRefusal"> | Date | string | null;
193
+ createdAt?: Prisma.DateTimeFilter<"RegistryPlanRefusal"> | Date | string;
194
+ run?: Prisma.XOR<Prisma.CodingRunScalarRelationFilter, Prisma.CodingRunWhereInput>;
195
+ }, "runId_ecosystem_name_version">;
196
+ export type RegistryPlanRefusalOrderByWithAggregationInput = {
197
+ runId?: Prisma.SortOrder;
198
+ ecosystem?: Prisma.SortOrder;
199
+ name?: Prisma.SortOrder;
200
+ version?: Prisma.SortOrder;
201
+ code?: Prisma.SortOrder;
202
+ reason?: Prisma.SortOrder;
203
+ publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
204
+ createdAt?: Prisma.SortOrder;
205
+ _count?: Prisma.RegistryPlanRefusalCountOrderByAggregateInput;
206
+ _max?: Prisma.RegistryPlanRefusalMaxOrderByAggregateInput;
207
+ _min?: Prisma.RegistryPlanRefusalMinOrderByAggregateInput;
208
+ };
209
+ export type RegistryPlanRefusalScalarWhereWithAggregatesInput = {
210
+ AND?: Prisma.RegistryPlanRefusalScalarWhereWithAggregatesInput | Prisma.RegistryPlanRefusalScalarWhereWithAggregatesInput[];
211
+ OR?: Prisma.RegistryPlanRefusalScalarWhereWithAggregatesInput[];
212
+ NOT?: Prisma.RegistryPlanRefusalScalarWhereWithAggregatesInput | Prisma.RegistryPlanRefusalScalarWhereWithAggregatesInput[];
213
+ runId?: Prisma.StringWithAggregatesFilter<"RegistryPlanRefusal"> | string;
214
+ ecosystem?: Prisma.StringWithAggregatesFilter<"RegistryPlanRefusal"> | string;
215
+ name?: Prisma.StringWithAggregatesFilter<"RegistryPlanRefusal"> | string;
216
+ version?: Prisma.StringWithAggregatesFilter<"RegistryPlanRefusal"> | string;
217
+ code?: Prisma.StringWithAggregatesFilter<"RegistryPlanRefusal"> | string;
218
+ reason?: Prisma.StringWithAggregatesFilter<"RegistryPlanRefusal"> | string;
219
+ publishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RegistryPlanRefusal"> | Date | string | null;
220
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"RegistryPlanRefusal"> | Date | string;
221
+ };
222
+ export type RegistryPlanRefusalCreateInput = {
223
+ ecosystem: string;
224
+ name: string;
225
+ version: string;
226
+ code: string;
227
+ reason: string;
228
+ publishedAt?: Date | string | null;
229
+ createdAt?: Date | string;
230
+ run: Prisma.CodingRunCreateNestedOneWithoutRegistryPlanRefusalsInput;
231
+ };
232
+ export type RegistryPlanRefusalUncheckedCreateInput = {
233
+ runId: string;
234
+ ecosystem: string;
235
+ name: string;
236
+ version: string;
237
+ code: string;
238
+ reason: string;
239
+ publishedAt?: Date | string | null;
240
+ createdAt?: Date | string;
241
+ };
242
+ export type RegistryPlanRefusalUpdateInput = {
243
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
244
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
245
+ version?: Prisma.StringFieldUpdateOperationsInput | string;
246
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
247
+ reason?: Prisma.StringFieldUpdateOperationsInput | string;
248
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
249
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
250
+ run?: Prisma.CodingRunUpdateOneRequiredWithoutRegistryPlanRefusalsNestedInput;
251
+ };
252
+ export type RegistryPlanRefusalUncheckedUpdateInput = {
253
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
254
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
255
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
256
+ version?: Prisma.StringFieldUpdateOperationsInput | string;
257
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
258
+ reason?: Prisma.StringFieldUpdateOperationsInput | string;
259
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
260
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
261
+ };
262
+ export type RegistryPlanRefusalCreateManyInput = {
263
+ runId: string;
264
+ ecosystem: string;
265
+ name: string;
266
+ version: string;
267
+ code: string;
268
+ reason: string;
269
+ publishedAt?: Date | string | null;
270
+ createdAt?: Date | string;
271
+ };
272
+ export type RegistryPlanRefusalUpdateManyMutationInput = {
273
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
274
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
275
+ version?: Prisma.StringFieldUpdateOperationsInput | string;
276
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ reason?: Prisma.StringFieldUpdateOperationsInput | string;
278
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
279
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
280
+ };
281
+ export type RegistryPlanRefusalUncheckedUpdateManyInput = {
282
+ runId?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
284
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
285
+ version?: Prisma.StringFieldUpdateOperationsInput | string;
286
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
287
+ reason?: Prisma.StringFieldUpdateOperationsInput | string;
288
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
289
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
290
+ };
291
+ export type RegistryPlanRefusalListRelationFilter = {
292
+ every?: Prisma.RegistryPlanRefusalWhereInput;
293
+ some?: Prisma.RegistryPlanRefusalWhereInput;
294
+ none?: Prisma.RegistryPlanRefusalWhereInput;
295
+ };
296
+ export type RegistryPlanRefusalOrderByRelationAggregateInput = {
297
+ _count?: Prisma.SortOrder;
298
+ };
299
+ export type RegistryPlanRefusalRunIdEcosystemNameVersionCompoundUniqueInput = {
300
+ runId: string;
301
+ ecosystem: string;
302
+ name: string;
303
+ version: string;
304
+ };
305
+ export type RegistryPlanRefusalCountOrderByAggregateInput = {
306
+ runId?: Prisma.SortOrder;
307
+ ecosystem?: Prisma.SortOrder;
308
+ name?: Prisma.SortOrder;
309
+ version?: Prisma.SortOrder;
310
+ code?: Prisma.SortOrder;
311
+ reason?: Prisma.SortOrder;
312
+ publishedAt?: Prisma.SortOrder;
313
+ createdAt?: Prisma.SortOrder;
314
+ };
315
+ export type RegistryPlanRefusalMaxOrderByAggregateInput = {
316
+ runId?: Prisma.SortOrder;
317
+ ecosystem?: Prisma.SortOrder;
318
+ name?: Prisma.SortOrder;
319
+ version?: Prisma.SortOrder;
320
+ code?: Prisma.SortOrder;
321
+ reason?: Prisma.SortOrder;
322
+ publishedAt?: Prisma.SortOrder;
323
+ createdAt?: Prisma.SortOrder;
324
+ };
325
+ export type RegistryPlanRefusalMinOrderByAggregateInput = {
326
+ runId?: Prisma.SortOrder;
327
+ ecosystem?: Prisma.SortOrder;
328
+ name?: Prisma.SortOrder;
329
+ version?: Prisma.SortOrder;
330
+ code?: Prisma.SortOrder;
331
+ reason?: Prisma.SortOrder;
332
+ publishedAt?: Prisma.SortOrder;
333
+ createdAt?: Prisma.SortOrder;
334
+ };
335
+ export type RegistryPlanRefusalCreateNestedManyWithoutRunInput = {
336
+ create?: Prisma.XOR<Prisma.RegistryPlanRefusalCreateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput> | Prisma.RegistryPlanRefusalCreateWithoutRunInput[] | Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput[];
337
+ connectOrCreate?: Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput | Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput[];
338
+ createMany?: Prisma.RegistryPlanRefusalCreateManyRunInputEnvelope;
339
+ connect?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
340
+ };
341
+ export type RegistryPlanRefusalUncheckedCreateNestedManyWithoutRunInput = {
342
+ create?: Prisma.XOR<Prisma.RegistryPlanRefusalCreateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput> | Prisma.RegistryPlanRefusalCreateWithoutRunInput[] | Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput[];
343
+ connectOrCreate?: Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput | Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput[];
344
+ createMany?: Prisma.RegistryPlanRefusalCreateManyRunInputEnvelope;
345
+ connect?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
346
+ };
347
+ export type RegistryPlanRefusalUpdateManyWithoutRunNestedInput = {
348
+ create?: Prisma.XOR<Prisma.RegistryPlanRefusalCreateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput> | Prisma.RegistryPlanRefusalCreateWithoutRunInput[] | Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput[];
349
+ connectOrCreate?: Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput | Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput[];
350
+ upsert?: Prisma.RegistryPlanRefusalUpsertWithWhereUniqueWithoutRunInput | Prisma.RegistryPlanRefusalUpsertWithWhereUniqueWithoutRunInput[];
351
+ createMany?: Prisma.RegistryPlanRefusalCreateManyRunInputEnvelope;
352
+ set?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
353
+ disconnect?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
354
+ delete?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
355
+ connect?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
356
+ update?: Prisma.RegistryPlanRefusalUpdateWithWhereUniqueWithoutRunInput | Prisma.RegistryPlanRefusalUpdateWithWhereUniqueWithoutRunInput[];
357
+ updateMany?: Prisma.RegistryPlanRefusalUpdateManyWithWhereWithoutRunInput | Prisma.RegistryPlanRefusalUpdateManyWithWhereWithoutRunInput[];
358
+ deleteMany?: Prisma.RegistryPlanRefusalScalarWhereInput | Prisma.RegistryPlanRefusalScalarWhereInput[];
359
+ };
360
+ export type RegistryPlanRefusalUncheckedUpdateManyWithoutRunNestedInput = {
361
+ create?: Prisma.XOR<Prisma.RegistryPlanRefusalCreateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput> | Prisma.RegistryPlanRefusalCreateWithoutRunInput[] | Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput[];
362
+ connectOrCreate?: Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput | Prisma.RegistryPlanRefusalCreateOrConnectWithoutRunInput[];
363
+ upsert?: Prisma.RegistryPlanRefusalUpsertWithWhereUniqueWithoutRunInput | Prisma.RegistryPlanRefusalUpsertWithWhereUniqueWithoutRunInput[];
364
+ createMany?: Prisma.RegistryPlanRefusalCreateManyRunInputEnvelope;
365
+ set?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
366
+ disconnect?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
367
+ delete?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
368
+ connect?: Prisma.RegistryPlanRefusalWhereUniqueInput | Prisma.RegistryPlanRefusalWhereUniqueInput[];
369
+ update?: Prisma.RegistryPlanRefusalUpdateWithWhereUniqueWithoutRunInput | Prisma.RegistryPlanRefusalUpdateWithWhereUniqueWithoutRunInput[];
370
+ updateMany?: Prisma.RegistryPlanRefusalUpdateManyWithWhereWithoutRunInput | Prisma.RegistryPlanRefusalUpdateManyWithWhereWithoutRunInput[];
371
+ deleteMany?: Prisma.RegistryPlanRefusalScalarWhereInput | Prisma.RegistryPlanRefusalScalarWhereInput[];
372
+ };
373
+ export type RegistryPlanRefusalCreateWithoutRunInput = {
374
+ ecosystem: string;
375
+ name: string;
376
+ version: string;
377
+ code: string;
378
+ reason: string;
379
+ publishedAt?: Date | string | null;
380
+ createdAt?: Date | string;
381
+ };
382
+ export type RegistryPlanRefusalUncheckedCreateWithoutRunInput = {
383
+ ecosystem: string;
384
+ name: string;
385
+ version: string;
386
+ code: string;
387
+ reason: string;
388
+ publishedAt?: Date | string | null;
389
+ createdAt?: Date | string;
390
+ };
391
+ export type RegistryPlanRefusalCreateOrConnectWithoutRunInput = {
392
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
393
+ create: Prisma.XOR<Prisma.RegistryPlanRefusalCreateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput>;
394
+ };
395
+ export type RegistryPlanRefusalCreateManyRunInputEnvelope = {
396
+ data: Prisma.RegistryPlanRefusalCreateManyRunInput | Prisma.RegistryPlanRefusalCreateManyRunInput[];
397
+ skipDuplicates?: boolean;
398
+ };
399
+ export type RegistryPlanRefusalUpsertWithWhereUniqueWithoutRunInput = {
400
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
401
+ update: Prisma.XOR<Prisma.RegistryPlanRefusalUpdateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedUpdateWithoutRunInput>;
402
+ create: Prisma.XOR<Prisma.RegistryPlanRefusalCreateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedCreateWithoutRunInput>;
403
+ };
404
+ export type RegistryPlanRefusalUpdateWithWhereUniqueWithoutRunInput = {
405
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
406
+ data: Prisma.XOR<Prisma.RegistryPlanRefusalUpdateWithoutRunInput, Prisma.RegistryPlanRefusalUncheckedUpdateWithoutRunInput>;
407
+ };
408
+ export type RegistryPlanRefusalUpdateManyWithWhereWithoutRunInput = {
409
+ where: Prisma.RegistryPlanRefusalScalarWhereInput;
410
+ data: Prisma.XOR<Prisma.RegistryPlanRefusalUpdateManyMutationInput, Prisma.RegistryPlanRefusalUncheckedUpdateManyWithoutRunInput>;
411
+ };
412
+ export type RegistryPlanRefusalScalarWhereInput = {
413
+ AND?: Prisma.RegistryPlanRefusalScalarWhereInput | Prisma.RegistryPlanRefusalScalarWhereInput[];
414
+ OR?: Prisma.RegistryPlanRefusalScalarWhereInput[];
415
+ NOT?: Prisma.RegistryPlanRefusalScalarWhereInput | Prisma.RegistryPlanRefusalScalarWhereInput[];
416
+ runId?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
417
+ ecosystem?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
418
+ name?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
419
+ version?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
420
+ code?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
421
+ reason?: Prisma.StringFilter<"RegistryPlanRefusal"> | string;
422
+ publishedAt?: Prisma.DateTimeNullableFilter<"RegistryPlanRefusal"> | Date | string | null;
423
+ createdAt?: Prisma.DateTimeFilter<"RegistryPlanRefusal"> | Date | string;
424
+ };
425
+ export type RegistryPlanRefusalCreateManyRunInput = {
426
+ ecosystem: string;
427
+ name: string;
428
+ version: string;
429
+ code: string;
430
+ reason: string;
431
+ publishedAt?: Date | string | null;
432
+ createdAt?: Date | string;
433
+ };
434
+ export type RegistryPlanRefusalUpdateWithoutRunInput = {
435
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
436
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
437
+ version?: Prisma.StringFieldUpdateOperationsInput | string;
438
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
439
+ reason?: Prisma.StringFieldUpdateOperationsInput | string;
440
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
441
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
442
+ };
443
+ export type RegistryPlanRefusalUncheckedUpdateWithoutRunInput = {
444
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
445
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
446
+ version?: Prisma.StringFieldUpdateOperationsInput | string;
447
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
448
+ reason?: Prisma.StringFieldUpdateOperationsInput | string;
449
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
450
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
451
+ };
452
+ export type RegistryPlanRefusalUncheckedUpdateManyWithoutRunInput = {
453
+ ecosystem?: Prisma.StringFieldUpdateOperationsInput | string;
454
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
455
+ version?: Prisma.StringFieldUpdateOperationsInput | string;
456
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
457
+ reason?: Prisma.StringFieldUpdateOperationsInput | string;
458
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
459
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
460
+ };
461
+ export type RegistryPlanRefusalSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
462
+ runId?: boolean;
463
+ ecosystem?: boolean;
464
+ name?: boolean;
465
+ version?: boolean;
466
+ code?: boolean;
467
+ reason?: boolean;
468
+ publishedAt?: boolean;
469
+ createdAt?: boolean;
470
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
471
+ }, ExtArgs["result"]["registryPlanRefusal"]>;
472
+ export type RegistryPlanRefusalSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
473
+ runId?: boolean;
474
+ ecosystem?: boolean;
475
+ name?: boolean;
476
+ version?: boolean;
477
+ code?: boolean;
478
+ reason?: boolean;
479
+ publishedAt?: boolean;
480
+ createdAt?: boolean;
481
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
482
+ }, ExtArgs["result"]["registryPlanRefusal"]>;
483
+ export type RegistryPlanRefusalSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
484
+ runId?: boolean;
485
+ ecosystem?: boolean;
486
+ name?: boolean;
487
+ version?: boolean;
488
+ code?: boolean;
489
+ reason?: boolean;
490
+ publishedAt?: boolean;
491
+ createdAt?: boolean;
492
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
493
+ }, ExtArgs["result"]["registryPlanRefusal"]>;
494
+ export type RegistryPlanRefusalSelectScalar = {
495
+ runId?: boolean;
496
+ ecosystem?: boolean;
497
+ name?: boolean;
498
+ version?: boolean;
499
+ code?: boolean;
500
+ reason?: boolean;
501
+ publishedAt?: boolean;
502
+ createdAt?: boolean;
503
+ };
504
+ export type RegistryPlanRefusalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"runId" | "ecosystem" | "name" | "version" | "code" | "reason" | "publishedAt" | "createdAt", ExtArgs["result"]["registryPlanRefusal"]>;
505
+ export type RegistryPlanRefusalInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
506
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
507
+ };
508
+ export type RegistryPlanRefusalIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
509
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
510
+ };
511
+ export type RegistryPlanRefusalIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
512
+ run?: boolean | Prisma.CodingRunDefaultArgs<ExtArgs>;
513
+ };
514
+ export type $RegistryPlanRefusalPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
515
+ name: "RegistryPlanRefusal";
516
+ objects: {
517
+ run: Prisma.$CodingRunPayload<ExtArgs>;
518
+ };
519
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
520
+ runId: string;
521
+ ecosystem: string;
522
+ name: string;
523
+ version: string;
524
+ code: string;
525
+ reason: string;
526
+ /**
527
+ * Set for a too-new refusal: the answer re-checks the version's age
528
+ * against the run's cutoff at answer time, so the refusal lapses.
529
+ */
530
+ publishedAt: Date | null;
531
+ createdAt: Date;
532
+ }, ExtArgs["result"]["registryPlanRefusal"]>;
533
+ composites: {};
534
+ };
535
+ export type RegistryPlanRefusalGetPayload<S extends boolean | null | undefined | RegistryPlanRefusalDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload, S>;
536
+ export type RegistryPlanRefusalCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RegistryPlanRefusalFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
537
+ select?: RegistryPlanRefusalCountAggregateInputType | true;
538
+ };
539
+ export interface RegistryPlanRefusalDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
540
+ [K: symbol]: {
541
+ types: Prisma.TypeMap<ExtArgs>['model']['RegistryPlanRefusal'];
542
+ meta: {
543
+ name: 'RegistryPlanRefusal';
544
+ };
545
+ };
546
+ /**
547
+ * Find zero or one RegistryPlanRefusal that matches the filter.
548
+ * @param {RegistryPlanRefusalFindUniqueArgs} args - Arguments to find a RegistryPlanRefusal
549
+ * @example
550
+ * // Get one RegistryPlanRefusal
551
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.findUnique({
552
+ * where: {
553
+ * // ... provide filter here
554
+ * }
555
+ * })
556
+ */
557
+ findUnique<T extends RegistryPlanRefusalFindUniqueArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
558
+ /**
559
+ * Find one RegistryPlanRefusal that matches the filter or throw an error with `error.code='P2025'`
560
+ * if no matches were found.
561
+ * @param {RegistryPlanRefusalFindUniqueOrThrowArgs} args - Arguments to find a RegistryPlanRefusal
562
+ * @example
563
+ * // Get one RegistryPlanRefusal
564
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.findUniqueOrThrow({
565
+ * where: {
566
+ * // ... provide filter here
567
+ * }
568
+ * })
569
+ */
570
+ findUniqueOrThrow<T extends RegistryPlanRefusalFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
571
+ /**
572
+ * Find the first RegistryPlanRefusal that matches the filter.
573
+ * Note, that providing `undefined` is treated as the value not being there.
574
+ * Read more here: https://pris.ly/d/null-undefined
575
+ * @param {RegistryPlanRefusalFindFirstArgs} args - Arguments to find a RegistryPlanRefusal
576
+ * @example
577
+ * // Get one RegistryPlanRefusal
578
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.findFirst({
579
+ * where: {
580
+ * // ... provide filter here
581
+ * }
582
+ * })
583
+ */
584
+ findFirst<T extends RegistryPlanRefusalFindFirstArgs>(args?: Prisma.SelectSubset<T, RegistryPlanRefusalFindFirstArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
585
+ /**
586
+ * Find the first RegistryPlanRefusal that matches the filter or
587
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
588
+ * Note, that providing `undefined` is treated as the value not being there.
589
+ * Read more here: https://pris.ly/d/null-undefined
590
+ * @param {RegistryPlanRefusalFindFirstOrThrowArgs} args - Arguments to find a RegistryPlanRefusal
591
+ * @example
592
+ * // Get one RegistryPlanRefusal
593
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.findFirstOrThrow({
594
+ * where: {
595
+ * // ... provide filter here
596
+ * }
597
+ * })
598
+ */
599
+ findFirstOrThrow<T extends RegistryPlanRefusalFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RegistryPlanRefusalFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
600
+ /**
601
+ * Find zero or more RegistryPlanRefusals that matches the filter.
602
+ * Note, that providing `undefined` is treated as the value not being there.
603
+ * Read more here: https://pris.ly/d/null-undefined
604
+ * @param {RegistryPlanRefusalFindManyArgs} args - Arguments to filter and select certain fields only.
605
+ * @example
606
+ * // Get all RegistryPlanRefusals
607
+ * const registryPlanRefusals = await prisma.registryPlanRefusal.findMany()
608
+ *
609
+ * // Get first 10 RegistryPlanRefusals
610
+ * const registryPlanRefusals = await prisma.registryPlanRefusal.findMany({ take: 10 })
611
+ *
612
+ * // Only select the `runId`
613
+ * const registryPlanRefusalWithRunIdOnly = await prisma.registryPlanRefusal.findMany({ select: { runId: true } })
614
+ *
615
+ */
616
+ findMany<T extends RegistryPlanRefusalFindManyArgs>(args?: Prisma.SelectSubset<T, RegistryPlanRefusalFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
617
+ /**
618
+ * Create a RegistryPlanRefusal.
619
+ * @param {RegistryPlanRefusalCreateArgs} args - Arguments to create a RegistryPlanRefusal.
620
+ * @example
621
+ * // Create one RegistryPlanRefusal
622
+ * const RegistryPlanRefusal = await prisma.registryPlanRefusal.create({
623
+ * data: {
624
+ * // ... data to create a RegistryPlanRefusal
625
+ * }
626
+ * })
627
+ *
628
+ */
629
+ create<T extends RegistryPlanRefusalCreateArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalCreateArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
630
+ /**
631
+ * Create many RegistryPlanRefusals.
632
+ * @param {RegistryPlanRefusalCreateManyArgs} args - Arguments to create many RegistryPlanRefusals.
633
+ * @example
634
+ * // Create many RegistryPlanRefusals
635
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.createMany({
636
+ * data: [
637
+ * // ... provide data here
638
+ * ]
639
+ * })
640
+ *
641
+ */
642
+ createMany<T extends RegistryPlanRefusalCreateManyArgs>(args?: Prisma.SelectSubset<T, RegistryPlanRefusalCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
643
+ /**
644
+ * Create many RegistryPlanRefusals and returns the data saved in the database.
645
+ * @param {RegistryPlanRefusalCreateManyAndReturnArgs} args - Arguments to create many RegistryPlanRefusals.
646
+ * @example
647
+ * // Create many RegistryPlanRefusals
648
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.createManyAndReturn({
649
+ * data: [
650
+ * // ... provide data here
651
+ * ]
652
+ * })
653
+ *
654
+ * // Create many RegistryPlanRefusals and only return the `runId`
655
+ * const registryPlanRefusalWithRunIdOnly = await prisma.registryPlanRefusal.createManyAndReturn({
656
+ * select: { runId: true },
657
+ * data: [
658
+ * // ... provide data here
659
+ * ]
660
+ * })
661
+ * Note, that providing `undefined` is treated as the value not being there.
662
+ * Read more here: https://pris.ly/d/null-undefined
663
+ *
664
+ */
665
+ createManyAndReturn<T extends RegistryPlanRefusalCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RegistryPlanRefusalCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
666
+ /**
667
+ * Delete a RegistryPlanRefusal.
668
+ * @param {RegistryPlanRefusalDeleteArgs} args - Arguments to delete one RegistryPlanRefusal.
669
+ * @example
670
+ * // Delete one RegistryPlanRefusal
671
+ * const RegistryPlanRefusal = await prisma.registryPlanRefusal.delete({
672
+ * where: {
673
+ * // ... filter to delete one RegistryPlanRefusal
674
+ * }
675
+ * })
676
+ *
677
+ */
678
+ delete<T extends RegistryPlanRefusalDeleteArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalDeleteArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
679
+ /**
680
+ * Update one RegistryPlanRefusal.
681
+ * @param {RegistryPlanRefusalUpdateArgs} args - Arguments to update one RegistryPlanRefusal.
682
+ * @example
683
+ * // Update one RegistryPlanRefusal
684
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.update({
685
+ * where: {
686
+ * // ... provide filter here
687
+ * },
688
+ * data: {
689
+ * // ... provide data here
690
+ * }
691
+ * })
692
+ *
693
+ */
694
+ update<T extends RegistryPlanRefusalUpdateArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalUpdateArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
695
+ /**
696
+ * Delete zero or more RegistryPlanRefusals.
697
+ * @param {RegistryPlanRefusalDeleteManyArgs} args - Arguments to filter RegistryPlanRefusals to delete.
698
+ * @example
699
+ * // Delete a few RegistryPlanRefusals
700
+ * const { count } = await prisma.registryPlanRefusal.deleteMany({
701
+ * where: {
702
+ * // ... provide filter here
703
+ * }
704
+ * })
705
+ *
706
+ */
707
+ deleteMany<T extends RegistryPlanRefusalDeleteManyArgs>(args?: Prisma.SelectSubset<T, RegistryPlanRefusalDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
708
+ /**
709
+ * Update zero or more RegistryPlanRefusals.
710
+ * Note, that providing `undefined` is treated as the value not being there.
711
+ * Read more here: https://pris.ly/d/null-undefined
712
+ * @param {RegistryPlanRefusalUpdateManyArgs} args - Arguments to update one or more rows.
713
+ * @example
714
+ * // Update many RegistryPlanRefusals
715
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.updateMany({
716
+ * where: {
717
+ * // ... provide filter here
718
+ * },
719
+ * data: {
720
+ * // ... provide data here
721
+ * }
722
+ * })
723
+ *
724
+ */
725
+ updateMany<T extends RegistryPlanRefusalUpdateManyArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
726
+ /**
727
+ * Update zero or more RegistryPlanRefusals and returns the data updated in the database.
728
+ * @param {RegistryPlanRefusalUpdateManyAndReturnArgs} args - Arguments to update many RegistryPlanRefusals.
729
+ * @example
730
+ * // Update many RegistryPlanRefusals
731
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.updateManyAndReturn({
732
+ * where: {
733
+ * // ... provide filter here
734
+ * },
735
+ * data: [
736
+ * // ... provide data here
737
+ * ]
738
+ * })
739
+ *
740
+ * // Update zero or more RegistryPlanRefusals and only return the `runId`
741
+ * const registryPlanRefusalWithRunIdOnly = await prisma.registryPlanRefusal.updateManyAndReturn({
742
+ * select: { runId: true },
743
+ * where: {
744
+ * // ... provide filter here
745
+ * },
746
+ * data: [
747
+ * // ... provide data here
748
+ * ]
749
+ * })
750
+ * Note, that providing `undefined` is treated as the value not being there.
751
+ * Read more here: https://pris.ly/d/null-undefined
752
+ *
753
+ */
754
+ updateManyAndReturn<T extends RegistryPlanRefusalUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
755
+ /**
756
+ * Create or update one RegistryPlanRefusal.
757
+ * @param {RegistryPlanRefusalUpsertArgs} args - Arguments to update or create a RegistryPlanRefusal.
758
+ * @example
759
+ * // Update or create a RegistryPlanRefusal
760
+ * const registryPlanRefusal = await prisma.registryPlanRefusal.upsert({
761
+ * create: {
762
+ * // ... data to create a RegistryPlanRefusal
763
+ * },
764
+ * update: {
765
+ * // ... in case it already exists, update
766
+ * },
767
+ * where: {
768
+ * // ... the filter for the RegistryPlanRefusal we want to update
769
+ * }
770
+ * })
771
+ */
772
+ upsert<T extends RegistryPlanRefusalUpsertArgs>(args: Prisma.SelectSubset<T, RegistryPlanRefusalUpsertArgs<ExtArgs>>): Prisma.Prisma__RegistryPlanRefusalClient<runtime.Types.Result.GetResult<Prisma.$RegistryPlanRefusalPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
773
+ /**
774
+ * Count the number of RegistryPlanRefusals.
775
+ * Note, that providing `undefined` is treated as the value not being there.
776
+ * Read more here: https://pris.ly/d/null-undefined
777
+ * @param {RegistryPlanRefusalCountArgs} args - Arguments to filter RegistryPlanRefusals to count.
778
+ * @example
779
+ * // Count the number of RegistryPlanRefusals
780
+ * const count = await prisma.registryPlanRefusal.count({
781
+ * where: {
782
+ * // ... the filter for the RegistryPlanRefusals we want to count
783
+ * }
784
+ * })
785
+ **/
786
+ count<T extends RegistryPlanRefusalCountArgs>(args?: Prisma.Subset<T, RegistryPlanRefusalCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RegistryPlanRefusalCountAggregateOutputType> : number>;
787
+ /**
788
+ * Allows you to perform aggregations operations on a RegistryPlanRefusal.
789
+ * Note, that providing `undefined` is treated as the value not being there.
790
+ * Read more here: https://pris.ly/d/null-undefined
791
+ * @param {RegistryPlanRefusalAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
792
+ * @example
793
+ * // Ordered by age ascending
794
+ * // Where email contains prisma.io
795
+ * // Limited to the 10 users
796
+ * const aggregations = await prisma.user.aggregate({
797
+ * _avg: {
798
+ * age: true,
799
+ * },
800
+ * where: {
801
+ * email: {
802
+ * contains: "prisma.io",
803
+ * },
804
+ * },
805
+ * orderBy: {
806
+ * age: "asc",
807
+ * },
808
+ * take: 10,
809
+ * })
810
+ **/
811
+ aggregate<T extends RegistryPlanRefusalAggregateArgs>(args: Prisma.Subset<T, RegistryPlanRefusalAggregateArgs>): Prisma.PrismaPromise<GetRegistryPlanRefusalAggregateType<T>>;
812
+ /**
813
+ * Group by RegistryPlanRefusal.
814
+ * Note, that providing `undefined` is treated as the value not being there.
815
+ * Read more here: https://pris.ly/d/null-undefined
816
+ * @param {RegistryPlanRefusalGroupByArgs} args - Group by arguments.
817
+ * @example
818
+ * // Group by city, order by createdAt, get count
819
+ * const result = await prisma.user.groupBy({
820
+ * by: ['city', 'createdAt'],
821
+ * orderBy: {
822
+ * createdAt: true
823
+ * },
824
+ * _count: {
825
+ * _all: true
826
+ * },
827
+ * })
828
+ *
829
+ **/
830
+ groupBy<T extends RegistryPlanRefusalGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
831
+ orderBy: RegistryPlanRefusalGroupByArgs['orderBy'];
832
+ } : {
833
+ orderBy?: RegistryPlanRefusalGroupByArgs['orderBy'];
834
+ }, 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 ? {
835
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
836
+ Error,
837
+ 'Field ',
838
+ P,
839
+ ` in "having" needs to be provided in "by"`
840
+ ];
841
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
842
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
843
+ }[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 ? {} : {
844
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
845
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
846
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
847
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, RegistryPlanRefusalGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRegistryPlanRefusalGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
848
+ /**
849
+ * Fields of the RegistryPlanRefusal model
850
+ */
851
+ readonly fields: RegistryPlanRefusalFieldRefs;
852
+ }
853
+ /**
854
+ * The delegate class that acts as a "Promise-like" for RegistryPlanRefusal.
855
+ * Why is this prefixed with `Prisma__`?
856
+ * Because we want to prevent naming conflicts as mentioned in
857
+ * https://github.com/prisma/prisma-client-js/issues/707
858
+ */
859
+ export interface Prisma__RegistryPlanRefusalClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
860
+ readonly [Symbol.toStringTag]: "PrismaPromise";
861
+ run<T extends Prisma.CodingRunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CodingRunDefaultArgs<ExtArgs>>): Prisma.Prisma__CodingRunClient<runtime.Types.Result.GetResult<Prisma.$CodingRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
862
+ /**
863
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
864
+ * @param onfulfilled The callback to execute when the Promise is resolved.
865
+ * @param onrejected The callback to execute when the Promise is rejected.
866
+ * @returns A Promise for the completion of which ever callback is executed.
867
+ */
868
+ 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>;
869
+ /**
870
+ * Attaches a callback for only the rejection of the Promise.
871
+ * @param onrejected The callback to execute when the Promise is rejected.
872
+ * @returns A Promise for the completion of the callback.
873
+ */
874
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
875
+ /**
876
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
877
+ * resolved value cannot be modified from the callback.
878
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
879
+ * @returns A Promise for the completion of the callback.
880
+ */
881
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
882
+ }
883
+ /**
884
+ * Fields of the RegistryPlanRefusal model
885
+ */
886
+ export interface RegistryPlanRefusalFieldRefs {
887
+ readonly runId: Prisma.FieldRef<"RegistryPlanRefusal", 'String'>;
888
+ readonly ecosystem: Prisma.FieldRef<"RegistryPlanRefusal", 'String'>;
889
+ readonly name: Prisma.FieldRef<"RegistryPlanRefusal", 'String'>;
890
+ readonly version: Prisma.FieldRef<"RegistryPlanRefusal", 'String'>;
891
+ readonly code: Prisma.FieldRef<"RegistryPlanRefusal", 'String'>;
892
+ readonly reason: Prisma.FieldRef<"RegistryPlanRefusal", 'String'>;
893
+ readonly publishedAt: Prisma.FieldRef<"RegistryPlanRefusal", 'DateTime'>;
894
+ readonly createdAt: Prisma.FieldRef<"RegistryPlanRefusal", 'DateTime'>;
895
+ }
896
+ /**
897
+ * RegistryPlanRefusal findUnique
898
+ */
899
+ export type RegistryPlanRefusalFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
900
+ /**
901
+ * Select specific fields to fetch from the RegistryPlanRefusal
902
+ */
903
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
904
+ /**
905
+ * Omit specific fields from the RegistryPlanRefusal
906
+ */
907
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
908
+ /**
909
+ * Choose, which related nodes to fetch as well
910
+ */
911
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
912
+ /**
913
+ * Filter, which RegistryPlanRefusal to fetch.
914
+ */
915
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
916
+ };
917
+ /**
918
+ * RegistryPlanRefusal findUniqueOrThrow
919
+ */
920
+ export type RegistryPlanRefusalFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
921
+ /**
922
+ * Select specific fields to fetch from the RegistryPlanRefusal
923
+ */
924
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
925
+ /**
926
+ * Omit specific fields from the RegistryPlanRefusal
927
+ */
928
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
929
+ /**
930
+ * Choose, which related nodes to fetch as well
931
+ */
932
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
933
+ /**
934
+ * Filter, which RegistryPlanRefusal to fetch.
935
+ */
936
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
937
+ };
938
+ /**
939
+ * RegistryPlanRefusal findFirst
940
+ */
941
+ export type RegistryPlanRefusalFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
942
+ /**
943
+ * Select specific fields to fetch from the RegistryPlanRefusal
944
+ */
945
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
946
+ /**
947
+ * Omit specific fields from the RegistryPlanRefusal
948
+ */
949
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
950
+ /**
951
+ * Choose, which related nodes to fetch as well
952
+ */
953
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
954
+ /**
955
+ * Filter, which RegistryPlanRefusal to fetch.
956
+ */
957
+ where?: Prisma.RegistryPlanRefusalWhereInput;
958
+ /**
959
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
960
+ *
961
+ * Determine the order of RegistryPlanRefusals to fetch.
962
+ */
963
+ orderBy?: Prisma.RegistryPlanRefusalOrderByWithRelationInput | Prisma.RegistryPlanRefusalOrderByWithRelationInput[];
964
+ /**
965
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
966
+ *
967
+ * Sets the position for searching for RegistryPlanRefusals.
968
+ */
969
+ cursor?: Prisma.RegistryPlanRefusalWhereUniqueInput;
970
+ /**
971
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
972
+ *
973
+ * Take `±n` RegistryPlanRefusals from the position of the cursor.
974
+ */
975
+ take?: number;
976
+ /**
977
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
978
+ *
979
+ * Skip the first `n` RegistryPlanRefusals.
980
+ */
981
+ skip?: number;
982
+ /**
983
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
984
+ *
985
+ * Filter by unique combinations of RegistryPlanRefusals.
986
+ */
987
+ distinct?: Prisma.RegistryPlanRefusalScalarFieldEnum | Prisma.RegistryPlanRefusalScalarFieldEnum[];
988
+ };
989
+ /**
990
+ * RegistryPlanRefusal findFirstOrThrow
991
+ */
992
+ export type RegistryPlanRefusalFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
993
+ /**
994
+ * Select specific fields to fetch from the RegistryPlanRefusal
995
+ */
996
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
997
+ /**
998
+ * Omit specific fields from the RegistryPlanRefusal
999
+ */
1000
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1001
+ /**
1002
+ * Choose, which related nodes to fetch as well
1003
+ */
1004
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
1005
+ /**
1006
+ * Filter, which RegistryPlanRefusal to fetch.
1007
+ */
1008
+ where?: Prisma.RegistryPlanRefusalWhereInput;
1009
+ /**
1010
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1011
+ *
1012
+ * Determine the order of RegistryPlanRefusals to fetch.
1013
+ */
1014
+ orderBy?: Prisma.RegistryPlanRefusalOrderByWithRelationInput | Prisma.RegistryPlanRefusalOrderByWithRelationInput[];
1015
+ /**
1016
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1017
+ *
1018
+ * Sets the position for searching for RegistryPlanRefusals.
1019
+ */
1020
+ cursor?: Prisma.RegistryPlanRefusalWhereUniqueInput;
1021
+ /**
1022
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1023
+ *
1024
+ * Take `±n` RegistryPlanRefusals from the position of the cursor.
1025
+ */
1026
+ take?: number;
1027
+ /**
1028
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1029
+ *
1030
+ * Skip the first `n` RegistryPlanRefusals.
1031
+ */
1032
+ skip?: number;
1033
+ /**
1034
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1035
+ *
1036
+ * Filter by unique combinations of RegistryPlanRefusals.
1037
+ */
1038
+ distinct?: Prisma.RegistryPlanRefusalScalarFieldEnum | Prisma.RegistryPlanRefusalScalarFieldEnum[];
1039
+ };
1040
+ /**
1041
+ * RegistryPlanRefusal findMany
1042
+ */
1043
+ export type RegistryPlanRefusalFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1044
+ /**
1045
+ * Select specific fields to fetch from the RegistryPlanRefusal
1046
+ */
1047
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
1048
+ /**
1049
+ * Omit specific fields from the RegistryPlanRefusal
1050
+ */
1051
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1052
+ /**
1053
+ * Choose, which related nodes to fetch as well
1054
+ */
1055
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
1056
+ /**
1057
+ * Filter, which RegistryPlanRefusals to fetch.
1058
+ */
1059
+ where?: Prisma.RegistryPlanRefusalWhereInput;
1060
+ /**
1061
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1062
+ *
1063
+ * Determine the order of RegistryPlanRefusals to fetch.
1064
+ */
1065
+ orderBy?: Prisma.RegistryPlanRefusalOrderByWithRelationInput | Prisma.RegistryPlanRefusalOrderByWithRelationInput[];
1066
+ /**
1067
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1068
+ *
1069
+ * Sets the position for listing RegistryPlanRefusals.
1070
+ */
1071
+ cursor?: Prisma.RegistryPlanRefusalWhereUniqueInput;
1072
+ /**
1073
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1074
+ *
1075
+ * Take `±n` RegistryPlanRefusals from the position of the cursor.
1076
+ */
1077
+ take?: number;
1078
+ /**
1079
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1080
+ *
1081
+ * Skip the first `n` RegistryPlanRefusals.
1082
+ */
1083
+ skip?: number;
1084
+ /**
1085
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1086
+ *
1087
+ * Filter by unique combinations of RegistryPlanRefusals.
1088
+ */
1089
+ distinct?: Prisma.RegistryPlanRefusalScalarFieldEnum | Prisma.RegistryPlanRefusalScalarFieldEnum[];
1090
+ };
1091
+ /**
1092
+ * RegistryPlanRefusal create
1093
+ */
1094
+ export type RegistryPlanRefusalCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1095
+ /**
1096
+ * Select specific fields to fetch from the RegistryPlanRefusal
1097
+ */
1098
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
1099
+ /**
1100
+ * Omit specific fields from the RegistryPlanRefusal
1101
+ */
1102
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1103
+ /**
1104
+ * Choose, which related nodes to fetch as well
1105
+ */
1106
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
1107
+ /**
1108
+ * The data needed to create a RegistryPlanRefusal.
1109
+ */
1110
+ data: Prisma.XOR<Prisma.RegistryPlanRefusalCreateInput, Prisma.RegistryPlanRefusalUncheckedCreateInput>;
1111
+ };
1112
+ /**
1113
+ * RegistryPlanRefusal createMany
1114
+ */
1115
+ export type RegistryPlanRefusalCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1116
+ /**
1117
+ * The data used to create many RegistryPlanRefusals.
1118
+ */
1119
+ data: Prisma.RegistryPlanRefusalCreateManyInput | Prisma.RegistryPlanRefusalCreateManyInput[];
1120
+ skipDuplicates?: boolean;
1121
+ };
1122
+ /**
1123
+ * RegistryPlanRefusal createManyAndReturn
1124
+ */
1125
+ export type RegistryPlanRefusalCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1126
+ /**
1127
+ * Select specific fields to fetch from the RegistryPlanRefusal
1128
+ */
1129
+ select?: Prisma.RegistryPlanRefusalSelectCreateManyAndReturn<ExtArgs> | null;
1130
+ /**
1131
+ * Omit specific fields from the RegistryPlanRefusal
1132
+ */
1133
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1134
+ /**
1135
+ * The data used to create many RegistryPlanRefusals.
1136
+ */
1137
+ data: Prisma.RegistryPlanRefusalCreateManyInput | Prisma.RegistryPlanRefusalCreateManyInput[];
1138
+ skipDuplicates?: boolean;
1139
+ /**
1140
+ * Choose, which related nodes to fetch as well
1141
+ */
1142
+ include?: Prisma.RegistryPlanRefusalIncludeCreateManyAndReturn<ExtArgs> | null;
1143
+ };
1144
+ /**
1145
+ * RegistryPlanRefusal update
1146
+ */
1147
+ export type RegistryPlanRefusalUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1148
+ /**
1149
+ * Select specific fields to fetch from the RegistryPlanRefusal
1150
+ */
1151
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
1152
+ /**
1153
+ * Omit specific fields from the RegistryPlanRefusal
1154
+ */
1155
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1156
+ /**
1157
+ * Choose, which related nodes to fetch as well
1158
+ */
1159
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
1160
+ /**
1161
+ * The data needed to update a RegistryPlanRefusal.
1162
+ */
1163
+ data: Prisma.XOR<Prisma.RegistryPlanRefusalUpdateInput, Prisma.RegistryPlanRefusalUncheckedUpdateInput>;
1164
+ /**
1165
+ * Choose, which RegistryPlanRefusal to update.
1166
+ */
1167
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
1168
+ };
1169
+ /**
1170
+ * RegistryPlanRefusal updateMany
1171
+ */
1172
+ export type RegistryPlanRefusalUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1173
+ /**
1174
+ * The data used to update RegistryPlanRefusals.
1175
+ */
1176
+ data: Prisma.XOR<Prisma.RegistryPlanRefusalUpdateManyMutationInput, Prisma.RegistryPlanRefusalUncheckedUpdateManyInput>;
1177
+ /**
1178
+ * Filter which RegistryPlanRefusals to update
1179
+ */
1180
+ where?: Prisma.RegistryPlanRefusalWhereInput;
1181
+ /**
1182
+ * Limit how many RegistryPlanRefusals to update.
1183
+ */
1184
+ limit?: number;
1185
+ };
1186
+ /**
1187
+ * RegistryPlanRefusal updateManyAndReturn
1188
+ */
1189
+ export type RegistryPlanRefusalUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1190
+ /**
1191
+ * Select specific fields to fetch from the RegistryPlanRefusal
1192
+ */
1193
+ select?: Prisma.RegistryPlanRefusalSelectUpdateManyAndReturn<ExtArgs> | null;
1194
+ /**
1195
+ * Omit specific fields from the RegistryPlanRefusal
1196
+ */
1197
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1198
+ /**
1199
+ * The data used to update RegistryPlanRefusals.
1200
+ */
1201
+ data: Prisma.XOR<Prisma.RegistryPlanRefusalUpdateManyMutationInput, Prisma.RegistryPlanRefusalUncheckedUpdateManyInput>;
1202
+ /**
1203
+ * Filter which RegistryPlanRefusals to update
1204
+ */
1205
+ where?: Prisma.RegistryPlanRefusalWhereInput;
1206
+ /**
1207
+ * Limit how many RegistryPlanRefusals to update.
1208
+ */
1209
+ limit?: number;
1210
+ /**
1211
+ * Choose, which related nodes to fetch as well
1212
+ */
1213
+ include?: Prisma.RegistryPlanRefusalIncludeUpdateManyAndReturn<ExtArgs> | null;
1214
+ };
1215
+ /**
1216
+ * RegistryPlanRefusal upsert
1217
+ */
1218
+ export type RegistryPlanRefusalUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1219
+ /**
1220
+ * Select specific fields to fetch from the RegistryPlanRefusal
1221
+ */
1222
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
1223
+ /**
1224
+ * Omit specific fields from the RegistryPlanRefusal
1225
+ */
1226
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1227
+ /**
1228
+ * Choose, which related nodes to fetch as well
1229
+ */
1230
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
1231
+ /**
1232
+ * The filter to search for the RegistryPlanRefusal to update in case it exists.
1233
+ */
1234
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
1235
+ /**
1236
+ * In case the RegistryPlanRefusal found by the `where` argument doesn't exist, create a new RegistryPlanRefusal with this data.
1237
+ */
1238
+ create: Prisma.XOR<Prisma.RegistryPlanRefusalCreateInput, Prisma.RegistryPlanRefusalUncheckedCreateInput>;
1239
+ /**
1240
+ * In case the RegistryPlanRefusal was found with the provided `where` argument, update it with this data.
1241
+ */
1242
+ update: Prisma.XOR<Prisma.RegistryPlanRefusalUpdateInput, Prisma.RegistryPlanRefusalUncheckedUpdateInput>;
1243
+ };
1244
+ /**
1245
+ * RegistryPlanRefusal delete
1246
+ */
1247
+ export type RegistryPlanRefusalDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1248
+ /**
1249
+ * Select specific fields to fetch from the RegistryPlanRefusal
1250
+ */
1251
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
1252
+ /**
1253
+ * Omit specific fields from the RegistryPlanRefusal
1254
+ */
1255
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1256
+ /**
1257
+ * Choose, which related nodes to fetch as well
1258
+ */
1259
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
1260
+ /**
1261
+ * Filter which RegistryPlanRefusal to delete.
1262
+ */
1263
+ where: Prisma.RegistryPlanRefusalWhereUniqueInput;
1264
+ };
1265
+ /**
1266
+ * RegistryPlanRefusal deleteMany
1267
+ */
1268
+ export type RegistryPlanRefusalDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * Filter which RegistryPlanRefusals to delete
1271
+ */
1272
+ where?: Prisma.RegistryPlanRefusalWhereInput;
1273
+ /**
1274
+ * Limit how many RegistryPlanRefusals to delete.
1275
+ */
1276
+ limit?: number;
1277
+ };
1278
+ /**
1279
+ * RegistryPlanRefusal without action
1280
+ */
1281
+ export type RegistryPlanRefusalDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1282
+ /**
1283
+ * Select specific fields to fetch from the RegistryPlanRefusal
1284
+ */
1285
+ select?: Prisma.RegistryPlanRefusalSelect<ExtArgs> | null;
1286
+ /**
1287
+ * Omit specific fields from the RegistryPlanRefusal
1288
+ */
1289
+ omit?: Prisma.RegistryPlanRefusalOmit<ExtArgs> | null;
1290
+ /**
1291
+ * Choose, which related nodes to fetch as well
1292
+ */
1293
+ include?: Prisma.RegistryPlanRefusalInclude<ExtArgs> | null;
1294
+ };