@wardby/cli 0.2.0 → 0.3.0

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