@wardby/cli 0.6.0 → 0.8.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 (740) hide show
  1. package/.env.example +5 -5
  2. package/README.md +6 -1
  3. package/deploy/local/docker-compose.quickstart-coding.yml +19 -0
  4. package/dist/claude-coding-worker/driver.d.ts +33 -3
  5. package/dist/claude-coding-worker/driver.js +151 -21
  6. package/dist/claude-coding-worker/main.js +38 -6
  7. package/dist/claude-coding-worker/sdk.js +29 -2
  8. package/dist/claude-coding-worker/tool-socket.d.ts +27 -0
  9. package/dist/claude-coding-worker/tool-socket.js +111 -0
  10. package/dist/claude-coding-worker/transcript.d.ts +18 -0
  11. package/dist/claude-coding-worker/transcript.js +77 -0
  12. package/dist/claude-plugin/command.d.ts +61 -0
  13. package/dist/claude-plugin/command.js +376 -0
  14. package/dist/cli-help.d.ts +1 -1
  15. package/dist/cli-help.js +3 -1
  16. package/dist/cli.js +71 -13
  17. package/dist/coding/code-host.d.ts +16 -0
  18. package/dist/coding/code-host.js +60 -0
  19. package/dist/coding/continuation-wording.d.ts +35 -0
  20. package/dist/coding/continuation-wording.js +73 -0
  21. package/dist/coding/linked-issue-note.d.ts +23 -0
  22. package/dist/coding/linked-issue-note.js +47 -0
  23. package/dist/coding/mcp-token.d.ts +12 -0
  24. package/dist/coding/mcp-token.js +26 -0
  25. package/dist/coding/merge-wording.d.ts +28 -0
  26. package/dist/coding/merge-wording.js +78 -0
  27. package/dist/coding/pr-description-note.d.ts +9 -0
  28. package/dist/coding/pr-description-note.js +32 -0
  29. package/dist/coding/profile.d.ts +46 -126
  30. package/dist/coding/profile.js +45 -4
  31. package/dist/coding/protected-path-wording.d.ts +8 -0
  32. package/dist/coding/protected-path-wording.js +1 -1
  33. package/dist/coding/protocol.d.ts +264 -346
  34. package/dist/coding/protocol.js +237 -12
  35. package/dist/coding/redact.d.ts +3 -0
  36. package/dist/coding/redact.js +17 -0
  37. package/dist/coding/registry/allowlist.d.ts +12 -0
  38. package/dist/coding/registry/allowlist.js +14 -1
  39. package/dist/coding/registry/audit-mode.d.ts +153 -0
  40. package/dist/coding/registry/audit-mode.js +304 -0
  41. package/dist/coding/registry/lockfile-shared.d.ts +36 -0
  42. package/dist/coding/registry/lockfile-shared.js +128 -0
  43. package/dist/coding/registry/lockfiles.js +1 -1
  44. package/dist/coding/registry/npm-lockfile-formats.d.ts +11 -0
  45. package/dist/coding/registry/npm-lockfile-formats.js +41 -0
  46. package/dist/coding/registry/npm-lockfile.d.ts +8 -4
  47. package/dist/coding/registry/npm-lockfile.js +4 -6
  48. package/dist/coding/registry/npm.js +78 -8
  49. package/dist/coding/registry/pnpm-lockfile.d.ts +17 -0
  50. package/dist/coding/registry/pnpm-lockfile.js +189 -0
  51. package/dist/coding/registry/pypi-plan.d.ts +50 -0
  52. package/dist/coding/registry/pypi-plan.js +406 -0
  53. package/dist/coding/registry/pypi-requirements.d.ts +58 -0
  54. package/dist/coding/registry/pypi-requirements.js +155 -0
  55. package/dist/coding/registry/pypi.d.ts +3 -27
  56. package/dist/coding/registry/pypi.js +40 -154
  57. package/dist/coding/registry/refusal-hints.d.ts +20 -0
  58. package/dist/coding/registry/refusal-hints.js +61 -0
  59. package/dist/coding/registry/refusal-wording.d.ts +11 -0
  60. package/dist/coding/registry/refusal-wording.js +56 -0
  61. package/dist/coding/registry/report.d.ts +70 -8
  62. package/dist/coding/registry/report.js +112 -5
  63. package/dist/coding/registry/types.d.ts +58 -8
  64. package/dist/coding/registry/yarn-lockfile.d.ts +30 -0
  65. package/dist/coding/registry/yarn-lockfile.js +367 -0
  66. package/dist/coding/services/catalog.d.ts +37 -351
  67. package/dist/coding/transcript/claude-code.d.ts +13 -0
  68. package/dist/coding/transcript/claude-code.js +273 -0
  69. package/dist/coding/transcript/download-protocol.d.ts +30 -0
  70. package/dist/coding/transcript/download-protocol.js +18 -0
  71. package/dist/coding/transcript/format.d.ts +20 -0
  72. package/dist/coding/transcript/format.js +32 -0
  73. package/dist/coding/transcript/recorder.d.ts +52 -0
  74. package/dist/coding/transcript/recorder.js +225 -0
  75. package/dist/coding/transcript/resume/checkout.d.ts +31 -0
  76. package/dist/coding/transcript/resume/checkout.js +203 -0
  77. package/dist/coding/transcript/resume/command.d.ts +17 -0
  78. package/dist/coding/transcript/resume/command.js +176 -0
  79. package/dist/coding/transcript/resume/download.d.ts +20 -0
  80. package/dist/coding/transcript/resume/download.js +153 -0
  81. package/dist/coding/transcript/resume/launch.d.ts +38 -0
  82. package/dist/coding/transcript/resume/launch.js +128 -0
  83. package/dist/coding/transcript/resume/session-file.d.ts +13 -0
  84. package/dist/coding/transcript/resume/session-file.js +79 -0
  85. package/dist/coding/transcript/resume/stand-in.d.ts +11 -0
  86. package/dist/coding/transcript/resume/stand-in.js +49 -0
  87. package/dist/coding-worker/artifact.d.ts +8 -3
  88. package/dist/coding-worker/artifact.js +3 -1
  89. package/dist/coding-worker/debug-trace.d.ts +9 -6
  90. package/dist/coding-worker/debug-trace.js +16 -19
  91. package/dist/coding-worker/dependency-cache.d.mts +229 -0
  92. package/dist/coding-worker/dependency-cache.mjs +2123 -0
  93. package/dist/coding-worker/driver.d.ts +4 -3
  94. package/dist/coding-worker/driver.js +124 -39
  95. package/dist/coding-worker/errors.d.ts +1 -0
  96. package/dist/coding-worker/errors.js +32 -0
  97. package/dist/coding-worker/main.js +5 -1
  98. package/dist/coding-worker/mcp-config.d.ts +27 -0
  99. package/dist/coding-worker/mcp-config.js +32 -0
  100. package/dist/coding-worker/sdk.d.ts +36 -0
  101. package/dist/coding-worker/sdk.js +28 -1
  102. package/dist/coding-worker/task-note.d.ts +11 -0
  103. package/dist/coding-worker/task-note.js +13 -0
  104. package/dist/coding-worker/types.d.ts +15 -0
  105. package/dist/config/dependency-cache.d.ts +23 -0
  106. package/dist/config/dependency-cache.js +32 -0
  107. package/dist/config/mcp-call-limit.d.ts +8 -0
  108. package/dist/config/mcp-call-limit.js +18 -0
  109. package/dist/config/mcp-servers.d.ts +8 -0
  110. package/dist/config/mcp-servers.js +12 -0
  111. package/dist/config/providers.d.ts +12 -3
  112. package/dist/config/providers.js +55 -5
  113. package/dist/config/test-simulators.d.ts +92 -0
  114. package/dist/config/test-simulators.js +333 -0
  115. package/dist/config/tool-timeout.d.ts +1 -0
  116. package/dist/config/tool-timeout.js +18 -0
  117. package/dist/core/async-context.d.ts +2 -0
  118. package/dist/core/async-context.js +12 -0
  119. package/dist/core/budget-events.d.ts +108 -0
  120. package/dist/core/budget-events.js +346 -0
  121. package/dist/core/budget-groups.d.ts +50 -1
  122. package/dist/core/budget-groups.js +236 -27
  123. package/dist/core/budget-stopped-head.d.ts +46 -0
  124. package/dist/core/budget-stopped-head.js +81 -0
  125. package/dist/core/budget-topup.d.ts +51 -0
  126. package/dist/core/budget-topup.js +156 -0
  127. package/dist/core/budget-wording.d.ts +16 -2
  128. package/dist/core/budget-wording.js +40 -2
  129. package/dist/core/coding-mcp.d.ts +36 -0
  130. package/dist/core/coding-mcp.js +253 -0
  131. package/dist/core/coding-queue.d.ts +2 -1
  132. package/dist/core/coding-queue.js +7 -0
  133. package/dist/core/coding-repository.d.ts +46 -0
  134. package/dist/core/coding-repository.js +92 -0
  135. package/dist/core/cron.d.ts +19 -1
  136. package/dist/core/cron.js +17 -0
  137. package/dist/core/datastores.js +1 -1
  138. package/dist/core/deferred-coding.d.ts +14 -0
  139. package/dist/core/deferred-coding.js +62 -0
  140. package/dist/core/delegation-child.d.ts +25 -0
  141. package/dist/core/delegation-child.js +37 -0
  142. package/dist/core/delegation-slots.d.ts +27 -0
  143. package/dist/core/delegation-slots.js +44 -0
  144. package/dist/core/dispatch.d.ts +48 -2
  145. package/dist/core/dispatch.js +166 -66
  146. package/dist/core/engine-native.js +1 -1
  147. package/dist/core/error-code.d.ts +38 -0
  148. package/dist/core/error-code.js +169 -0
  149. package/dist/core/grants.d.ts +46 -8
  150. package/dist/core/grants.js +99 -8
  151. package/dist/core/host-events.d.ts +18 -2
  152. package/dist/core/host-events.js +291 -27
  153. package/dist/core/host-status.d.ts +85 -3
  154. package/dist/core/host-status.js +300 -22
  155. package/dist/core/issue-bridge.d.ts +50 -6
  156. package/dist/core/issue-bridge.js +124 -33
  157. package/dist/core/issue-events.d.ts +1 -1
  158. package/dist/core/issue-events.js +4 -10
  159. package/dist/core/issue-status.d.ts +1 -1
  160. package/dist/core/issue-status.js +58 -29
  161. package/dist/core/logger.d.ts +5 -0
  162. package/dist/core/logger.js +14 -1
  163. package/dist/core/lost-run-children.d.ts +6 -0
  164. package/dist/core/lost-run-children.js +32 -0
  165. package/dist/core/mark-ready.d.ts +34 -0
  166. package/dist/core/mark-ready.js +152 -0
  167. package/dist/core/markdown-code.d.ts +8 -0
  168. package/dist/core/markdown-code.js +107 -0
  169. package/dist/core/mcp-client/client.d.ts +47 -0
  170. package/dist/core/mcp-client/client.js +141 -0
  171. package/dist/core/mcp-client/jsonrpc.d.ts +15 -0
  172. package/dist/core/mcp-client/jsonrpc.js +54 -0
  173. package/dist/core/mcp-client/results.d.ts +13 -0
  174. package/dist/core/mcp-client/results.js +42 -0
  175. package/dist/core/mcp-servers.d.ts +90 -0
  176. package/dist/core/mcp-servers.js +230 -0
  177. package/dist/core/mcp-tools.d.ts +108 -0
  178. package/dist/core/mcp-tools.js +287 -0
  179. package/dist/core/memory-tools.js +7 -0
  180. package/dist/core/merge-order-check.d.ts +2 -1
  181. package/dist/core/merge-order-check.js +44 -18
  182. package/dist/core/notification-dispatcher.js +2 -1
  183. package/dist/core/notification-templates.d.ts +1 -7
  184. package/dist/core/notification-templates.js +36 -2
  185. package/dist/core/pull-request-state-sync.js +2 -2
  186. package/dist/core/reconciler.d.ts +4 -3
  187. package/dist/core/reconciler.js +8 -1
  188. package/dist/core/related-pull-requests.d.ts +11 -3
  189. package/dist/core/related-pull-requests.js +49 -20
  190. package/dist/core/reply-parts.d.ts +21 -0
  191. package/dist/core/reply-parts.js +73 -0
  192. package/dist/core/review-fix.d.ts +1 -1
  193. package/dist/core/review-fix.js +4 -3
  194. package/dist/core/review-host-checks.d.ts +1 -1
  195. package/dist/core/review-host-tools.d.ts +3 -0
  196. package/dist/core/review-host-tools.js +102 -14
  197. package/dist/core/review-reads.d.ts +55 -0
  198. package/dist/core/review-reads.js +233 -0
  199. package/dist/core/run-status.d.ts +12 -0
  200. package/dist/core/run-status.js +12 -0
  201. package/dist/core/runner.d.ts +145 -49
  202. package/dist/core/runner.js +719 -216
  203. package/dist/core/schedule-start.d.ts +12 -0
  204. package/dist/core/schedule-start.js +14 -0
  205. package/dist/core/secret-broker-config.d.ts +12 -74
  206. package/dist/core/secret-broker-config.js +1 -1
  207. package/dist/core/secret-guard.d.ts +49 -0
  208. package/dist/core/secret-guard.js +119 -0
  209. package/dist/core/secret-guarded-stores.d.ts +12 -0
  210. package/dist/core/secret-guarded-stores.js +41 -0
  211. package/dist/core/secret-spans.d.ts +50 -0
  212. package/dist/core/secret-spans.js +94 -0
  213. package/dist/core/secrets.d.ts +11 -1
  214. package/dist/core/secrets.js +27 -1
  215. package/dist/core/serializable-retry.d.ts +18 -0
  216. package/dist/core/serializable-retry.js +43 -0
  217. package/dist/core/stop-run.d.ts +46 -0
  218. package/dist/core/stop-run.js +61 -0
  219. package/dist/core/tool-admin.d.ts +5 -1
  220. package/dist/core/tool-admin.js +7 -2
  221. package/dist/core/tool-names.d.ts +13 -0
  222. package/dist/core/tool-names.js +20 -0
  223. package/dist/core/webhooks.d.ts +4 -0
  224. package/dist/core/webhooks.js +68 -49
  225. package/dist/core/workflow-events.d.ts +14 -2
  226. package/dist/core/workflow-events.js +4 -0
  227. package/dist/core/workflow-run-events.d.ts +5 -3
  228. package/dist/core/workflow-run-events.js +45 -9
  229. package/dist/core/zod-json-schema.d.ts +4 -0
  230. package/dist/core/zod-json-schema.js +39 -0
  231. package/dist/core/zod3-window.d.ts +35 -0
  232. package/dist/core/zod3-window.js +124 -0
  233. package/dist/generated/prisma/browser.d.ts +65 -3
  234. package/dist/generated/prisma/client.d.ts +65 -3
  235. package/dist/generated/prisma/commonInputTypes.d.ts +266 -106
  236. package/dist/generated/prisma/enums.d.ts +10 -0
  237. package/dist/generated/prisma/enums.js +8 -0
  238. package/dist/generated/prisma/internal/class.d.ts +110 -0
  239. package/dist/generated/prisma/internal/class.js +4 -4
  240. package/dist/generated/prisma/internal/prismaNamespace.d.ts +957 -9
  241. package/dist/generated/prisma/internal/prismaNamespace.js +166 -2
  242. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +174 -0
  243. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +166 -2
  244. package/dist/generated/prisma/models/Agent.d.ts +377 -8
  245. package/dist/generated/prisma/models/AgentMcpServer.d.ts +1412 -0
  246. package/dist/generated/prisma/models/AgentMcpServer.js +1 -0
  247. package/dist/generated/prisma/models/AgentRepository.d.ts +81 -1
  248. package/dist/generated/prisma/models/AuthUser.d.ts +1 -1
  249. package/dist/generated/prisma/models/CodingAgentProfile.d.ts +228 -7
  250. package/dist/generated/prisma/models/CodingProxyRequest.d.ts +207 -3
  251. package/dist/generated/prisma/models/CodingProxySession.d.ts +232 -2
  252. package/dist/generated/prisma/models/CodingRun.d.ts +1712 -1
  253. package/dist/generated/prisma/models/DependencySnapshot.d.ts +1668 -0
  254. package/dist/generated/prisma/models/DependencySnapshot.js +1 -0
  255. package/dist/generated/prisma/models/HostProvider.d.ts +2176 -0
  256. package/dist/generated/prisma/models/HostProvider.js +1 -0
  257. package/dist/generated/prisma/models/HostProviderCredential.d.ts +1285 -0
  258. package/dist/generated/prisma/models/HostProviderCredential.js +1 -0
  259. package/dist/generated/prisma/models/HostProviderOperation.d.ts +1470 -0
  260. package/dist/generated/prisma/models/HostProviderOperation.js +1 -0
  261. package/dist/generated/prisma/models/HostProviderTrustedAccount.d.ts +1145 -0
  262. package/dist/generated/prisma/models/HostProviderTrustedAccount.js +1 -0
  263. package/dist/generated/prisma/models/IssuePullRequest.d.ts +6 -2
  264. package/dist/generated/prisma/models/LocalReview.d.ts +40 -1
  265. package/dist/generated/prisma/models/McpServer.d.ts +1500 -0
  266. package/dist/generated/prisma/models/McpServer.js +1 -0
  267. package/dist/generated/prisma/models/NativeGatewayCall.d.ts +77 -1
  268. package/dist/generated/prisma/models/NativeGatewaySession.d.ts +35 -1
  269. package/dist/generated/prisma/models/Principal.d.ts +167 -0
  270. package/dist/generated/prisma/models/RegistryAllowance.d.ts +41 -1
  271. package/dist/generated/prisma/models/RegistryApprovedVersion.d.ts +75 -1
  272. package/dist/generated/prisma/models/RegistryAuditRecord.d.ts +1364 -0
  273. package/dist/generated/prisma/models/RegistryAuditRecord.js +1 -0
  274. package/dist/generated/prisma/models/ResourceGrant.d.ts +1 -1
  275. package/dist/generated/prisma/models/Run.d.ts +738 -2
  276. package/dist/generated/prisma/models/RunBudgetEvent.d.ts +1211 -0
  277. package/dist/generated/prisma/models/RunBudgetEvent.js +1 -0
  278. package/dist/generated/prisma/models/RunTranscript.d.ts +1339 -0
  279. package/dist/generated/prisma/models/RunTranscript.js +1 -0
  280. package/dist/generated/prisma/models/Secret.d.ts +387 -0
  281. package/dist/generated/prisma/models/Tool.d.ts +223 -1
  282. package/dist/generated/prisma/models.d.ts +10 -0
  283. package/dist/help/search.js +12 -3
  284. package/dist/help-index.json +2033 -110
  285. package/dist/import/create.js +48 -4
  286. package/dist/import/neutral-schema.d.ts +51 -281
  287. package/dist/import/neutral-schema.js +7 -4
  288. package/dist/knowledge/check.d.ts +1 -1
  289. package/dist/knowledge/cli.d.ts +11 -1
  290. package/dist/knowledge/cli.js +37 -4
  291. package/dist/knowledge/concept.d.ts +3 -19
  292. package/dist/knowledge/location.d.ts +31 -0
  293. package/dist/knowledge/location.js +78 -0
  294. package/dist/mcp/auth/access.d.ts +10 -2
  295. package/dist/mcp/auth/access.js +15 -1
  296. package/dist/mcp/auth/grants-cli.d.ts +6 -4
  297. package/dist/mcp/auth/grants-cli.js +42 -3
  298. package/dist/mcp/auth/ownership.d.ts +7 -7
  299. package/dist/mcp/auth/resource-server.d.ts +3 -1
  300. package/dist/mcp/auth/resource-server.js +17 -2
  301. package/dist/mcp/auth/self-hosted/credentials.d.ts +3 -3
  302. package/dist/mcp/auth/self-hosted/session.d.ts +2 -2
  303. package/dist/mcp/context.d.ts +3 -0
  304. package/dist/mcp/host-events/github-ingress.d.ts +2 -0
  305. package/dist/mcp/host-events/github-ingress.js +2 -1
  306. package/dist/mcp/index.d.ts +6 -0
  307. package/dist/mcp/index.js +69 -10
  308. package/dist/mcp/server.d.ts +13 -0
  309. package/dist/mcp/server.js +33 -14
  310. package/dist/mcp/tools/agents.d.ts +4 -0
  311. package/dist/mcp/tools/agents.js +295 -28
  312. package/dist/mcp/tools/datastore.js +17 -8
  313. package/dist/mcp/tools/grants.js +73 -29
  314. package/dist/mcp/tools/host-providers.d.ts +2 -0
  315. package/dist/mcp/tools/host-providers.js +215 -0
  316. package/dist/mcp/tools/mcp-servers.d.ts +26 -0
  317. package/dist/mcp/tools/mcp-servers.js +481 -0
  318. package/dist/mcp/tools/memory.js +11 -1
  319. package/dist/mcp/tools/notification-channels.js +2 -2
  320. package/dist/mcp/tools/packages.d.ts +2 -0
  321. package/dist/mcp/tools/packages.js +195 -0
  322. package/dist/mcp/tools/repositories.js +65 -12
  323. package/dist/mcp/tools/run-access.d.ts +16 -0
  324. package/dist/mcp/tools/run-access.js +25 -0
  325. package/dist/mcp/tools/run-transcript-download.d.ts +30 -0
  326. package/dist/mcp/tools/run-transcript-download.js +129 -0
  327. package/dist/mcp/tools/run-transcript.d.ts +19 -0
  328. package/dist/mcp/tools/run-transcript.js +70 -0
  329. package/dist/mcp/tools/runs.js +209 -27
  330. package/dist/mcp/tools/scheduling.js +3 -1
  331. package/dist/mcp/tools/secret-elicitation-form.js +5 -0
  332. package/dist/mcp/tools/secret-elicitation-server.d.ts +6 -0
  333. package/dist/mcp/tools/secret-elicitation-server.js +10 -61
  334. package/dist/mcp/tools/secret-elicitation.d.ts +2 -0
  335. package/dist/mcp/tools/secret-elicitation.js +25 -2
  336. package/dist/mcp/tools/secrets.js +40 -6
  337. package/dist/mcp/tools/stop-run.d.ts +2 -0
  338. package/dist/mcp/tools/stop-run.js +82 -0
  339. package/dist/mcp/tools/subagents.js +2 -2
  340. package/dist/mcp/tools/tools.d.ts +7 -5
  341. package/dist/mcp/tools/tools.js +64 -16
  342. package/dist/mcp/tools/trigger.js +28 -6
  343. package/dist/mcp/transport/http-limits.d.ts +2 -0
  344. package/dist/mcp/transport/http-limits.js +6 -2
  345. package/dist/mcp/transport/stdio-link-host.d.ts +20 -0
  346. package/dist/mcp/transport/stdio-link-host.js +67 -0
  347. package/dist/mcp/transport/streamable-http.d.ts +13 -0
  348. package/dist/mcp/transport/streamable-http.js +41 -1
  349. package/dist/mcp/webhooks/ingress.js +10 -0
  350. package/dist/native-worker/docker-launcher.d.ts +38 -2
  351. package/dist/native-worker/docker-launcher.js +65 -5
  352. package/dist/native-worker/gateway-server.d.ts +55 -3
  353. package/dist/native-worker/gateway-server.js +152 -34
  354. package/dist/native-worker/gateway.d.ts +29 -1
  355. package/dist/native-worker/gateway.js +74 -4
  356. package/dist/native-worker/http-server.d.ts +7 -1
  357. package/dist/native-worker/http-server.js +62 -7
  358. package/dist/native-worker/http-transport.js +1 -1
  359. package/dist/native-worker/kubernetes-launcher.d.ts +7 -3
  360. package/dist/native-worker/kubernetes-launcher.js +43 -3
  361. package/dist/native-worker/launch.d.ts +18 -1
  362. package/dist/native-worker/launch.js +6 -1
  363. package/dist/native-worker/ledger.d.ts +24 -4
  364. package/dist/native-worker/ledger.js +62 -8
  365. package/dist/native-worker/loopback.js +3 -8
  366. package/dist/native-worker/main.d.ts +2 -1
  367. package/dist/native-worker/main.js +14 -3
  368. package/dist/native-worker/protocol.d.ts +130 -577
  369. package/dist/native-worker/protocol.js +51 -2
  370. package/dist/native-worker/sandbox-executor.d.ts +17 -2
  371. package/dist/native-worker/sandbox-executor.js +78 -4
  372. package/dist/native-worker/stderr-redaction.d.ts +77 -0
  373. package/dist/native-worker/stderr-redaction.js +237 -0
  374. package/dist/native-worker/stdio.d.ts +1 -1
  375. package/dist/native-worker/stdio.js +6 -5
  376. package/dist/native-worker/warm-pool.d.ts +2 -2
  377. package/dist/native-worker/warm-pool.js +4 -4
  378. package/dist/native-worker/worker.js +28 -2
  379. package/dist/observability/metrics.js +6 -1
  380. package/dist/providers/auth/self-hosted.d.ts +1 -1
  381. package/dist/providers/coding-proxy/capability-hash.d.ts +2 -0
  382. package/dist/providers/coding-proxy/capability-hash.js +5 -0
  383. package/dist/providers/coding-proxy/dependency-cache/eviction.d.ts +29 -0
  384. package/dist/providers/coding-proxy/dependency-cache/eviction.js +87 -0
  385. package/dist/providers/coding-proxy/dependency-cache/key.d.ts +33 -0
  386. package/dist/providers/coding-proxy/dependency-cache/key.js +86 -0
  387. package/dist/providers/coding-proxy/dependency-cache/model-request-seal.d.ts +18 -0
  388. package/dist/providers/coding-proxy/dependency-cache/model-request-seal.js +40 -0
  389. package/dist/providers/coding-proxy/dependency-cache/prisma-store.d.ts +25 -0
  390. package/dist/providers/coding-proxy/dependency-cache/prisma-store.js +131 -0
  391. package/dist/providers/coding-proxy/dependency-cache/service.d.ts +70 -0
  392. package/dist/providers/coding-proxy/dependency-cache/service.js +409 -0
  393. package/dist/providers/coding-proxy/dependency-cache/store.d.ts +85 -0
  394. package/dist/providers/coding-proxy/dependency-cache/store.js +95 -0
  395. package/dist/providers/coding-proxy/hold.d.ts +32 -0
  396. package/dist/providers/coding-proxy/hold.js +86 -0
  397. package/dist/providers/coding-proxy/interrupted.d.ts +70 -0
  398. package/dist/providers/coding-proxy/interrupted.js +104 -0
  399. package/dist/providers/coding-proxy/mcp-route.d.ts +34 -0
  400. package/dist/providers/coding-proxy/mcp-route.js +166 -0
  401. package/dist/providers/coding-proxy/memory-ledger.d.ts +17 -2
  402. package/dist/providers/coding-proxy/memory-ledger.js +99 -8
  403. package/dist/providers/coding-proxy/metering.d.ts +16 -0
  404. package/dist/providers/coding-proxy/metering.js +27 -4
  405. package/dist/providers/coding-proxy/prisma-ledger.d.ts +16 -2
  406. package/dist/providers/coding-proxy/prisma-ledger.js +209 -69
  407. package/dist/providers/coding-proxy/proxy.d.ts +21 -2
  408. package/dist/providers/coding-proxy/proxy.js +300 -48
  409. package/dist/providers/coding-proxy/registry/audit.d.ts +53 -10
  410. package/dist/providers/coding-proxy/registry/audit.js +94 -17
  411. package/dist/providers/coding-proxy/registry/lockfile-parse-worker.d.ts +36 -0
  412. package/dist/providers/coding-proxy/registry/lockfile-parse-worker.js +67 -0
  413. package/dist/providers/coding-proxy/registry/lockfile-parse.d.ts +16 -0
  414. package/dist/providers/coding-proxy/registry/lockfile-parse.js +110 -0
  415. package/dist/providers/coding-proxy/registry/plan.d.ts +9 -0
  416. package/dist/providers/coding-proxy/registry/plan.js +201 -48
  417. package/dist/providers/coding-proxy/registry/prisma-store.d.ts +11 -5
  418. package/dist/providers/coding-proxy/registry/prisma-store.js +120 -17
  419. package/dist/providers/coding-proxy/registry/service.d.ts +97 -16
  420. package/dist/providers/coding-proxy/registry/service.js +579 -112
  421. package/dist/providers/coding-proxy/registry/store.d.ts +84 -9
  422. package/dist/providers/coding-proxy/registry/store.js +54 -1
  423. package/dist/providers/coding-proxy/runtime.d.ts +10 -0
  424. package/dist/providers/coding-proxy/runtime.js +109 -16
  425. package/dist/providers/coding-proxy/server.d.ts +9 -1
  426. package/dist/providers/coding-proxy/server.js +55 -1
  427. package/dist/providers/coding-proxy/types.d.ts +78 -1
  428. package/dist/providers/datastore/types.d.ts +5 -0
  429. package/dist/providers/engine/types.d.ts +17 -2
  430. package/dist/providers/engine/types.js +17 -0
  431. package/dist/providers/executor/composition.d.ts +10 -3
  432. package/dist/providers/executor/composition.js +52 -7
  433. package/dist/providers/executor/container.d.ts +394 -9
  434. package/dist/providers/executor/container.js +1210 -96
  435. package/dist/providers/executor/dbos-status.d.ts +31 -0
  436. package/dist/providers/executor/dbos-status.js +64 -0
  437. package/dist/providers/executor/dbos.d.ts +50 -1
  438. package/dist/providers/executor/dbos.js +207 -20
  439. package/dist/providers/executor/deferred.d.ts +12 -24
  440. package/dist/providers/executor/deferred.js +10 -29
  441. package/dist/providers/executor/in-process.d.ts +9 -1
  442. package/dist/providers/executor/in-process.js +14 -4
  443. package/dist/providers/executor/linked-issue-reader.d.ts +16 -0
  444. package/dist/providers/executor/linked-issue-reader.js +30 -0
  445. package/dist/providers/executor/routing.d.ts +2 -0
  446. package/dist/providers/executor/routing.js +4 -0
  447. package/dist/providers/executor/types.d.ts +13 -0
  448. package/dist/providers/host-tools/invoke.d.ts +37 -0
  449. package/dist/providers/host-tools/invoke.js +117 -0
  450. package/dist/providers/host-tools/operations.d.ts +65 -0
  451. package/dist/providers/host-tools/operations.js +149 -0
  452. package/dist/providers/host-tools/registry.d.ts +79 -0
  453. package/dist/providers/host-tools/registry.js +362 -0
  454. package/dist/providers/host-tools/request-guard.d.ts +17 -0
  455. package/dist/providers/host-tools/request-guard.js +99 -0
  456. package/dist/providers/host-tools/self-test.d.ts +64 -0
  457. package/dist/providers/host-tools/self-test.js +142 -0
  458. package/dist/providers/index.d.ts +2 -1
  459. package/dist/providers/issue-tracker/types.d.ts +17 -0
  460. package/dist/providers/issue-tracker/types.js +39 -1
  461. package/dist/providers/jobs/claude-tool-setup.d.ts +4 -0
  462. package/dist/providers/jobs/claude-tool-setup.js +5 -2
  463. package/dist/providers/jobs/docker-isolation.d.ts +10 -2
  464. package/dist/providers/jobs/docker-isolation.js +47 -8
  465. package/dist/providers/jobs/docker.d.ts +9 -0
  466. package/dist/providers/jobs/docker.js +60 -11
  467. package/dist/providers/jobs/fake-kubernetes-api.d.ts +2 -0
  468. package/dist/providers/jobs/fake-kubernetes-api.js +3 -0
  469. package/dist/providers/jobs/kubernetes-api.d.ts +8 -0
  470. package/dist/providers/jobs/kubernetes-api.js +10 -0
  471. package/dist/providers/jobs/kubernetes-client.js +10 -1
  472. package/dist/providers/jobs/kubernetes-isolation.d.ts +5 -1
  473. package/dist/providers/jobs/kubernetes-isolation.js +32 -3
  474. package/dist/providers/jobs/kubernetes.d.ts +11 -1
  475. package/dist/providers/jobs/kubernetes.js +111 -17
  476. package/dist/providers/jobs/types.d.ts +39 -0
  477. package/dist/providers/jobs/types.js +13 -1
  478. package/dist/providers/llm/anthropic.js +5 -1
  479. package/dist/providers/llm/bedrock.d.ts +0 -12
  480. package/dist/providers/llm/bedrock.js +4 -0
  481. package/dist/providers/llm/claude-messages.d.ts +3 -1
  482. package/dist/providers/llm/claude-messages.js +4 -1
  483. package/dist/providers/llm/claude-provider.d.ts +2 -2
  484. package/dist/providers/llm/claude-provider.js +2 -2
  485. package/dist/providers/llm/openai.d.ts +2 -2
  486. package/dist/providers/llm/openai.js +6 -2
  487. package/dist/providers/llm/routing.d.ts +2 -2
  488. package/dist/providers/llm/routing.js +2 -2
  489. package/dist/providers/llm/types.d.ts +12 -2
  490. package/dist/providers/review-host/github-events.d.ts +9 -1
  491. package/dist/providers/review-host/github-events.js +34 -12
  492. package/dist/providers/review-host/github.d.ts +29 -2
  493. package/dist/providers/review-host/github.js +224 -29
  494. package/dist/providers/review-host/local.d.ts +8 -4
  495. package/dist/providers/review-host/local.js +49 -31
  496. package/dist/providers/review-host/patch-pages.d.ts +41 -0
  497. package/dist/providers/review-host/patch-pages.js +176 -0
  498. package/dist/providers/review-host/review-format.d.ts +19 -1
  499. package/dist/providers/review-host/review-format.js +38 -7
  500. package/dist/providers/review-host/types.d.ts +140 -6
  501. package/dist/providers/review-host/types.js +9 -1
  502. package/dist/providers/storage/gcs.d.ts +63 -0
  503. package/dist/providers/storage/gcs.js +69 -0
  504. package/dist/providers/storage/index.d.ts +15 -0
  505. package/dist/providers/storage/index.js +14 -0
  506. package/dist/providers/storage/local.d.ts +24 -0
  507. package/dist/providers/storage/local.js +92 -0
  508. package/dist/providers/storage/meter.d.ts +14 -0
  509. package/dist/providers/storage/meter.js +34 -0
  510. package/dist/providers/storage/s3.d.ts +41 -0
  511. package/dist/providers/storage/s3.js +107 -0
  512. package/dist/providers/storage/types.d.ts +37 -3
  513. package/dist/providers/storage/types.js +21 -4
  514. package/dist/providers/vcs/git.d.ts +39 -4
  515. package/dist/providers/vcs/git.js +339 -26
  516. package/dist/providers/vcs/github-remote.d.ts +26 -3
  517. package/dist/providers/vcs/github-remote.js +124 -14
  518. package/dist/providers/vcs/github.d.ts +183 -44
  519. package/dist/providers/vcs/github.js +455 -56
  520. package/dist/providers/vcs/index.d.ts +1 -1
  521. package/dist/providers/vcs/index.js +9 -2
  522. package/dist/providers/vcs/pr-description.d.ts +127 -0
  523. package/dist/providers/vcs/pr-description.js +270 -0
  524. package/dist/providers/vcs/remote.d.ts +37 -1
  525. package/dist/providers/vcs/remote.js +7 -1
  526. package/dist/providers/vcs/routing.d.ts +16 -8
  527. package/dist/providers/vcs/routing.js +27 -6
  528. package/dist/providers/vcs/types.d.ts +150 -5
  529. package/dist/quickstart/coding-seed.d.ts +14 -3
  530. package/dist/quickstart/coding-seed.js +213 -4
  531. package/dist/quickstart/index.d.ts +5 -0
  532. package/dist/quickstart/index.js +21 -0
  533. package/dist/quickstart/reviewer-prompt.d.ts +1 -1
  534. package/dist/quickstart/reviewer-prompt.js +6 -6
  535. package/dist/quickstart-images.json +1 -1
  536. package/dist/sandbox/eval-core.d.ts +12 -2
  537. package/dist/sandbox/eval-core.js +20 -4
  538. package/dist/sandbox/generated/zod.bundle.js +62 -1
  539. package/dist/sandbox/generated/zod3.bundle.js +5 -0
  540. package/dist/sandbox/host-functions.d.ts +5 -0
  541. package/dist/sandbox/host-functions.js +13 -13
  542. package/dist/sandbox/limits.d.ts +4 -1
  543. package/dist/sandbox/limits.js +4 -1
  544. package/dist/sandbox/run-in-sandbox.d.ts +6 -0
  545. package/dist/sandbox/run-in-sandbox.js +14 -2
  546. package/dist/sandbox/safe-fetch.d.ts +2 -0
  547. package/dist/sandbox/safe-fetch.js +1 -1
  548. package/dist/sandbox/secret-broker.d.ts +1 -0
  549. package/dist/sandbox/secret-broker.js +4 -5
  550. package/dist/sandbox/tool-capabilities.d.ts +10 -30
  551. package/dist/sandbox/tool-timeout.d.ts +32 -0
  552. package/dist/sandbox/tool-timeout.js +52 -0
  553. package/dist/sandbox/user-tool.d.ts +8 -1
  554. package/dist/sandbox/user-tool.js +9 -3
  555. package/dist/sandbox/zod-params.d.ts +37 -5
  556. package/dist/sandbox/zod-params.js +181 -26
  557. package/dist/serve.js +8 -1
  558. package/dist/viewer/api-schema.d.ts +349 -2627
  559. package/dist/viewer/api-schema.js +7 -0
  560. package/dist/viewer/build-schemas.js +6 -2
  561. package/dist/viewer/graph.js +2 -1
  562. package/dist/viewer/openapi.js +2 -4
  563. package/dist/wardby-bin.js +15 -0
  564. package/docs/README.md +11 -1
  565. package/docs/agent-recipes.md +95 -24
  566. package/docs/architecture-runtime.md +1 -1
  567. package/docs/claude-code-plugin.md +164 -0
  568. package/docs/code-review-agents.md +557 -41
  569. package/docs/coding-agent-setup.md +566 -8
  570. package/docs/coding-packages.md +1033 -90
  571. package/docs/coding-services.md +27 -12
  572. package/docs/coding-worker-byo-images.md +24 -2
  573. package/docs/coding-worker-isolation.md +183 -37
  574. package/docs/debugging-agent-runs.md +242 -0
  575. package/docs/getting-started-gke.md +129 -141
  576. package/docs/getting-started-identity-provider.md +53 -38
  577. package/docs/getting-started.md +17 -0
  578. package/docs/host-providers.md +294 -0
  579. package/docs/jira-agents.md +17 -8
  580. package/docs/knowledge/blob-not-found-semantics.md +41 -0
  581. package/docs/knowledge/bounded-file-descriptor.md +52 -0
  582. package/docs/knowledge/delegation-admission-slots.md +52 -0
  583. package/docs/knowledge/http-dispatcher-bootstrap.md +61 -0
  584. package/docs/knowledge/import-rename-target.md +52 -0
  585. package/docs/knowledge/index.md +57 -0
  586. package/docs/knowledge/log.md +9 -0
  587. package/docs/knowledge/mcp-cancelled-task-precedence.md +41 -0
  588. package/docs/knowledge/mcp-http-prompt-discovery.md +41 -0
  589. package/docs/knowledge/mcp-schema-module-boundary.md +41 -0
  590. package/docs/knowledge/nullable-tool-uniqueness.md +52 -0
  591. package/docs/knowledge/overview-cli.md +74 -0
  592. package/docs/knowledge/overview-coding-proxy.md +72 -0
  593. package/docs/knowledge/overview-coding.md +72 -0
  594. package/docs/knowledge/overview-config.md +60 -0
  595. package/docs/knowledge/overview-core.md +72 -0
  596. package/docs/knowledge/overview-deploy.md +83 -0
  597. package/docs/knowledge/overview-mcp.md +61 -0
  598. package/docs/knowledge/overview-prisma.md +72 -0
  599. package/docs/knowledge/overview-providers.md +89 -0
  600. package/docs/knowledge/overview-sandbox.md +83 -0
  601. package/docs/knowledge/overview-surfaces.md +83 -0
  602. package/docs/knowledge/private-datastore-shared-boundary.md +54 -0
  603. package/docs/knowledge/proxy-settlement-projections.md +41 -0
  604. package/docs/knowledge/run-pricing-first-writer.md +43 -0
  605. package/docs/knowledge/schedule-claim-transaction.md +41 -0
  606. package/docs/knowledge/secret-entry-replica-contract.md +52 -0
  607. package/docs/knowledge/terminal-run-first-writer.md +41 -0
  608. package/docs/knowledge/transactional-agent-authorization.md +52 -0
  609. package/docs/knowledge/viewer-notify-write-isolation.md +30 -0
  610. package/docs/knowledge/warm-input-publication.md +30 -0
  611. package/docs/knowledge/workspace-staging-failure.md +54 -0
  612. package/docs/knowledge.md +54 -14
  613. package/docs/mcp-servers.md +254 -0
  614. package/docs/native-sandbox.md +143 -31
  615. package/docs/observability.md +4 -0
  616. package/docs/security-deployment.md +139 -29
  617. package/docs/slack-notifications.md +35 -19
  618. package/docs/tool-secrets.md +45 -10
  619. package/docs/viewer-api.md +6 -0
  620. package/docs/viewer-api.openapi.yml +1 -1
  621. package/help/admin-viewer.md +28 -2
  622. package/help/agent-recipes.md +33 -2
  623. package/help/architecture-agent.md +11 -6
  624. package/help/brokered-secrets.md +3 -0
  625. package/help/build-claude-code-image.md +1 -1
  626. package/help/build-worker-image.md +3 -1
  627. package/help/builder-agent.md +19 -6
  628. package/help/claude-code-run-pane.md +40 -0
  629. package/help/code-review-agents.md +177 -6
  630. package/help/coding-packages.md +156 -6
  631. package/help/cost-attribution.md +9 -5
  632. package/help/creating-agents.md +14 -1
  633. package/help/dependency-cache.md +143 -0
  634. package/help/deploy-gke.md +15 -8
  635. package/help/errors/budget-exhausted.md +187 -0
  636. package/help/errors/budget-group-exhausted.md +5 -1
  637. package/help/errors/coding-mcp-pins-unavailable.md +35 -0
  638. package/help/errors/coding-stream-quota-exceeded.md +33 -0
  639. package/help/errors/coding-workspace-disk-exceeds-limit.md +39 -0
  640. package/help/errors/continuation-closed.md +9 -12
  641. package/help/errors/database-auth-invalid.md +1 -1
  642. package/help/errors/delegation-conflict.md +24 -0
  643. package/help/errors/file-list-truncated.md +45 -0
  644. package/help/errors/full-read-required.md +49 -0
  645. package/help/errors/github-account-not-allowed.md +4 -0
  646. package/help/errors/graph-incomplete.md +43 -0
  647. package/help/errors/graph-limit.md +43 -0
  648. package/help/errors/host-provider-error.md +40 -0
  649. package/help/errors/host-tool-failed.md +36 -0
  650. package/help/errors/mcp-call-limit.md +22 -0
  651. package/help/errors/mcp-call-timeout.md +22 -0
  652. package/help/errors/mcp-server-auth-failed.md +22 -0
  653. package/help/errors/mcp-server-credentials-unavailable.md +45 -0
  654. package/help/errors/mcp-server-error.md +28 -0
  655. package/help/errors/mcp-server-unreachable.md +22 -0
  656. package/help/errors/mcp-servers-off.md +21 -0
  657. package/help/errors/mcp-tool-not-allowed.md +26 -0
  658. package/help/errors/mcp-tool-removed.md +22 -0
  659. package/help/errors/mcp-unavailable.md +25 -0
  660. package/help/errors/merge-conflict.md +49 -0
  661. package/help/errors/native-sandbox-capacity.md +1 -1
  662. package/help/errors/native-sandbox-deadline-exceeded.md +1 -1
  663. package/help/errors/native-sandbox-docker-failed.md +1 -1
  664. package/help/errors/native-sandbox-gateway-error.md +20 -0
  665. package/help/errors/native-sandbox-gateway-unavailable.md +1 -1
  666. package/help/errors/native-sandbox-image-not-pinned.md +1 -1
  667. package/help/errors/native-sandbox-isolation-mismatch.md +1 -1
  668. package/help/errors/native-sandbox-launch-abandoned.md +21 -0
  669. package/help/errors/native-sandbox-network-unenforced.md +1 -1
  670. package/help/errors/native-sandbox-requires-catalog.md +1 -1
  671. package/help/errors/native-sandbox-unavailable.md +1 -1
  672. package/help/errors/native-sandbox-warm-delivery-failed.md +1 -1
  673. package/help/errors/native-sandbox-worker-exited.md +4 -3
  674. package/help/errors/native-sandbox-worker-lost.md +1 -1
  675. package/help/errors/native-sandbox-worker-unready.md +1 -1
  676. package/help/errors/package-not-allowed-pending.md +52 -0
  677. package/help/errors/package-not-allowed.md +51 -0
  678. package/help/errors/package-refusals.md +43 -0
  679. package/help/errors/patch-cursor-malformed.md +31 -0
  680. package/help/errors/repository-not-listed.md +36 -0
  681. package/help/errors/repository-required.md +36 -0
  682. package/help/errors/run-lost.md +39 -0
  683. package/help/errors/run-transcript-download.md +44 -0
  684. package/help/errors/secret-in-value.md +69 -0
  685. package/help/errors/target-merge.md +40 -0
  686. package/help/errors/tool-timeout.md +38 -0
  687. package/help/fix-merge-conflicts.md +73 -0
  688. package/help/github-app-setup.md +132 -0
  689. package/help/github.md +22 -0
  690. package/help/host-providers.md +40 -0
  691. package/help/identity-and-access.md +6 -1
  692. package/help/jira.md +23 -6
  693. package/help/knowledge.md +16 -7
  694. package/help/local-repositories.md +1 -1
  695. package/help/low-power-mode.md +7 -1
  696. package/help/mcp-servers.md +73 -0
  697. package/help/mcp.md +7 -2
  698. package/help/merge-order-check.md +5 -0
  699. package/help/native-capabilities.md +55 -1
  700. package/help/native-sandbox.md +16 -2
  701. package/help/operating-agents.md +21 -0
  702. package/help/package-audit-mode.md +91 -0
  703. package/help/related-pull-requests.md +17 -10
  704. package/help/repo-instructions-and-skills.md +3 -1
  705. package/help/resume-runs-locally.md +134 -0
  706. package/help/review-fix-rounds.md +33 -1
  707. package/help/sharing-agents.md +59 -0
  708. package/help/slack-notifications.md +19 -5
  709. package/help/status-comments.md +31 -0
  710. package/help/stop-run.md +58 -0
  711. package/help/troubleshooting/budgets.md +28 -0
  712. package/help/troubleshooting/coding-workers.md +86 -7
  713. package/help/troubleshooting/debugging-agent-runs.md +29 -0
  714. package/package.json +18 -10
  715. package/prisma/migrations/20261016000000_registry_approved_accepted_advisories/migration.sql +3 -0
  716. package/prisma/migrations/20261016000001_mark_ready_when_passing/migration.sql +3 -0
  717. package/prisma/migrations/20261017000000_debug_trace_max_mb/migration.sql +4 -0
  718. package/prisma/migrations/20261018000000_dependency_cache/migration.sql +53 -0
  719. package/prisma/migrations/20261019000000_claude_max_output_tokens/migration.sql +5 -0
  720. package/prisma/migrations/20261021000000_pr_description_hash/migration.sql +4 -0
  721. package/prisma/migrations/20261022000000_dependency_snapshot_validation_metadata/migration.sql +4 -0
  722. package/prisma/migrations/20261023000000_package_audit_mode/migration.sql +27 -0
  723. package/prisma/migrations/20261024000000_budget_events/migration.sql +26 -0
  724. package/prisma/migrations/20261025000000_cache_aware_holds/migration.sql +9 -0
  725. package/prisma/migrations/20261026000000_budget_overrun/migration.sql +4 -0
  726. package/prisma/migrations/20261027000000_coding_run_request/migration.sql +1 -0
  727. package/prisma/migrations/20261028000000_native_gateway_review_reads/migration.sql +6 -0
  728. package/prisma/migrations/20261029000000_lead_survives_deploy/migration.sql +6 -0
  729. package/prisma/migrations/20261030000000_local_review_covered_sha/migration.sql +2 -0
  730. package/prisma/migrations/20261031000000_coding_run_budget_limit/migration.sql +9 -0
  731. package/prisma/migrations/20261101000000_run_transcripts/migration.sql +22 -0
  732. package/prisma/migrations/20261102000000_host_providers/migration.sql +56 -0
  733. package/prisma/migrations/20261104000000_coding_agent_repository_list/migration.sql +5 -0
  734. package/prisma/migrations/20261106000000_tool_timeout/migration.sql +4 -0
  735. package/prisma/migrations/20261107000000_mcp_servers/migration.sql +33 -0
  736. package/prisma/migrations/20261108000000_coding_mcp/migration.sql +5 -0
  737. package/prisma/migrations/20261109000000_task_run_index/migration.sql +3 -0
  738. package/prisma/schema.prisma +468 -109
  739. package/scripts/git-askpass.sh +1 -1
  740. package/dist/sandbox/generated/zod-to-json-schema.bundle.js +0 -5
@@ -0,0 +1,1470 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model HostProviderOperation
5
+ * One approved snapshot: the code Wardby runs. `update_tool` changes nothing here until approved again.
6
+ */
7
+ export type HostProviderOperationModel = runtime.Types.Result.DefaultSelection<Prisma.$HostProviderOperationPayload>;
8
+ export type AggregateHostProviderOperation = {
9
+ _count: HostProviderOperationCountAggregateOutputType | null;
10
+ _avg: HostProviderOperationAvgAggregateOutputType | null;
11
+ _sum: HostProviderOperationSumAggregateOutputType | null;
12
+ _min: HostProviderOperationMinAggregateOutputType | null;
13
+ _max: HostProviderOperationMaxAggregateOutputType | null;
14
+ };
15
+ export type HostProviderOperationAvgAggregateOutputType = {
16
+ timeoutMs: number | null;
17
+ };
18
+ export type HostProviderOperationSumAggregateOutputType = {
19
+ timeoutMs: number | null;
20
+ };
21
+ export type HostProviderOperationMinAggregateOutputType = {
22
+ provider: string | null;
23
+ operation: string | null;
24
+ toolId: string | null;
25
+ code: string | null;
26
+ paramsZod: string | null;
27
+ timeoutMs: number | null;
28
+ approvedById: string | null;
29
+ approvedAt: Date | null;
30
+ };
31
+ export type HostProviderOperationMaxAggregateOutputType = {
32
+ provider: string | null;
33
+ operation: string | null;
34
+ toolId: string | null;
35
+ code: string | null;
36
+ paramsZod: string | null;
37
+ timeoutMs: number | null;
38
+ approvedById: string | null;
39
+ approvedAt: Date | null;
40
+ };
41
+ export type HostProviderOperationCountAggregateOutputType = {
42
+ provider: number;
43
+ operation: number;
44
+ toolId: number;
45
+ code: number;
46
+ paramsZod: number;
47
+ timeoutMs: number;
48
+ approvedById: number;
49
+ approvedAt: number;
50
+ _all: number;
51
+ };
52
+ export type HostProviderOperationAvgAggregateInputType = {
53
+ timeoutMs?: true;
54
+ };
55
+ export type HostProviderOperationSumAggregateInputType = {
56
+ timeoutMs?: true;
57
+ };
58
+ export type HostProviderOperationMinAggregateInputType = {
59
+ provider?: true;
60
+ operation?: true;
61
+ toolId?: true;
62
+ code?: true;
63
+ paramsZod?: true;
64
+ timeoutMs?: true;
65
+ approvedById?: true;
66
+ approvedAt?: true;
67
+ };
68
+ export type HostProviderOperationMaxAggregateInputType = {
69
+ provider?: true;
70
+ operation?: true;
71
+ toolId?: true;
72
+ code?: true;
73
+ paramsZod?: true;
74
+ timeoutMs?: true;
75
+ approvedById?: true;
76
+ approvedAt?: true;
77
+ };
78
+ export type HostProviderOperationCountAggregateInputType = {
79
+ provider?: true;
80
+ operation?: true;
81
+ toolId?: true;
82
+ code?: true;
83
+ paramsZod?: true;
84
+ timeoutMs?: true;
85
+ approvedById?: true;
86
+ approvedAt?: true;
87
+ _all?: true;
88
+ };
89
+ export type HostProviderOperationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
90
+ /**
91
+ * Filter which HostProviderOperation to aggregate.
92
+ */
93
+ where?: Prisma.HostProviderOperationWhereInput;
94
+ /**
95
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
96
+ *
97
+ * Determine the order of HostProviderOperations to fetch.
98
+ */
99
+ orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
100
+ /**
101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
102
+ *
103
+ * Sets the start position
104
+ */
105
+ cursor?: Prisma.HostProviderOperationWhereUniqueInput;
106
+ /**
107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
108
+ *
109
+ * Take `±n` HostProviderOperations from the position of the cursor.
110
+ */
111
+ take?: number;
112
+ /**
113
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
114
+ *
115
+ * Skip the first `n` HostProviderOperations.
116
+ */
117
+ skip?: number;
118
+ /**
119
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
120
+ *
121
+ * Count returned HostProviderOperations
122
+ **/
123
+ _count?: true | HostProviderOperationCountAggregateInputType;
124
+ /**
125
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
126
+ *
127
+ * Select which fields to average
128
+ **/
129
+ _avg?: HostProviderOperationAvgAggregateInputType;
130
+ /**
131
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
132
+ *
133
+ * Select which fields to sum
134
+ **/
135
+ _sum?: HostProviderOperationSumAggregateInputType;
136
+ /**
137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
138
+ *
139
+ * Select which fields to find the minimum value
140
+ **/
141
+ _min?: HostProviderOperationMinAggregateInputType;
142
+ /**
143
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
144
+ *
145
+ * Select which fields to find the maximum value
146
+ **/
147
+ _max?: HostProviderOperationMaxAggregateInputType;
148
+ };
149
+ export type GetHostProviderOperationAggregateType<T extends HostProviderOperationAggregateArgs> = {
150
+ [P in keyof T & keyof AggregateHostProviderOperation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateHostProviderOperation[P]> : Prisma.GetScalarType<T[P], AggregateHostProviderOperation[P]>;
151
+ };
152
+ export type HostProviderOperationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
153
+ where?: Prisma.HostProviderOperationWhereInput;
154
+ orderBy?: Prisma.HostProviderOperationOrderByWithAggregationInput | Prisma.HostProviderOperationOrderByWithAggregationInput[];
155
+ by: Prisma.HostProviderOperationScalarFieldEnum[] | Prisma.HostProviderOperationScalarFieldEnum;
156
+ having?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput;
157
+ take?: number;
158
+ skip?: number;
159
+ _count?: HostProviderOperationCountAggregateInputType | true;
160
+ _avg?: HostProviderOperationAvgAggregateInputType;
161
+ _sum?: HostProviderOperationSumAggregateInputType;
162
+ _min?: HostProviderOperationMinAggregateInputType;
163
+ _max?: HostProviderOperationMaxAggregateInputType;
164
+ };
165
+ export type HostProviderOperationGroupByOutputType = {
166
+ provider: string;
167
+ operation: string;
168
+ toolId: string | null;
169
+ code: string;
170
+ paramsZod: string;
171
+ timeoutMs: number | null;
172
+ approvedById: string;
173
+ approvedAt: Date;
174
+ _count: HostProviderOperationCountAggregateOutputType | null;
175
+ _avg: HostProviderOperationAvgAggregateOutputType | null;
176
+ _sum: HostProviderOperationSumAggregateOutputType | null;
177
+ _min: HostProviderOperationMinAggregateOutputType | null;
178
+ _max: HostProviderOperationMaxAggregateOutputType | null;
179
+ };
180
+ export type GetHostProviderOperationGroupByPayload<T extends HostProviderOperationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<HostProviderOperationGroupByOutputType, T['by']> & {
181
+ [P in ((keyof T) & (keyof HostProviderOperationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], HostProviderOperationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], HostProviderOperationGroupByOutputType[P]>;
182
+ }>>;
183
+ export type HostProviderOperationWhereInput = {
184
+ AND?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
185
+ OR?: Prisma.HostProviderOperationWhereInput[];
186
+ NOT?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
187
+ provider?: Prisma.StringFilter<"HostProviderOperation"> | string;
188
+ operation?: Prisma.StringFilter<"HostProviderOperation"> | string;
189
+ toolId?: Prisma.StringNullableFilter<"HostProviderOperation"> | string | null;
190
+ code?: Prisma.StringFilter<"HostProviderOperation"> | string;
191
+ paramsZod?: Prisma.StringFilter<"HostProviderOperation"> | string;
192
+ timeoutMs?: Prisma.IntNullableFilter<"HostProviderOperation"> | number | null;
193
+ approvedById?: Prisma.StringFilter<"HostProviderOperation"> | string;
194
+ approvedAt?: Prisma.DateTimeFilter<"HostProviderOperation"> | Date | string;
195
+ hostProvider?: Prisma.XOR<Prisma.HostProviderScalarRelationFilter, Prisma.HostProviderWhereInput>;
196
+ tool?: Prisma.XOR<Prisma.ToolNullableScalarRelationFilter, Prisma.ToolWhereInput> | null;
197
+ };
198
+ export type HostProviderOperationOrderByWithRelationInput = {
199
+ provider?: Prisma.SortOrder;
200
+ operation?: Prisma.SortOrder;
201
+ toolId?: Prisma.SortOrderInput | Prisma.SortOrder;
202
+ code?: Prisma.SortOrder;
203
+ paramsZod?: Prisma.SortOrder;
204
+ timeoutMs?: Prisma.SortOrderInput | Prisma.SortOrder;
205
+ approvedById?: Prisma.SortOrder;
206
+ approvedAt?: Prisma.SortOrder;
207
+ hostProvider?: Prisma.HostProviderOrderByWithRelationInput;
208
+ tool?: Prisma.ToolOrderByWithRelationInput;
209
+ };
210
+ export type HostProviderOperationWhereUniqueInput = Prisma.AtLeast<{
211
+ provider_operation?: Prisma.HostProviderOperationProviderOperationCompoundUniqueInput;
212
+ AND?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
213
+ OR?: Prisma.HostProviderOperationWhereInput[];
214
+ NOT?: Prisma.HostProviderOperationWhereInput | Prisma.HostProviderOperationWhereInput[];
215
+ provider?: Prisma.StringFilter<"HostProviderOperation"> | string;
216
+ operation?: Prisma.StringFilter<"HostProviderOperation"> | string;
217
+ toolId?: Prisma.StringNullableFilter<"HostProviderOperation"> | string | null;
218
+ code?: Prisma.StringFilter<"HostProviderOperation"> | string;
219
+ paramsZod?: Prisma.StringFilter<"HostProviderOperation"> | string;
220
+ timeoutMs?: Prisma.IntNullableFilter<"HostProviderOperation"> | number | null;
221
+ approvedById?: Prisma.StringFilter<"HostProviderOperation"> | string;
222
+ approvedAt?: Prisma.DateTimeFilter<"HostProviderOperation"> | Date | string;
223
+ hostProvider?: Prisma.XOR<Prisma.HostProviderScalarRelationFilter, Prisma.HostProviderWhereInput>;
224
+ tool?: Prisma.XOR<Prisma.ToolNullableScalarRelationFilter, Prisma.ToolWhereInput> | null;
225
+ }, "provider_operation">;
226
+ export type HostProviderOperationOrderByWithAggregationInput = {
227
+ provider?: Prisma.SortOrder;
228
+ operation?: Prisma.SortOrder;
229
+ toolId?: Prisma.SortOrderInput | Prisma.SortOrder;
230
+ code?: Prisma.SortOrder;
231
+ paramsZod?: Prisma.SortOrder;
232
+ timeoutMs?: Prisma.SortOrderInput | Prisma.SortOrder;
233
+ approvedById?: Prisma.SortOrder;
234
+ approvedAt?: Prisma.SortOrder;
235
+ _count?: Prisma.HostProviderOperationCountOrderByAggregateInput;
236
+ _avg?: Prisma.HostProviderOperationAvgOrderByAggregateInput;
237
+ _max?: Prisma.HostProviderOperationMaxOrderByAggregateInput;
238
+ _min?: Prisma.HostProviderOperationMinOrderByAggregateInput;
239
+ _sum?: Prisma.HostProviderOperationSumOrderByAggregateInput;
240
+ };
241
+ export type HostProviderOperationScalarWhereWithAggregatesInput = {
242
+ AND?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput | Prisma.HostProviderOperationScalarWhereWithAggregatesInput[];
243
+ OR?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput[];
244
+ NOT?: Prisma.HostProviderOperationScalarWhereWithAggregatesInput | Prisma.HostProviderOperationScalarWhereWithAggregatesInput[];
245
+ provider?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
246
+ operation?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
247
+ toolId?: Prisma.StringNullableWithAggregatesFilter<"HostProviderOperation"> | string | null;
248
+ code?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
249
+ paramsZod?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
250
+ timeoutMs?: Prisma.IntNullableWithAggregatesFilter<"HostProviderOperation"> | number | null;
251
+ approvedById?: Prisma.StringWithAggregatesFilter<"HostProviderOperation"> | string;
252
+ approvedAt?: Prisma.DateTimeWithAggregatesFilter<"HostProviderOperation"> | Date | string;
253
+ };
254
+ export type HostProviderOperationCreateInput = {
255
+ operation: string;
256
+ code: string;
257
+ paramsZod: string;
258
+ timeoutMs?: number | null;
259
+ approvedById: string;
260
+ approvedAt?: Date | string;
261
+ hostProvider: Prisma.HostProviderCreateNestedOneWithoutOperationsInput;
262
+ tool?: Prisma.ToolCreateNestedOneWithoutHostProviderOperationsInput;
263
+ };
264
+ export type HostProviderOperationUncheckedCreateInput = {
265
+ provider: string;
266
+ operation: string;
267
+ toolId?: string | null;
268
+ code: string;
269
+ paramsZod: string;
270
+ timeoutMs?: number | null;
271
+ approvedById: string;
272
+ approvedAt?: Date | string;
273
+ };
274
+ export type HostProviderOperationUpdateInput = {
275
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
276
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
278
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
279
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
280
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
281
+ hostProvider?: Prisma.HostProviderUpdateOneRequiredWithoutOperationsNestedInput;
282
+ tool?: Prisma.ToolUpdateOneWithoutHostProviderOperationsNestedInput;
283
+ };
284
+ export type HostProviderOperationUncheckedUpdateInput = {
285
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
286
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
287
+ toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
288
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
289
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
290
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
291
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
292
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
293
+ };
294
+ export type HostProviderOperationCreateManyInput = {
295
+ provider: string;
296
+ operation: string;
297
+ toolId?: string | null;
298
+ code: string;
299
+ paramsZod: string;
300
+ timeoutMs?: number | null;
301
+ approvedById: string;
302
+ approvedAt?: Date | string;
303
+ };
304
+ export type HostProviderOperationUpdateManyMutationInput = {
305
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
306
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
307
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
308
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
309
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
310
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
311
+ };
312
+ export type HostProviderOperationUncheckedUpdateManyInput = {
313
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
314
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
315
+ toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
316
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
318
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
319
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
320
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
321
+ };
322
+ export type HostProviderOperationListRelationFilter = {
323
+ every?: Prisma.HostProviderOperationWhereInput;
324
+ some?: Prisma.HostProviderOperationWhereInput;
325
+ none?: Prisma.HostProviderOperationWhereInput;
326
+ };
327
+ export type HostProviderOperationOrderByRelationAggregateInput = {
328
+ _count?: Prisma.SortOrder;
329
+ };
330
+ export type HostProviderOperationProviderOperationCompoundUniqueInput = {
331
+ provider: string;
332
+ operation: string;
333
+ };
334
+ export type HostProviderOperationCountOrderByAggregateInput = {
335
+ provider?: Prisma.SortOrder;
336
+ operation?: Prisma.SortOrder;
337
+ toolId?: Prisma.SortOrder;
338
+ code?: Prisma.SortOrder;
339
+ paramsZod?: Prisma.SortOrder;
340
+ timeoutMs?: Prisma.SortOrder;
341
+ approvedById?: Prisma.SortOrder;
342
+ approvedAt?: Prisma.SortOrder;
343
+ };
344
+ export type HostProviderOperationAvgOrderByAggregateInput = {
345
+ timeoutMs?: Prisma.SortOrder;
346
+ };
347
+ export type HostProviderOperationMaxOrderByAggregateInput = {
348
+ provider?: Prisma.SortOrder;
349
+ operation?: Prisma.SortOrder;
350
+ toolId?: Prisma.SortOrder;
351
+ code?: Prisma.SortOrder;
352
+ paramsZod?: Prisma.SortOrder;
353
+ timeoutMs?: Prisma.SortOrder;
354
+ approvedById?: Prisma.SortOrder;
355
+ approvedAt?: Prisma.SortOrder;
356
+ };
357
+ export type HostProviderOperationMinOrderByAggregateInput = {
358
+ provider?: Prisma.SortOrder;
359
+ operation?: Prisma.SortOrder;
360
+ toolId?: Prisma.SortOrder;
361
+ code?: Prisma.SortOrder;
362
+ paramsZod?: Prisma.SortOrder;
363
+ timeoutMs?: Prisma.SortOrder;
364
+ approvedById?: Prisma.SortOrder;
365
+ approvedAt?: Prisma.SortOrder;
366
+ };
367
+ export type HostProviderOperationSumOrderByAggregateInput = {
368
+ timeoutMs?: Prisma.SortOrder;
369
+ };
370
+ export type HostProviderOperationCreateNestedManyWithoutToolInput = {
371
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
372
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
373
+ createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
374
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
375
+ };
376
+ export type HostProviderOperationUncheckedCreateNestedManyWithoutToolInput = {
377
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
378
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
379
+ createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
380
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
381
+ };
382
+ export type HostProviderOperationUpdateManyWithoutToolNestedInput = {
383
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
384
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
385
+ upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput[];
386
+ createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
387
+ set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
388
+ disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
389
+ delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
390
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
391
+ update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput[];
392
+ updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput[];
393
+ deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
394
+ };
395
+ export type HostProviderOperationUncheckedUpdateManyWithoutToolNestedInput = {
396
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput> | Prisma.HostProviderOperationCreateWithoutToolInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutToolInput[];
397
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutToolInput | Prisma.HostProviderOperationCreateOrConnectWithoutToolInput[];
398
+ upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutToolInput[];
399
+ createMany?: Prisma.HostProviderOperationCreateManyToolInputEnvelope;
400
+ set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
401
+ disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
402
+ delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
403
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
404
+ update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutToolInput[];
405
+ updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutToolInput[];
406
+ deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
407
+ };
408
+ export type HostProviderOperationCreateNestedManyWithoutHostProviderInput = {
409
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
410
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
411
+ createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
412
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
413
+ };
414
+ export type HostProviderOperationUncheckedCreateNestedManyWithoutHostProviderInput = {
415
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
416
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
417
+ createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
418
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
419
+ };
420
+ export type HostProviderOperationUpdateManyWithoutHostProviderNestedInput = {
421
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
422
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
423
+ upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput[];
424
+ createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
425
+ set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
426
+ disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
427
+ delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
428
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
429
+ update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput[];
430
+ updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput[];
431
+ deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
432
+ };
433
+ export type HostProviderOperationUncheckedUpdateManyWithoutHostProviderNestedInput = {
434
+ create?: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput> | Prisma.HostProviderOperationCreateWithoutHostProviderInput[] | Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput[];
435
+ connectOrCreate?: Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput | Prisma.HostProviderOperationCreateOrConnectWithoutHostProviderInput[];
436
+ upsert?: Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput[];
437
+ createMany?: Prisma.HostProviderOperationCreateManyHostProviderInputEnvelope;
438
+ set?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
439
+ disconnect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
440
+ delete?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
441
+ connect?: Prisma.HostProviderOperationWhereUniqueInput | Prisma.HostProviderOperationWhereUniqueInput[];
442
+ update?: Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput | Prisma.HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput[];
443
+ updateMany?: Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput | Prisma.HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput[];
444
+ deleteMany?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
445
+ };
446
+ export type HostProviderOperationCreateWithoutToolInput = {
447
+ operation: string;
448
+ code: string;
449
+ paramsZod: string;
450
+ timeoutMs?: number | null;
451
+ approvedById: string;
452
+ approvedAt?: Date | string;
453
+ hostProvider: Prisma.HostProviderCreateNestedOneWithoutOperationsInput;
454
+ };
455
+ export type HostProviderOperationUncheckedCreateWithoutToolInput = {
456
+ provider: string;
457
+ operation: string;
458
+ code: string;
459
+ paramsZod: string;
460
+ timeoutMs?: number | null;
461
+ approvedById: string;
462
+ approvedAt?: Date | string;
463
+ };
464
+ export type HostProviderOperationCreateOrConnectWithoutToolInput = {
465
+ where: Prisma.HostProviderOperationWhereUniqueInput;
466
+ create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput>;
467
+ };
468
+ export type HostProviderOperationCreateManyToolInputEnvelope = {
469
+ data: Prisma.HostProviderOperationCreateManyToolInput | Prisma.HostProviderOperationCreateManyToolInput[];
470
+ skipDuplicates?: boolean;
471
+ };
472
+ export type HostProviderOperationUpsertWithWhereUniqueWithoutToolInput = {
473
+ where: Prisma.HostProviderOperationWhereUniqueInput;
474
+ update: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutToolInput, Prisma.HostProviderOperationUncheckedUpdateWithoutToolInput>;
475
+ create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutToolInput, Prisma.HostProviderOperationUncheckedCreateWithoutToolInput>;
476
+ };
477
+ export type HostProviderOperationUpdateWithWhereUniqueWithoutToolInput = {
478
+ where: Prisma.HostProviderOperationWhereUniqueInput;
479
+ data: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutToolInput, Prisma.HostProviderOperationUncheckedUpdateWithoutToolInput>;
480
+ };
481
+ export type HostProviderOperationUpdateManyWithWhereWithoutToolInput = {
482
+ where: Prisma.HostProviderOperationScalarWhereInput;
483
+ data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyWithoutToolInput>;
484
+ };
485
+ export type HostProviderOperationScalarWhereInput = {
486
+ AND?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
487
+ OR?: Prisma.HostProviderOperationScalarWhereInput[];
488
+ NOT?: Prisma.HostProviderOperationScalarWhereInput | Prisma.HostProviderOperationScalarWhereInput[];
489
+ provider?: Prisma.StringFilter<"HostProviderOperation"> | string;
490
+ operation?: Prisma.StringFilter<"HostProviderOperation"> | string;
491
+ toolId?: Prisma.StringNullableFilter<"HostProviderOperation"> | string | null;
492
+ code?: Prisma.StringFilter<"HostProviderOperation"> | string;
493
+ paramsZod?: Prisma.StringFilter<"HostProviderOperation"> | string;
494
+ timeoutMs?: Prisma.IntNullableFilter<"HostProviderOperation"> | number | null;
495
+ approvedById?: Prisma.StringFilter<"HostProviderOperation"> | string;
496
+ approvedAt?: Prisma.DateTimeFilter<"HostProviderOperation"> | Date | string;
497
+ };
498
+ export type HostProviderOperationCreateWithoutHostProviderInput = {
499
+ operation: string;
500
+ code: string;
501
+ paramsZod: string;
502
+ timeoutMs?: number | null;
503
+ approvedById: string;
504
+ approvedAt?: Date | string;
505
+ tool?: Prisma.ToolCreateNestedOneWithoutHostProviderOperationsInput;
506
+ };
507
+ export type HostProviderOperationUncheckedCreateWithoutHostProviderInput = {
508
+ operation: string;
509
+ toolId?: string | null;
510
+ code: string;
511
+ paramsZod: string;
512
+ timeoutMs?: number | null;
513
+ approvedById: string;
514
+ approvedAt?: Date | string;
515
+ };
516
+ export type HostProviderOperationCreateOrConnectWithoutHostProviderInput = {
517
+ where: Prisma.HostProviderOperationWhereUniqueInput;
518
+ create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput>;
519
+ };
520
+ export type HostProviderOperationCreateManyHostProviderInputEnvelope = {
521
+ data: Prisma.HostProviderOperationCreateManyHostProviderInput | Prisma.HostProviderOperationCreateManyHostProviderInput[];
522
+ skipDuplicates?: boolean;
523
+ };
524
+ export type HostProviderOperationUpsertWithWhereUniqueWithoutHostProviderInput = {
525
+ where: Prisma.HostProviderOperationWhereUniqueInput;
526
+ update: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedUpdateWithoutHostProviderInput>;
527
+ create: Prisma.XOR<Prisma.HostProviderOperationCreateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedCreateWithoutHostProviderInput>;
528
+ };
529
+ export type HostProviderOperationUpdateWithWhereUniqueWithoutHostProviderInput = {
530
+ where: Prisma.HostProviderOperationWhereUniqueInput;
531
+ data: Prisma.XOR<Prisma.HostProviderOperationUpdateWithoutHostProviderInput, Prisma.HostProviderOperationUncheckedUpdateWithoutHostProviderInput>;
532
+ };
533
+ export type HostProviderOperationUpdateManyWithWhereWithoutHostProviderInput = {
534
+ where: Prisma.HostProviderOperationScalarWhereInput;
535
+ data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyWithoutHostProviderInput>;
536
+ };
537
+ export type HostProviderOperationCreateManyToolInput = {
538
+ provider: string;
539
+ operation: string;
540
+ code: string;
541
+ paramsZod: string;
542
+ timeoutMs?: number | null;
543
+ approvedById: string;
544
+ approvedAt?: Date | string;
545
+ };
546
+ export type HostProviderOperationUpdateWithoutToolInput = {
547
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
548
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
549
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
550
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
551
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
552
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
553
+ hostProvider?: Prisma.HostProviderUpdateOneRequiredWithoutOperationsNestedInput;
554
+ };
555
+ export type HostProviderOperationUncheckedUpdateWithoutToolInput = {
556
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
557
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
558
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
559
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
560
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
561
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
562
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
563
+ };
564
+ export type HostProviderOperationUncheckedUpdateManyWithoutToolInput = {
565
+ provider?: Prisma.StringFieldUpdateOperationsInput | string;
566
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
567
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
568
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
569
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
570
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
571
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
572
+ };
573
+ export type HostProviderOperationCreateManyHostProviderInput = {
574
+ operation: string;
575
+ toolId?: string | null;
576
+ code: string;
577
+ paramsZod: string;
578
+ timeoutMs?: number | null;
579
+ approvedById: string;
580
+ approvedAt?: Date | string;
581
+ };
582
+ export type HostProviderOperationUpdateWithoutHostProviderInput = {
583
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
584
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
585
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
586
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
587
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
588
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
589
+ tool?: Prisma.ToolUpdateOneWithoutHostProviderOperationsNestedInput;
590
+ };
591
+ export type HostProviderOperationUncheckedUpdateWithoutHostProviderInput = {
592
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
593
+ toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
594
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
595
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
596
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
597
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
598
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
599
+ };
600
+ export type HostProviderOperationUncheckedUpdateManyWithoutHostProviderInput = {
601
+ operation?: Prisma.StringFieldUpdateOperationsInput | string;
602
+ toolId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
603
+ code?: Prisma.StringFieldUpdateOperationsInput | string;
604
+ paramsZod?: Prisma.StringFieldUpdateOperationsInput | string;
605
+ timeoutMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
606
+ approvedById?: Prisma.StringFieldUpdateOperationsInput | string;
607
+ approvedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
608
+ };
609
+ export type HostProviderOperationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
610
+ provider?: boolean;
611
+ operation?: boolean;
612
+ toolId?: boolean;
613
+ code?: boolean;
614
+ paramsZod?: boolean;
615
+ timeoutMs?: boolean;
616
+ approvedById?: boolean;
617
+ approvedAt?: boolean;
618
+ hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
619
+ tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
620
+ }, ExtArgs["result"]["hostProviderOperation"]>;
621
+ export type HostProviderOperationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
622
+ provider?: boolean;
623
+ operation?: boolean;
624
+ toolId?: boolean;
625
+ code?: boolean;
626
+ paramsZod?: boolean;
627
+ timeoutMs?: boolean;
628
+ approvedById?: boolean;
629
+ approvedAt?: boolean;
630
+ hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
631
+ tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
632
+ }, ExtArgs["result"]["hostProviderOperation"]>;
633
+ export type HostProviderOperationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
634
+ provider?: boolean;
635
+ operation?: boolean;
636
+ toolId?: boolean;
637
+ code?: boolean;
638
+ paramsZod?: boolean;
639
+ timeoutMs?: boolean;
640
+ approvedById?: boolean;
641
+ approvedAt?: boolean;
642
+ hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
643
+ tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
644
+ }, ExtArgs["result"]["hostProviderOperation"]>;
645
+ export type HostProviderOperationSelectScalar = {
646
+ provider?: boolean;
647
+ operation?: boolean;
648
+ toolId?: boolean;
649
+ code?: boolean;
650
+ paramsZod?: boolean;
651
+ timeoutMs?: boolean;
652
+ approvedById?: boolean;
653
+ approvedAt?: boolean;
654
+ };
655
+ export type HostProviderOperationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"provider" | "operation" | "toolId" | "code" | "paramsZod" | "timeoutMs" | "approvedById" | "approvedAt", ExtArgs["result"]["hostProviderOperation"]>;
656
+ export type HostProviderOperationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
657
+ hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
658
+ tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
659
+ };
660
+ export type HostProviderOperationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
661
+ hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
662
+ tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
663
+ };
664
+ export type HostProviderOperationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
665
+ hostProvider?: boolean | Prisma.HostProviderDefaultArgs<ExtArgs>;
666
+ tool?: boolean | Prisma.HostProviderOperation$toolArgs<ExtArgs>;
667
+ };
668
+ export type $HostProviderOperationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
669
+ name: "HostProviderOperation";
670
+ objects: {
671
+ hostProvider: Prisma.$HostProviderPayload<ExtArgs>;
672
+ tool: Prisma.$ToolPayload<ExtArgs> | null;
673
+ };
674
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
675
+ provider: string;
676
+ operation: string;
677
+ /**
678
+ * The tool it was copied from. Null once that tool is deleted; the snapshot keeps working.
679
+ */
680
+ toolId: string | null;
681
+ code: string;
682
+ paramsZod: string;
683
+ /**
684
+ * The tool's timeoutMs when it was approved; null = the default limit.
685
+ */
686
+ timeoutMs: number | null;
687
+ approvedById: string;
688
+ approvedAt: Date;
689
+ }, ExtArgs["result"]["hostProviderOperation"]>;
690
+ composites: {};
691
+ };
692
+ export type HostProviderOperationGetPayload<S extends boolean | null | undefined | HostProviderOperationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload, S>;
693
+ export type HostProviderOperationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<HostProviderOperationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
694
+ select?: HostProviderOperationCountAggregateInputType | true;
695
+ };
696
+ export interface HostProviderOperationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
697
+ [K: symbol]: {
698
+ types: Prisma.TypeMap<ExtArgs>['model']['HostProviderOperation'];
699
+ meta: {
700
+ name: 'HostProviderOperation';
701
+ };
702
+ };
703
+ /**
704
+ * Find zero or one HostProviderOperation that matches the filter.
705
+ * @param {HostProviderOperationFindUniqueArgs} args - Arguments to find a HostProviderOperation
706
+ * @example
707
+ * // Get one HostProviderOperation
708
+ * const hostProviderOperation = await prisma.hostProviderOperation.findUnique({
709
+ * where: {
710
+ * // ... provide filter here
711
+ * }
712
+ * })
713
+ */
714
+ findUnique<T extends HostProviderOperationFindUniqueArgs>(args: Prisma.SelectSubset<T, HostProviderOperationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
715
+ /**
716
+ * Find one HostProviderOperation that matches the filter or throw an error with `error.code='P2025'`
717
+ * if no matches were found.
718
+ * @param {HostProviderOperationFindUniqueOrThrowArgs} args - Arguments to find a HostProviderOperation
719
+ * @example
720
+ * // Get one HostProviderOperation
721
+ * const hostProviderOperation = await prisma.hostProviderOperation.findUniqueOrThrow({
722
+ * where: {
723
+ * // ... provide filter here
724
+ * }
725
+ * })
726
+ */
727
+ findUniqueOrThrow<T extends HostProviderOperationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HostProviderOperationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
728
+ /**
729
+ * Find the first HostProviderOperation that matches the filter.
730
+ * Note, that providing `undefined` is treated as the value not being there.
731
+ * Read more here: https://pris.ly/d/null-undefined
732
+ * @param {HostProviderOperationFindFirstArgs} args - Arguments to find a HostProviderOperation
733
+ * @example
734
+ * // Get one HostProviderOperation
735
+ * const hostProviderOperation = await prisma.hostProviderOperation.findFirst({
736
+ * where: {
737
+ * // ... provide filter here
738
+ * }
739
+ * })
740
+ */
741
+ findFirst<T extends HostProviderOperationFindFirstArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationFindFirstArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
742
+ /**
743
+ * Find the first HostProviderOperation that matches the filter or
744
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
745
+ * Note, that providing `undefined` is treated as the value not being there.
746
+ * Read more here: https://pris.ly/d/null-undefined
747
+ * @param {HostProviderOperationFindFirstOrThrowArgs} args - Arguments to find a HostProviderOperation
748
+ * @example
749
+ * // Get one HostProviderOperation
750
+ * const hostProviderOperation = await prisma.hostProviderOperation.findFirstOrThrow({
751
+ * where: {
752
+ * // ... provide filter here
753
+ * }
754
+ * })
755
+ */
756
+ findFirstOrThrow<T extends HostProviderOperationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
757
+ /**
758
+ * Find zero or more HostProviderOperations that matches the filter.
759
+ * Note, that providing `undefined` is treated as the value not being there.
760
+ * Read more here: https://pris.ly/d/null-undefined
761
+ * @param {HostProviderOperationFindManyArgs} args - Arguments to filter and select certain fields only.
762
+ * @example
763
+ * // Get all HostProviderOperations
764
+ * const hostProviderOperations = await prisma.hostProviderOperation.findMany()
765
+ *
766
+ * // Get first 10 HostProviderOperations
767
+ * const hostProviderOperations = await prisma.hostProviderOperation.findMany({ take: 10 })
768
+ *
769
+ * // Only select the `provider`
770
+ * const hostProviderOperationWithProviderOnly = await prisma.hostProviderOperation.findMany({ select: { provider: true } })
771
+ *
772
+ */
773
+ findMany<T extends HostProviderOperationFindManyArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
774
+ /**
775
+ * Create a HostProviderOperation.
776
+ * @param {HostProviderOperationCreateArgs} args - Arguments to create a HostProviderOperation.
777
+ * @example
778
+ * // Create one HostProviderOperation
779
+ * const HostProviderOperation = await prisma.hostProviderOperation.create({
780
+ * data: {
781
+ * // ... data to create a HostProviderOperation
782
+ * }
783
+ * })
784
+ *
785
+ */
786
+ create<T extends HostProviderOperationCreateArgs>(args: Prisma.SelectSubset<T, HostProviderOperationCreateArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
787
+ /**
788
+ * Create many HostProviderOperations.
789
+ * @param {HostProviderOperationCreateManyArgs} args - Arguments to create many HostProviderOperations.
790
+ * @example
791
+ * // Create many HostProviderOperations
792
+ * const hostProviderOperation = await prisma.hostProviderOperation.createMany({
793
+ * data: [
794
+ * // ... provide data here
795
+ * ]
796
+ * })
797
+ *
798
+ */
799
+ createMany<T extends HostProviderOperationCreateManyArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
800
+ /**
801
+ * Create many HostProviderOperations and returns the data saved in the database.
802
+ * @param {HostProviderOperationCreateManyAndReturnArgs} args - Arguments to create many HostProviderOperations.
803
+ * @example
804
+ * // Create many HostProviderOperations
805
+ * const hostProviderOperation = await prisma.hostProviderOperation.createManyAndReturn({
806
+ * data: [
807
+ * // ... provide data here
808
+ * ]
809
+ * })
810
+ *
811
+ * // Create many HostProviderOperations and only return the `provider`
812
+ * const hostProviderOperationWithProviderOnly = await prisma.hostProviderOperation.createManyAndReturn({
813
+ * select: { provider: true },
814
+ * data: [
815
+ * // ... provide data here
816
+ * ]
817
+ * })
818
+ * Note, that providing `undefined` is treated as the value not being there.
819
+ * Read more here: https://pris.ly/d/null-undefined
820
+ *
821
+ */
822
+ createManyAndReturn<T extends HostProviderOperationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
823
+ /**
824
+ * Delete a HostProviderOperation.
825
+ * @param {HostProviderOperationDeleteArgs} args - Arguments to delete one HostProviderOperation.
826
+ * @example
827
+ * // Delete one HostProviderOperation
828
+ * const HostProviderOperation = await prisma.hostProviderOperation.delete({
829
+ * where: {
830
+ * // ... filter to delete one HostProviderOperation
831
+ * }
832
+ * })
833
+ *
834
+ */
835
+ delete<T extends HostProviderOperationDeleteArgs>(args: Prisma.SelectSubset<T, HostProviderOperationDeleteArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
836
+ /**
837
+ * Update one HostProviderOperation.
838
+ * @param {HostProviderOperationUpdateArgs} args - Arguments to update one HostProviderOperation.
839
+ * @example
840
+ * // Update one HostProviderOperation
841
+ * const hostProviderOperation = await prisma.hostProviderOperation.update({
842
+ * where: {
843
+ * // ... provide filter here
844
+ * },
845
+ * data: {
846
+ * // ... provide data here
847
+ * }
848
+ * })
849
+ *
850
+ */
851
+ update<T extends HostProviderOperationUpdateArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpdateArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
852
+ /**
853
+ * Delete zero or more HostProviderOperations.
854
+ * @param {HostProviderOperationDeleteManyArgs} args - Arguments to filter HostProviderOperations to delete.
855
+ * @example
856
+ * // Delete a few HostProviderOperations
857
+ * const { count } = await prisma.hostProviderOperation.deleteMany({
858
+ * where: {
859
+ * // ... provide filter here
860
+ * }
861
+ * })
862
+ *
863
+ */
864
+ deleteMany<T extends HostProviderOperationDeleteManyArgs>(args?: Prisma.SelectSubset<T, HostProviderOperationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
865
+ /**
866
+ * Update zero or more HostProviderOperations.
867
+ * Note, that providing `undefined` is treated as the value not being there.
868
+ * Read more here: https://pris.ly/d/null-undefined
869
+ * @param {HostProviderOperationUpdateManyArgs} args - Arguments to update one or more rows.
870
+ * @example
871
+ * // Update many HostProviderOperations
872
+ * const hostProviderOperation = await prisma.hostProviderOperation.updateMany({
873
+ * where: {
874
+ * // ... provide filter here
875
+ * },
876
+ * data: {
877
+ * // ... provide data here
878
+ * }
879
+ * })
880
+ *
881
+ */
882
+ updateMany<T extends HostProviderOperationUpdateManyArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
883
+ /**
884
+ * Update zero or more HostProviderOperations and returns the data updated in the database.
885
+ * @param {HostProviderOperationUpdateManyAndReturnArgs} args - Arguments to update many HostProviderOperations.
886
+ * @example
887
+ * // Update many HostProviderOperations
888
+ * const hostProviderOperation = await prisma.hostProviderOperation.updateManyAndReturn({
889
+ * where: {
890
+ * // ... provide filter here
891
+ * },
892
+ * data: [
893
+ * // ... provide data here
894
+ * ]
895
+ * })
896
+ *
897
+ * // Update zero or more HostProviderOperations and only return the `provider`
898
+ * const hostProviderOperationWithProviderOnly = await prisma.hostProviderOperation.updateManyAndReturn({
899
+ * select: { provider: true },
900
+ * where: {
901
+ * // ... provide filter here
902
+ * },
903
+ * data: [
904
+ * // ... provide data here
905
+ * ]
906
+ * })
907
+ * Note, that providing `undefined` is treated as the value not being there.
908
+ * Read more here: https://pris.ly/d/null-undefined
909
+ *
910
+ */
911
+ updateManyAndReturn<T extends HostProviderOperationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
912
+ /**
913
+ * Create or update one HostProviderOperation.
914
+ * @param {HostProviderOperationUpsertArgs} args - Arguments to update or create a HostProviderOperation.
915
+ * @example
916
+ * // Update or create a HostProviderOperation
917
+ * const hostProviderOperation = await prisma.hostProviderOperation.upsert({
918
+ * create: {
919
+ * // ... data to create a HostProviderOperation
920
+ * },
921
+ * update: {
922
+ * // ... in case it already exists, update
923
+ * },
924
+ * where: {
925
+ * // ... the filter for the HostProviderOperation we want to update
926
+ * }
927
+ * })
928
+ */
929
+ upsert<T extends HostProviderOperationUpsertArgs>(args: Prisma.SelectSubset<T, HostProviderOperationUpsertArgs<ExtArgs>>): Prisma.Prisma__HostProviderOperationClient<runtime.Types.Result.GetResult<Prisma.$HostProviderOperationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
930
+ /**
931
+ * Count the number of HostProviderOperations.
932
+ * Note, that providing `undefined` is treated as the value not being there.
933
+ * Read more here: https://pris.ly/d/null-undefined
934
+ * @param {HostProviderOperationCountArgs} args - Arguments to filter HostProviderOperations to count.
935
+ * @example
936
+ * // Count the number of HostProviderOperations
937
+ * const count = await prisma.hostProviderOperation.count({
938
+ * where: {
939
+ * // ... the filter for the HostProviderOperations we want to count
940
+ * }
941
+ * })
942
+ **/
943
+ count<T extends HostProviderOperationCountArgs>(args?: Prisma.Subset<T, HostProviderOperationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], HostProviderOperationCountAggregateOutputType> : number>;
944
+ /**
945
+ * Allows you to perform aggregations operations on a HostProviderOperation.
946
+ * Note, that providing `undefined` is treated as the value not being there.
947
+ * Read more here: https://pris.ly/d/null-undefined
948
+ * @param {HostProviderOperationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
949
+ * @example
950
+ * // Ordered by age ascending
951
+ * // Where email contains prisma.io
952
+ * // Limited to the 10 users
953
+ * const aggregations = await prisma.user.aggregate({
954
+ * _avg: {
955
+ * age: true,
956
+ * },
957
+ * where: {
958
+ * email: {
959
+ * contains: "prisma.io",
960
+ * },
961
+ * },
962
+ * orderBy: {
963
+ * age: "asc",
964
+ * },
965
+ * take: 10,
966
+ * })
967
+ **/
968
+ aggregate<T extends HostProviderOperationAggregateArgs>(args: Prisma.Subset<T, HostProviderOperationAggregateArgs>): Prisma.PrismaPromise<GetHostProviderOperationAggregateType<T>>;
969
+ /**
970
+ * Group by HostProviderOperation.
971
+ * Note, that providing `undefined` is treated as the value not being there.
972
+ * Read more here: https://pris.ly/d/null-undefined
973
+ * @param {HostProviderOperationGroupByArgs} args - Group by arguments.
974
+ * @example
975
+ * // Group by city, order by createdAt, get count
976
+ * const result = await prisma.user.groupBy({
977
+ * by: ['city', 'createdAt'],
978
+ * orderBy: {
979
+ * createdAt: true
980
+ * },
981
+ * _count: {
982
+ * _all: true
983
+ * },
984
+ * })
985
+ *
986
+ **/
987
+ groupBy<T extends HostProviderOperationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
988
+ orderBy: HostProviderOperationGroupByArgs['orderBy'];
989
+ } : {
990
+ orderBy?: HostProviderOperationGroupByArgs['orderBy'];
991
+ }, 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 ? {
992
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
993
+ Error,
994
+ 'Field ',
995
+ P,
996
+ ` in "having" needs to be provided in "by"`
997
+ ];
998
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
999
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1000
+ }[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 ? {} : {
1001
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1002
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1003
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1004
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, HostProviderOperationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHostProviderOperationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1005
+ /**
1006
+ * Fields of the HostProviderOperation model
1007
+ */
1008
+ readonly fields: HostProviderOperationFieldRefs;
1009
+ }
1010
+ /**
1011
+ * The delegate class that acts as a "Promise-like" for HostProviderOperation.
1012
+ * Why is this prefixed with `Prisma__`?
1013
+ * Because we want to prevent naming conflicts as mentioned in
1014
+ * https://github.com/prisma/prisma-client-js/issues/707
1015
+ */
1016
+ export interface Prisma__HostProviderOperationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1017
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1018
+ hostProvider<T extends Prisma.HostProviderDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProviderDefaultArgs<ExtArgs>>): Prisma.Prisma__HostProviderClient<runtime.Types.Result.GetResult<Prisma.$HostProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1019
+ tool<T extends Prisma.HostProviderOperation$toolArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HostProviderOperation$toolArgs<ExtArgs>>): Prisma.Prisma__ToolClient<runtime.Types.Result.GetResult<Prisma.$ToolPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1020
+ /**
1021
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1022
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1023
+ * @param onrejected The callback to execute when the Promise is rejected.
1024
+ * @returns A Promise for the completion of which ever callback is executed.
1025
+ */
1026
+ 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>;
1027
+ /**
1028
+ * Attaches a callback for only the rejection of the Promise.
1029
+ * @param onrejected The callback to execute when the Promise is rejected.
1030
+ * @returns A Promise for the completion of the callback.
1031
+ */
1032
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1033
+ /**
1034
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1035
+ * resolved value cannot be modified from the callback.
1036
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1037
+ * @returns A Promise for the completion of the callback.
1038
+ */
1039
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1040
+ }
1041
+ /**
1042
+ * Fields of the HostProviderOperation model
1043
+ */
1044
+ export interface HostProviderOperationFieldRefs {
1045
+ readonly provider: Prisma.FieldRef<"HostProviderOperation", 'String'>;
1046
+ readonly operation: Prisma.FieldRef<"HostProviderOperation", 'String'>;
1047
+ readonly toolId: Prisma.FieldRef<"HostProviderOperation", 'String'>;
1048
+ readonly code: Prisma.FieldRef<"HostProviderOperation", 'String'>;
1049
+ readonly paramsZod: Prisma.FieldRef<"HostProviderOperation", 'String'>;
1050
+ readonly timeoutMs: Prisma.FieldRef<"HostProviderOperation", 'Int'>;
1051
+ readonly approvedById: Prisma.FieldRef<"HostProviderOperation", 'String'>;
1052
+ readonly approvedAt: Prisma.FieldRef<"HostProviderOperation", 'DateTime'>;
1053
+ }
1054
+ /**
1055
+ * HostProviderOperation findUnique
1056
+ */
1057
+ export type HostProviderOperationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1058
+ /**
1059
+ * Select specific fields to fetch from the HostProviderOperation
1060
+ */
1061
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1062
+ /**
1063
+ * Omit specific fields from the HostProviderOperation
1064
+ */
1065
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1066
+ /**
1067
+ * Choose, which related nodes to fetch as well
1068
+ */
1069
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1070
+ /**
1071
+ * Filter, which HostProviderOperation to fetch.
1072
+ */
1073
+ where: Prisma.HostProviderOperationWhereUniqueInput;
1074
+ };
1075
+ /**
1076
+ * HostProviderOperation findUniqueOrThrow
1077
+ */
1078
+ export type HostProviderOperationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1079
+ /**
1080
+ * Select specific fields to fetch from the HostProviderOperation
1081
+ */
1082
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1083
+ /**
1084
+ * Omit specific fields from the HostProviderOperation
1085
+ */
1086
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1087
+ /**
1088
+ * Choose, which related nodes to fetch as well
1089
+ */
1090
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1091
+ /**
1092
+ * Filter, which HostProviderOperation to fetch.
1093
+ */
1094
+ where: Prisma.HostProviderOperationWhereUniqueInput;
1095
+ };
1096
+ /**
1097
+ * HostProviderOperation findFirst
1098
+ */
1099
+ export type HostProviderOperationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1100
+ /**
1101
+ * Select specific fields to fetch from the HostProviderOperation
1102
+ */
1103
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1104
+ /**
1105
+ * Omit specific fields from the HostProviderOperation
1106
+ */
1107
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1108
+ /**
1109
+ * Choose, which related nodes to fetch as well
1110
+ */
1111
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1112
+ /**
1113
+ * Filter, which HostProviderOperation to fetch.
1114
+ */
1115
+ where?: Prisma.HostProviderOperationWhereInput;
1116
+ /**
1117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1118
+ *
1119
+ * Determine the order of HostProviderOperations to fetch.
1120
+ */
1121
+ orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
1122
+ /**
1123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1124
+ *
1125
+ * Sets the position for searching for HostProviderOperations.
1126
+ */
1127
+ cursor?: Prisma.HostProviderOperationWhereUniqueInput;
1128
+ /**
1129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1130
+ *
1131
+ * Take `±n` HostProviderOperations from the position of the cursor.
1132
+ */
1133
+ take?: number;
1134
+ /**
1135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1136
+ *
1137
+ * Skip the first `n` HostProviderOperations.
1138
+ */
1139
+ skip?: number;
1140
+ /**
1141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1142
+ *
1143
+ * Filter by unique combinations of HostProviderOperations.
1144
+ */
1145
+ distinct?: Prisma.HostProviderOperationScalarFieldEnum | Prisma.HostProviderOperationScalarFieldEnum[];
1146
+ };
1147
+ /**
1148
+ * HostProviderOperation findFirstOrThrow
1149
+ */
1150
+ export type HostProviderOperationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1151
+ /**
1152
+ * Select specific fields to fetch from the HostProviderOperation
1153
+ */
1154
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1155
+ /**
1156
+ * Omit specific fields from the HostProviderOperation
1157
+ */
1158
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1159
+ /**
1160
+ * Choose, which related nodes to fetch as well
1161
+ */
1162
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1163
+ /**
1164
+ * Filter, which HostProviderOperation to fetch.
1165
+ */
1166
+ where?: Prisma.HostProviderOperationWhereInput;
1167
+ /**
1168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1169
+ *
1170
+ * Determine the order of HostProviderOperations to fetch.
1171
+ */
1172
+ orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
1173
+ /**
1174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1175
+ *
1176
+ * Sets the position for searching for HostProviderOperations.
1177
+ */
1178
+ cursor?: Prisma.HostProviderOperationWhereUniqueInput;
1179
+ /**
1180
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1181
+ *
1182
+ * Take `±n` HostProviderOperations from the position of the cursor.
1183
+ */
1184
+ take?: number;
1185
+ /**
1186
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1187
+ *
1188
+ * Skip the first `n` HostProviderOperations.
1189
+ */
1190
+ skip?: number;
1191
+ /**
1192
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1193
+ *
1194
+ * Filter by unique combinations of HostProviderOperations.
1195
+ */
1196
+ distinct?: Prisma.HostProviderOperationScalarFieldEnum | Prisma.HostProviderOperationScalarFieldEnum[];
1197
+ };
1198
+ /**
1199
+ * HostProviderOperation findMany
1200
+ */
1201
+ export type HostProviderOperationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1202
+ /**
1203
+ * Select specific fields to fetch from the HostProviderOperation
1204
+ */
1205
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1206
+ /**
1207
+ * Omit specific fields from the HostProviderOperation
1208
+ */
1209
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1210
+ /**
1211
+ * Choose, which related nodes to fetch as well
1212
+ */
1213
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1214
+ /**
1215
+ * Filter, which HostProviderOperations to fetch.
1216
+ */
1217
+ where?: Prisma.HostProviderOperationWhereInput;
1218
+ /**
1219
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1220
+ *
1221
+ * Determine the order of HostProviderOperations to fetch.
1222
+ */
1223
+ orderBy?: Prisma.HostProviderOperationOrderByWithRelationInput | Prisma.HostProviderOperationOrderByWithRelationInput[];
1224
+ /**
1225
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1226
+ *
1227
+ * Sets the position for listing HostProviderOperations.
1228
+ */
1229
+ cursor?: Prisma.HostProviderOperationWhereUniqueInput;
1230
+ /**
1231
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1232
+ *
1233
+ * Take `±n` HostProviderOperations from the position of the cursor.
1234
+ */
1235
+ take?: number;
1236
+ /**
1237
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1238
+ *
1239
+ * Skip the first `n` HostProviderOperations.
1240
+ */
1241
+ skip?: number;
1242
+ /**
1243
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1244
+ *
1245
+ * Filter by unique combinations of HostProviderOperations.
1246
+ */
1247
+ distinct?: Prisma.HostProviderOperationScalarFieldEnum | Prisma.HostProviderOperationScalarFieldEnum[];
1248
+ };
1249
+ /**
1250
+ * HostProviderOperation create
1251
+ */
1252
+ export type HostProviderOperationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1253
+ /**
1254
+ * Select specific fields to fetch from the HostProviderOperation
1255
+ */
1256
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1257
+ /**
1258
+ * Omit specific fields from the HostProviderOperation
1259
+ */
1260
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1261
+ /**
1262
+ * Choose, which related nodes to fetch as well
1263
+ */
1264
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1265
+ /**
1266
+ * The data needed to create a HostProviderOperation.
1267
+ */
1268
+ data: Prisma.XOR<Prisma.HostProviderOperationCreateInput, Prisma.HostProviderOperationUncheckedCreateInput>;
1269
+ };
1270
+ /**
1271
+ * HostProviderOperation createMany
1272
+ */
1273
+ export type HostProviderOperationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1274
+ /**
1275
+ * The data used to create many HostProviderOperations.
1276
+ */
1277
+ data: Prisma.HostProviderOperationCreateManyInput | Prisma.HostProviderOperationCreateManyInput[];
1278
+ skipDuplicates?: boolean;
1279
+ };
1280
+ /**
1281
+ * HostProviderOperation createManyAndReturn
1282
+ */
1283
+ export type HostProviderOperationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1284
+ /**
1285
+ * Select specific fields to fetch from the HostProviderOperation
1286
+ */
1287
+ select?: Prisma.HostProviderOperationSelectCreateManyAndReturn<ExtArgs> | null;
1288
+ /**
1289
+ * Omit specific fields from the HostProviderOperation
1290
+ */
1291
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1292
+ /**
1293
+ * The data used to create many HostProviderOperations.
1294
+ */
1295
+ data: Prisma.HostProviderOperationCreateManyInput | Prisma.HostProviderOperationCreateManyInput[];
1296
+ skipDuplicates?: boolean;
1297
+ /**
1298
+ * Choose, which related nodes to fetch as well
1299
+ */
1300
+ include?: Prisma.HostProviderOperationIncludeCreateManyAndReturn<ExtArgs> | null;
1301
+ };
1302
+ /**
1303
+ * HostProviderOperation update
1304
+ */
1305
+ export type HostProviderOperationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1306
+ /**
1307
+ * Select specific fields to fetch from the HostProviderOperation
1308
+ */
1309
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1310
+ /**
1311
+ * Omit specific fields from the HostProviderOperation
1312
+ */
1313
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1314
+ /**
1315
+ * Choose, which related nodes to fetch as well
1316
+ */
1317
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1318
+ /**
1319
+ * The data needed to update a HostProviderOperation.
1320
+ */
1321
+ data: Prisma.XOR<Prisma.HostProviderOperationUpdateInput, Prisma.HostProviderOperationUncheckedUpdateInput>;
1322
+ /**
1323
+ * Choose, which HostProviderOperation to update.
1324
+ */
1325
+ where: Prisma.HostProviderOperationWhereUniqueInput;
1326
+ };
1327
+ /**
1328
+ * HostProviderOperation updateMany
1329
+ */
1330
+ export type HostProviderOperationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1331
+ /**
1332
+ * The data used to update HostProviderOperations.
1333
+ */
1334
+ data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyInput>;
1335
+ /**
1336
+ * Filter which HostProviderOperations to update
1337
+ */
1338
+ where?: Prisma.HostProviderOperationWhereInput;
1339
+ /**
1340
+ * Limit how many HostProviderOperations to update.
1341
+ */
1342
+ limit?: number;
1343
+ };
1344
+ /**
1345
+ * HostProviderOperation updateManyAndReturn
1346
+ */
1347
+ export type HostProviderOperationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1348
+ /**
1349
+ * Select specific fields to fetch from the HostProviderOperation
1350
+ */
1351
+ select?: Prisma.HostProviderOperationSelectUpdateManyAndReturn<ExtArgs> | null;
1352
+ /**
1353
+ * Omit specific fields from the HostProviderOperation
1354
+ */
1355
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1356
+ /**
1357
+ * The data used to update HostProviderOperations.
1358
+ */
1359
+ data: Prisma.XOR<Prisma.HostProviderOperationUpdateManyMutationInput, Prisma.HostProviderOperationUncheckedUpdateManyInput>;
1360
+ /**
1361
+ * Filter which HostProviderOperations to update
1362
+ */
1363
+ where?: Prisma.HostProviderOperationWhereInput;
1364
+ /**
1365
+ * Limit how many HostProviderOperations to update.
1366
+ */
1367
+ limit?: number;
1368
+ /**
1369
+ * Choose, which related nodes to fetch as well
1370
+ */
1371
+ include?: Prisma.HostProviderOperationIncludeUpdateManyAndReturn<ExtArgs> | null;
1372
+ };
1373
+ /**
1374
+ * HostProviderOperation upsert
1375
+ */
1376
+ export type HostProviderOperationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1377
+ /**
1378
+ * Select specific fields to fetch from the HostProviderOperation
1379
+ */
1380
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1381
+ /**
1382
+ * Omit specific fields from the HostProviderOperation
1383
+ */
1384
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1385
+ /**
1386
+ * Choose, which related nodes to fetch as well
1387
+ */
1388
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1389
+ /**
1390
+ * The filter to search for the HostProviderOperation to update in case it exists.
1391
+ */
1392
+ where: Prisma.HostProviderOperationWhereUniqueInput;
1393
+ /**
1394
+ * In case the HostProviderOperation found by the `where` argument doesn't exist, create a new HostProviderOperation with this data.
1395
+ */
1396
+ create: Prisma.XOR<Prisma.HostProviderOperationCreateInput, Prisma.HostProviderOperationUncheckedCreateInput>;
1397
+ /**
1398
+ * In case the HostProviderOperation was found with the provided `where` argument, update it with this data.
1399
+ */
1400
+ update: Prisma.XOR<Prisma.HostProviderOperationUpdateInput, Prisma.HostProviderOperationUncheckedUpdateInput>;
1401
+ };
1402
+ /**
1403
+ * HostProviderOperation delete
1404
+ */
1405
+ export type HostProviderOperationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1406
+ /**
1407
+ * Select specific fields to fetch from the HostProviderOperation
1408
+ */
1409
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1410
+ /**
1411
+ * Omit specific fields from the HostProviderOperation
1412
+ */
1413
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1414
+ /**
1415
+ * Choose, which related nodes to fetch as well
1416
+ */
1417
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1418
+ /**
1419
+ * Filter which HostProviderOperation to delete.
1420
+ */
1421
+ where: Prisma.HostProviderOperationWhereUniqueInput;
1422
+ };
1423
+ /**
1424
+ * HostProviderOperation deleteMany
1425
+ */
1426
+ export type HostProviderOperationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1427
+ /**
1428
+ * Filter which HostProviderOperations to delete
1429
+ */
1430
+ where?: Prisma.HostProviderOperationWhereInput;
1431
+ /**
1432
+ * Limit how many HostProviderOperations to delete.
1433
+ */
1434
+ limit?: number;
1435
+ };
1436
+ /**
1437
+ * HostProviderOperation.tool
1438
+ */
1439
+ export type HostProviderOperation$toolArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1440
+ /**
1441
+ * Select specific fields to fetch from the Tool
1442
+ */
1443
+ select?: Prisma.ToolSelect<ExtArgs> | null;
1444
+ /**
1445
+ * Omit specific fields from the Tool
1446
+ */
1447
+ omit?: Prisma.ToolOmit<ExtArgs> | null;
1448
+ /**
1449
+ * Choose, which related nodes to fetch as well
1450
+ */
1451
+ include?: Prisma.ToolInclude<ExtArgs> | null;
1452
+ where?: Prisma.ToolWhereInput;
1453
+ };
1454
+ /**
1455
+ * HostProviderOperation without action
1456
+ */
1457
+ export type HostProviderOperationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1458
+ /**
1459
+ * Select specific fields to fetch from the HostProviderOperation
1460
+ */
1461
+ select?: Prisma.HostProviderOperationSelect<ExtArgs> | null;
1462
+ /**
1463
+ * Omit specific fields from the HostProviderOperation
1464
+ */
1465
+ omit?: Prisma.HostProviderOperationOmit<ExtArgs> | null;
1466
+ /**
1467
+ * Choose, which related nodes to fetch as well
1468
+ */
1469
+ include?: Prisma.HostProviderOperationInclude<ExtArgs> | null;
1470
+ };