@xenon-device-management/xenon 2.13.2 → 2.15.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 (350) hide show
  1. package/README.md +17 -8
  2. package/lib/package.json +5 -5
  3. package/lib/public/assets/{AnnotationOverlay-BXruClDk.js → AnnotationOverlay-Btq3dZRI.js} +1 -1
  4. package/lib/public/assets/{ApiKeyGate-qTS4LPLC.js → ApiKeyGate-C9OoAgg_.js} +1 -1
  5. package/lib/public/assets/DeviceMosaicView-DBC_xczB.js +2 -0
  6. package/lib/public/assets/{EmptyState-Cr17PdDv.js → EmptyState-DqWU2-vM.js} +1 -1
  7. package/lib/public/assets/{FieldGroup-Bvn08svv.js → FieldGroup-CveQ3xrA.js} +1 -1
  8. package/lib/public/assets/{FilterMenu-DDSO8aDf.js → FilterMenu-BfKDSfHz.js} +1 -1
  9. package/lib/public/assets/{Menu-B-Qn2X3T.js → Menu-CtdCybzA.js} +1 -1
  10. package/lib/public/assets/{Modal-Cg9V5JYU.js → Modal-Bsvj1tm2.js} +1 -1
  11. package/lib/public/assets/{RecordingPage-BTUs9VTW.js → RecordingPage-CRofOiyx.js} +1 -1
  12. package/lib/public/assets/{RecordingsPage-DYcfxITK.js → RecordingsPage-jNQHb2IR.js} +2 -2
  13. package/lib/public/assets/{SegmentedControl-Zy7suhT5.js → SegmentedControl-C8HtTha-.js} +1 -1
  14. package/lib/public/assets/{SettingCard-CWYmycoe.js → SettingCard-D8K1LZNo.js} +1 -1
  15. package/lib/public/assets/{Table-io9fwa98.js → Table-zNTX92Pn.js} +1 -1
  16. package/lib/public/assets/{activity-Bdf_uIWl.js → activity-CJ8LwZq9.js} +1 -1
  17. package/lib/public/assets/ai-settings-CgxQZqrc.js +16 -0
  18. package/lib/public/assets/{api-keys-CPqtVpm3.js → api-keys-ECpo-zTo.js} +1 -1
  19. package/lib/public/assets/{apps-BgZan0H9.js → apps-BjGymyf3.js} +2 -2
  20. package/lib/public/assets/{arrow-left-B27ckB31.js → arrow-left-BWfCbeHP.js} +1 -1
  21. package/lib/public/assets/{arrow-right-DOF8ITCz.js → arrow-right-DC7UGf_n.js} +1 -1
  22. package/lib/public/assets/{arrow-up-right-eFG5KTFS.js → arrow-up-right-BOjwybDk.js} +1 -1
  23. package/lib/public/assets/{auth-shell-DlC3_27j.js → auth-shell-CxMTo9aH.js} +2 -2
  24. package/lib/public/assets/{builds-page-BuXpPfKo.js → builds-page-DOCm4HkA.js} +1 -1
  25. package/lib/public/assets/{button-fIW8owMI.js → button-Cg08-EMT.js} +1 -1
  26. package/lib/public/assets/{calendar-WNjmrF-a.js → calendar-CA1ikLJs.js} +1 -1
  27. package/lib/public/assets/{check-BdTh1Sq7.js → check-BMTaH72W.js} +1 -1
  28. package/lib/public/assets/{chevron-right-B4BKlsqk.js → chevron-right-B2QOv9Nx.js} +1 -1
  29. package/lib/public/assets/{circle-check-zJU80_EF.js → circle-check-CYXBoUqT.js} +1 -1
  30. package/lib/public/assets/{circle-x-5Uwquo0h.js → circle-x-DTwnSAnl.js} +1 -1
  31. package/lib/public/assets/{clock-BtUprDsZ.js → clock-C8_HViQP.js} +1 -1
  32. package/lib/public/assets/{copy-DGSbZI3u.js → copy-Be7LNMXV.js} +1 -1
  33. package/lib/public/assets/derive-UnLRp4r3.js +1 -0
  34. package/lib/public/assets/device-explorer-BOqtfGXz.js +282 -0
  35. package/lib/public/assets/{download-WG6l7BgD.js → download-B56lwxWP.js} +1 -1
  36. package/lib/public/assets/forgot-password-CCU6bzLn.js +1 -0
  37. package/lib/public/assets/h264Stream-C-OtmIuk.js +26 -0
  38. package/lib/public/assets/index-B9KQ6LsY.js +15 -0
  39. package/lib/public/assets/{index-DI1fGIyj.js → index-BOxe43p1.js} +5 -5
  40. package/lib/public/assets/{index-HDQVe1gi.js → index-CfxsUslp.js} +1 -1
  41. package/lib/public/assets/{input-BjDRKCea.js → input-CZHFjbSg.js} +1 -1
  42. package/lib/public/assets/{line-chart-C0zdgd0v.js → line-chart-Gl_Dz3X_.js} +1 -1
  43. package/lib/public/assets/{list-checks-BdW5CjM8.js → list-checks-CCgjeyGY.js} +1 -1
  44. package/lib/public/assets/{lock-Dy3L4I8E.js → lock-CkOwgDcx.js} +1 -1
  45. package/lib/public/assets/{login-BHbY9CLG.js → login-D5cc4w7M.js} +1 -1
  46. package/lib/public/assets/maintenance-settings-t7qr3fvX.js +6 -0
  47. package/lib/public/assets/{monitor-8xjkeHHi.js → monitor-DEJixKQO.js} +1 -1
  48. package/lib/public/assets/{mouse-pointer-2-CXdKMXQ8.js → mouse-pointer-2-CtOrk4M8.js} +1 -1
  49. package/lib/public/assets/{network-Cj8JOKON.js → network-Dii9qdvk.js} +1 -1
  50. package/lib/public/assets/{overview-CTg7F0im.js → overview-rolAACrO.js} +1 -1
  51. package/lib/public/assets/{page-header--aTyJXq6.js → page-header-COQZxJfR.js} +1 -1
  52. package/lib/public/assets/{play-B-FodgHV.js → play-DrN1Se_R.js} +1 -1
  53. package/lib/public/assets/{plus-CsIk10Cq.js → plus-5aq-9uRx.js} +1 -1
  54. package/lib/public/assets/{profile-page-DkFKkMfl.js → profile-page-6i5kY6kF.js} +1 -1
  55. package/lib/public/assets/{reset-password-I2-zqLlI.js → reset-password-sp2IBrc7.js} +1 -1
  56. package/lib/public/assets/runbook-page-DJDjeopU.js +253 -0
  57. package/lib/public/assets/{select-DvCSv25z.js → select-Bpyn7rWO.js} +1 -1
  58. package/lib/public/assets/{selector-detail-redirect-BLVfMJs_.js → selector-detail-redirect-BH74vmKv.js} +1 -1
  59. package/lib/public/assets/{selector-health-page-oqadRokn.js → selector-health-page-Cw_g218H.js} +2 -2
  60. package/lib/public/assets/session-detail-page-AZJE6XXE.js +4 -0
  61. package/lib/public/assets/settings-C3uyGhyc.js +6 -0
  62. package/lib/public/assets/{settings-Dep_3kbA.css → settings-K8UHWMdI.css} +1 -1
  63. package/lib/public/assets/{stat-tile-DV9Ix-4O.js → stat-tile-xVqAKIlI.js} +1 -1
  64. package/lib/public/assets/{tablet-6b_SEN2X.js → tablet-BxUScAeO.js} +1 -1
  65. package/lib/public/assets/{teams-BjZyfuHh.js → teams-B5ljGkY2.js} +1 -1
  66. package/lib/public/assets/{trash-2-CTZpPSdd.js → trash-2-B701i8sy.js} +1 -1
  67. package/lib/public/assets/{upload-P3XzwQUb.js → upload-C2gr44RS.js} +1 -1
  68. package/lib/public/assets/{use-builds-data-1cOCMf-z.js → use-builds-data-NeQOFEoy.js} +1 -1
  69. package/lib/public/assets/{use-password-reset-mode-DgF9w088.js → use-password-reset-mode-DEzJq5ef.js} +1 -1
  70. package/lib/public/assets/{users-DMF9Mk5H.js → users-D_vv_yz4.js} +1 -1
  71. package/lib/public/assets/{users-CiNTKUiz.js → users-MY6eNe6s.js} +1 -1
  72. package/lib/public/assets/{video-off-CHp1KU_T.js → video-off-OK1lNZQn.js} +1 -1
  73. package/lib/public/assets/webhook-settings-BU-C9lBf.js +1 -0
  74. package/lib/public/assets/{zap-DRz0tDq5.js → zap-DO9ry1iz.js} +1 -1
  75. package/lib/public/index.html +1 -1
  76. package/lib/schema.json +23 -25
  77. package/lib/src/XenonCapabilityManager.js +22 -5
  78. package/lib/src/app/dashboardPluginLink.js +117 -0
  79. package/lib/src/app/index.js +13 -34
  80. package/lib/src/app/openapi/control.yaml +73 -20
  81. package/lib/src/app/openapi/grid.yaml +31 -7
  82. package/lib/src/app/openapi/identity.yaml +103 -31
  83. package/lib/src/app/openapi/platform.yaml +165 -39
  84. package/lib/src/app/openapi/sessions.yaml +10 -3
  85. package/lib/src/app/routers/apikeys.js +14 -2
  86. package/lib/src/app/routers/auth.js +29 -5
  87. package/lib/src/app/routers/control.js +20 -2
  88. package/lib/src/app/routers/dashboard.js +69 -26
  89. package/lib/src/app/routers/grid.js +37 -13
  90. package/lib/src/app/routers/profile.js +21 -0
  91. package/lib/src/app/routers/streamType.js +7 -2
  92. package/lib/src/app/routers/users.js +10 -5
  93. package/lib/src/app/routers/webhook.js +8 -4
  94. package/lib/src/app/swagger.js +2 -0
  95. package/lib/src/app/ws/h264StreamWs.js +10 -1
  96. package/lib/src/config.js +51 -5
  97. package/lib/src/dashboard/commands.js +185 -141
  98. package/lib/src/dashboard/event-manager.js +88 -67
  99. package/lib/src/dashboard/services/failure-analysis-service.js +136 -45
  100. package/lib/src/dashboard/sessionCommandSummary.js +39 -0
  101. package/lib/src/data-service/appleFamily.js +43 -0
  102. package/lib/src/data-service/db.js +11 -0
  103. package/lib/src/data-service/device-service.js +6 -1
  104. package/lib/src/data-service/device-store.js +76 -3
  105. package/lib/src/data-service/deviceClaims.js +37 -0
  106. package/lib/src/data-service/deviceFieldOwners.js +25 -11
  107. package/lib/src/data-service/deviceSettings.js +79 -0
  108. package/lib/src/data-service/prisma-store.js +169 -15
  109. package/lib/src/data-service/web-config-service.js +50 -92
  110. package/lib/src/device-managers/AndroidDeviceManager.js +9 -31
  111. package/lib/src/device-managers/android/AndroidH264StreamService.js +69 -20
  112. package/lib/src/device-managers/android/H264Multiplexer.js +38 -4
  113. package/lib/src/device-managers/ios/WDAClient.js +44 -43
  114. package/lib/src/device-managers/shellCommands.js +96 -0
  115. package/lib/src/device-utils.js +114 -40
  116. package/lib/src/gateway/defaultGateway.js +1 -1
  117. package/lib/src/gateway/forwardToNode.js +2 -0
  118. package/lib/src/gateway/healReport.js +87 -0
  119. package/lib/src/gateway/sessionGateway.js +12 -2
  120. package/lib/src/generated/client/edge.js +18 -3
  121. package/lib/src/generated/client/index-browser.js +15 -0
  122. package/lib/src/generated/client/index.d.ts +2086 -379
  123. package/lib/src/generated/client/index.js +18 -3
  124. package/lib/src/generated/client/package.json +1 -1
  125. package/lib/src/generated/client/schema.prisma +38 -7
  126. package/lib/src/generated/client/wasm.js +15 -0
  127. package/lib/src/interceptors/CommandInterceptor.js +271 -188
  128. package/lib/src/interceptors/xenonScripts.js +55 -0
  129. package/lib/src/interfaces/IPluginArgs.js +1 -2
  130. package/lib/src/middleware/authMiddleware.js +15 -3
  131. package/lib/src/middleware/commandCaller.js +3 -3
  132. package/lib/src/middleware/verifyCredential.js +58 -1
  133. package/lib/src/plugin.js +23 -4
  134. package/lib/src/prisma.js +1 -1
  135. package/lib/src/scripts/database-check.js +124 -0
  136. package/lib/src/services/AICommandService.js +9 -2
  137. package/lib/src/services/AIService.js +281 -32
  138. package/lib/src/services/CleanupService.js +6 -1
  139. package/lib/src/services/EmailService.js +29 -0
  140. package/lib/src/services/InterceptorService.js +70 -13
  141. package/lib/src/services/NetworkConditioningService.js +85 -88
  142. package/lib/src/services/NotificationService.js +36 -29
  143. package/lib/src/services/OrphanSweeper.js +7 -0
  144. package/lib/src/services/PortAllocator.js +5 -0
  145. package/lib/src/services/SelectorVerificationJob.js +15 -4
  146. package/lib/src/services/ServerManager.js +105 -9
  147. package/lib/src/services/SessionLifecycleService.js +133 -75
  148. package/lib/src/services/ShutdownCoordinator.js +33 -0
  149. package/lib/src/services/SocketServer.js +19 -3
  150. package/lib/src/services/TeamService.js +20 -3
  151. package/lib/src/services/bug-report/video-slice.js +4 -1
  152. package/lib/src/services/device-access/leaseOverride.js +7 -5
  153. package/lib/src/services/healing/FuzzyXmlHealingProvider.js +51 -0
  154. package/lib/src/services/healing/HealEtalonService.js +3 -2
  155. package/lib/src/services/healing/HealingOrchestrator.js +85 -71
  156. package/lib/src/services/healing/OcrHealingProvider.js +41 -64
  157. package/lib/src/services/healing/ResilioTreeHealingProvider.js +41 -50
  158. package/lib/src/services/healing/VisualAiHealingProvider.js +1 -1
  159. package/lib/src/services/healing/fingerprintIdentity.js +126 -0
  160. package/lib/src/services/healing/resilioPath.js +274 -0
  161. package/lib/src/services/interceptor/AndroidProxyAdapter.js +18 -0
  162. package/lib/src/services/interceptor/interceptorOptions.js +44 -0
  163. package/lib/src/services/logcat/SessionDeviceLogs.js +271 -0
  164. package/lib/src/services/logcat/deviceLogBook.js +163 -0
  165. package/lib/src/services/network/AndroidRadios.js +71 -0
  166. package/lib/src/services/network/PhoneNetworkLedger.js +184 -0
  167. package/lib/src/services/network/PhoneNetworkRestore.js +330 -0
  168. package/lib/src/services/network/adbForPhone.js +60 -0
  169. package/lib/src/services/network/phoneNetworkLock.js +20 -0
  170. package/lib/src/services/network/xenonProxy.js +107 -0
  171. package/lib/src/services/ocr/ocrData.js +118 -0
  172. package/lib/src/services/ocr/vendor/LICENSE-tessdata.txt +202 -0
  173. package/lib/src/services/ocr/vendor/eng.traineddata.gz +0 -0
  174. package/lib/src/services/omni-vision/OmniVisionService.js +132 -95
  175. package/lib/src/services/omni-vision/VisionAssertionService.js +28 -25
  176. package/lib/src/services/omni-vision/ocrTextMatch.js +105 -0
  177. package/lib/src/services/omni-vision/screenScale.js +68 -0
  178. package/lib/src/services/passwordResetLink.js +50 -9
  179. package/lib/src/services/passwordResetMode.js +3 -1
  180. package/lib/src/services/publicUrl.js +45 -0
  181. package/lib/src/services/recording/concurrency-gate.js +12 -3
  182. package/lib/src/services/session/sessionIdentity.js +5 -3
  183. package/lib/src/services/session/shutdownReason.js +26 -0
  184. package/lib/src/services/settings/SelfHealingSwitch.js +70 -0
  185. package/lib/src/services/settings/aiEngineSettings.js +219 -0
  186. package/lib/src/services/settings/labSettings.js +149 -0
  187. package/lib/src/services/token/mintedLifetime.js +51 -0
  188. package/lib/src/services/webhookEvents.js +173 -0
  189. package/lib/src/sessions/SessionManager.js +8 -2
  190. package/lib/src/sessions/sessionMemory.js +25 -0
  191. package/lib/test/helpers/fake-adb.js +58 -0
  192. package/lib/test/helpers/fake-ai-provider.js +188 -0
  193. package/lib/test/helpers/fake-device-table.js +63 -24
  194. package/lib/test/helpers/loki-stores.js +33 -0
  195. package/lib/test/helpers/page-sources.js +164 -0
  196. package/lib/test/helpers/scratch-database.js +58 -13
  197. package/lib/test/integration/audit-ingest.spec.js +10 -10
  198. package/lib/test/integration/auth-flow.spec.js +9 -14
  199. package/lib/test/integration/auth-rate-limit.spec.js +6 -3
  200. package/lib/test/integration/bug-report-route.spec.js +22 -2
  201. package/lib/test/integration/forgot-password-rate-limit.spec.js +6 -3
  202. package/lib/test/integration/forgot-password.spec.js +17 -18
  203. package/lib/test/integration/legacy-deprecation-headers.spec.js +5 -2
  204. package/lib/test/integration/migration.spec.js +6 -1
  205. package/lib/test/integration/node-pair-auth-rest.spec.js +5 -9
  206. package/lib/test/integration/ports-router.spec.js +4 -4
  207. package/lib/test/integration/prisma-device-store-add-devices.spec.js +2 -3
  208. package/lib/test/integration/prisma-device-store-team-filter.spec.js +2 -5
  209. package/lib/test/integration/profile-tokens.spec.js +10 -16
  210. package/lib/test/integration/recordings-router.spec.js +16 -16
  211. package/lib/test/integration/reset-revokes-sessions.spec.js +4 -9
  212. package/lib/test/integration/role-matrix.spec.js +4 -9
  213. package/lib/test/integration/sdk-leases-router.spec.js +9 -9
  214. package/lib/test/integration/sdk-version.spec.js +2 -2
  215. package/lib/test/integration/selector-health-endpoint.spec.js +5 -5
  216. package/lib/test/integration/team-membership-migration.spec.js +73 -12
  217. package/lib/test/integration/team-visibility-apps.spec.js +15 -22
  218. package/lib/test/integration/team-visibility-control.spec.js +96 -69
  219. package/lib/test/integration/team-visibility-dashboard.spec.js +7 -23
  220. package/lib/test/integration/team-visibility-grid.spec.js +16 -15
  221. package/lib/test/integration/team-visibility-leases.spec.js +8 -11
  222. package/lib/test/integration/team-visibility-recordings.spec.js +6 -19
  223. package/lib/test/integration/team-visibility-sessions.spec.js +6 -19
  224. package/lib/test/integration/users-flow.spec.js +7 -12
  225. package/lib/test/integration/users-lockout.spec.js +5 -3
  226. package/lib/test/unit/EmailService.test.js +66 -0
  227. package/lib/test/unit/ResilioTreeHealingProvider.test.js +46 -19
  228. package/lib/test/unit/TeamService.test.js +3 -0
  229. package/lib/test/unit/XenonCapabilityManager.spec.js +4 -2
  230. package/lib/test/unit/ai-call-time-limit.spec.js +130 -0
  231. package/lib/test/unit/ai-engine-settings.spec.js +338 -0
  232. package/lib/test/unit/ai-provider-switch.spec.js +130 -0
  233. package/lib/test/unit/ai-rate-limit.spec.js +126 -0
  234. package/lib/test/unit/android-h264-viewers.spec.js +272 -0
  235. package/lib/test/unit/android-preview-hold.spec.js +3 -2
  236. package/lib/test/unit/apikeys-router.spec.js +84 -0
  237. package/lib/test/unit/apple-family.spec.js +36 -0
  238. package/lib/test/unit/authMiddleware.bearer.spec.js +9 -0
  239. package/lib/test/unit/authMiddleware.credentialLifetime.spec.js +149 -0
  240. package/lib/test/unit/bug-report/video-slice.spec.js +19 -0
  241. package/lib/test/unit/cleanup-settings-db.spec.js +103 -0
  242. package/lib/test/unit/cleanup-settings.spec.js +244 -0
  243. package/lib/test/unit/dashboard-api-paths.spec.js +101 -0
  244. package/lib/test/unit/dashboard-commands.spec.js +249 -0
  245. package/lib/test/unit/dashboard-events-device-logs.spec.js +207 -0
  246. package/lib/test/unit/dashboard-events-team-scope.spec.js +9 -6
  247. package/lib/test/unit/dashboard-plugin-link.spec.js +213 -0
  248. package/lib/test/unit/database-check.spec.js +108 -0
  249. package/lib/test/unit/default-plugin-args.spec.js +33 -0
  250. package/lib/test/unit/device-log-book.spec.js +180 -0
  251. package/lib/test/unit/device-offline-webhook.spec.js +81 -0
  252. package/lib/test/unit/device-setting-columns.spec.js +66 -0
  253. package/lib/test/unit/device-settings-loki.spec.js +87 -0
  254. package/lib/test/unit/device-settings-survive.spec.js +555 -0
  255. package/lib/test/unit/device-sync-lost-update.spec.js +5 -0
  256. package/lib/test/unit/emulator-boot.spec.js +91 -0
  257. package/lib/test/unit/enable-dashboard-option.spec.js +57 -0
  258. package/lib/test/unit/event-log-session-data.spec.js +244 -0
  259. package/lib/test/unit/failure-analysis.spec.js +182 -0
  260. package/lib/test/unit/failure-categories.spec.js +128 -0
  261. package/lib/test/unit/fingerprint-identity.spec.js +433 -0
  262. package/lib/test/unit/h264-multiplexer.spec.js +46 -0
  263. package/lib/test/unit/heal-report.spec.js +71 -0
  264. package/lib/test/unit/healing-instrumentation.spec.js +6 -1
  265. package/lib/test/unit/healing-tier-gate.spec.js +73 -29
  266. package/lib/test/unit/healing-tiers-every-session.spec.js +219 -0
  267. package/lib/test/unit/hub-node-gateway-appium-server.spec.js +219 -0
  268. package/lib/test/unit/hub-node-same-host.spec.js +5 -0
  269. package/lib/test/unit/interceptor-visual-elements.spec.js +192 -0
  270. package/lib/test/unit/iphone-ipad-only.spec.js +132 -0
  271. package/lib/test/unit/json-logging-option.spec.js +74 -0
  272. package/lib/test/unit/lab-settings.spec.js +218 -0
  273. package/lib/test/unit/lease/lease-override.spec.js +23 -6
  274. package/lib/test/unit/lease/session-lease-proof.spec.js +16 -4
  275. package/lib/test/unit/max-sessions.spec.js +240 -0
  276. package/lib/test/unit/ocr-healing-tier-real-ocr.spec.js +113 -0
  277. package/lib/test/unit/ocr-healing-tier.spec.js +122 -0
  278. package/lib/test/unit/ocr-offline.spec.js +213 -0
  279. package/lib/test/unit/ocr-text-match.spec.js +44 -0
  280. package/lib/test/unit/omni-virtual-element-store.spec.js +301 -0
  281. package/lib/test/unit/omni-vision-analyze-screen.spec.js +72 -0
  282. package/lib/test/unit/omni-vision-ios-points.spec.js +159 -0
  283. package/lib/test/unit/omni-vision-tap-text.spec.js +129 -0
  284. package/lib/test/unit/omni-vision.spec.js +6 -8
  285. package/lib/test/unit/package-engines.spec.js +27 -0
  286. package/lib/test/unit/partial-config-file.spec.js +14 -0
  287. package/lib/test/unit/passwordResetMode.test.js +10 -2
  288. package/lib/test/unit/phone-network/boot-clean-up.spec.js +64 -0
  289. package/lib/test/unit/phone-network/interceptor-options.spec.js +77 -0
  290. package/lib/test/unit/phone-network/interceptor-proxy-restore.spec.js +145 -0
  291. package/lib/test/unit/phone-network/network-conditioning.spec.js +145 -0
  292. package/lib/test/unit/phone-network/phone-network-restore.spec.js +246 -0
  293. package/lib/test/unit/phone-network/session-end-paths.spec.js +182 -0
  294. package/lib/test/unit/phone-network/session-start.spec.js +110 -0
  295. package/lib/test/unit/phone-network/xenon-proxy.spec.js +69 -0
  296. package/lib/test/unit/plugin.spec.js +3 -3
  297. package/lib/test/unit/profile-router.test.js +122 -1
  298. package/lib/test/unit/queue-requester.spec.js +1 -1
  299. package/lib/test/unit/recording-options.spec.js +181 -0
  300. package/lib/test/unit/reset-link-address.spec.js +266 -0
  301. package/lib/test/unit/reset-link.test.js +10 -4
  302. package/lib/test/unit/resilio-path-healing.spec.js +270 -0
  303. package/lib/test/unit/selector-learning-every-session.spec.js +179 -0
  304. package/lib/test/unit/selector-verification-clean-build.spec.js +130 -0
  305. package/lib/test/unit/selector-verification-job.spec.js +13 -13
  306. package/lib/test/unit/self-healing-boot.spec.js +80 -0
  307. package/lib/test/unit/self-healing-setting.spec.js +273 -0
  308. package/lib/test/unit/session-app-resolution.spec.js +5 -1
  309. package/lib/test/unit/session-attribution-wiring.spec.js +41 -13
  310. package/lib/test/unit/session-create-credential-owner.spec.js +242 -0
  311. package/lib/test/unit/session-credential-strip.spec.js +1 -1
  312. package/lib/test/unit/session-device-logs.spec.js +347 -0
  313. package/lib/test/unit/session-end-failure-analysis.spec.js +133 -0
  314. package/lib/test/unit/session-failed-webhook.spec.js +170 -0
  315. package/lib/test/unit/session-log-indexes.spec.js +64 -3
  316. package/lib/test/unit/shell-commands.spec.js +133 -0
  317. package/lib/test/unit/socketServer.scopedEmit.spec.js +2 -0
  318. package/lib/test/unit/socketServer.sessionCookie.spec.js +2 -1
  319. package/lib/test/unit/stream-start-pipelines.spec.js +264 -0
  320. package/lib/test/unit/stream-status-type.spec.js +4 -0
  321. package/lib/test/unit/token-mint-limits.spec.js +165 -0
  322. package/lib/test/unit/unexpected-shutdown-reason.spec.js +163 -0
  323. package/lib/test/unit/verify-credential.spec.js +33 -0
  324. package/lib/test/unit/vision-assertion.spec.js +119 -0
  325. package/lib/test/unit/wda-client-shell.spec.js +133 -0
  326. package/lib/test/unit/web-config-service.spec.js +98 -0
  327. package/lib/test/unit/webhook-delivery.spec.js +24 -0
  328. package/lib/test/unit/webhook-payloads.spec.js +273 -0
  329. package/lib/test/unit/xenon-execute-scripts.spec.js +138 -0
  330. package/lib/tsconfig.tsbuildinfo +1 -1
  331. package/lib/web/src/components/webhook-settings/webhookEventVariables.json +30 -0
  332. package/package.json +5 -5
  333. package/prisma/migrations/20261004140000_keep_device_settings/migration.sql +19 -0
  334. package/prisma/migrations/20261004174413_locator_etalon_path/migration.sql +2 -0
  335. package/prisma/schema.prisma +38 -7
  336. package/schema.json +23 -25
  337. package/scripts/generate-types-from-schema.js +1 -2
  338. package/scripts/lib/always-present-plugin-args.js +4 -1
  339. package/lib/public/assets/BugReportButton-BoGhlI7F.js +0 -15
  340. package/lib/public/assets/DeviceMosaicView-8J0oYqMM.js +0 -2
  341. package/lib/public/assets/ai-settings-Bce5SJob.js +0 -21
  342. package/lib/public/assets/device-explorer-C-KnhMHI.js +0 -279
  343. package/lib/public/assets/forgot-password-DnudqFFo.js +0 -1
  344. package/lib/public/assets/maintenance-settings-zDVlOMVK.js +0 -6
  345. package/lib/public/assets/recording-group-store-WVM3hoXn.js +0 -26
  346. package/lib/public/assets/runbook-page-DJTVCJX7.js +0 -124
  347. package/lib/public/assets/session-detail-page-CGn55Pvl.js +0 -4
  348. package/lib/public/assets/settings-MsVU2ukE.js +0 -6
  349. package/lib/public/assets/webhook-settings-DiS8geIm.js +0 -1
  350. /package/lib/public/assets/{BugReportButton-CPBjfiv4.css → index-CPBjfiv4.css} +0 -0
@@ -53,6 +53,19 @@ export type App = $Result.DefaultSelection<Prisma.$AppPayload>
53
53
  *
54
54
  */
55
55
  export type Device = $Result.DefaultSelection<Prisma.$DevicePayload>
56
+ /**
57
+ * Model DeviceSetting
58
+ * The settings people give one phone (an admin's team, tags and maintenance,
59
+ * a member's reservation), kept apart from its Device row. That row is
60
+ * deleted whenever the phone goes: unplugged, rebooted, offline in adb, a
61
+ * restart, its node gone. This one stays, and a new row for the phone starts
62
+ * from it, in the same write (src/data-service/deviceSettings.ts). Keyed as
63
+ * Device is: a phone is a udid on the server that drives it, so another
64
+ * server's phone with the same udid (an emulator's) never takes these. A hub
65
+ * keeps the settings of its nodes' phones here too; a node's report never
66
+ * writes them.
67
+ */
68
+ export type DeviceSetting = $Result.DefaultSelection<Prisma.$DeviceSettingPayload>
56
69
  /**
57
70
  * Model PendingSession
58
71
  *
@@ -357,6 +370,16 @@ export class PrismaClient<
357
370
  */
358
371
  get device(): Prisma.DeviceDelegate<ExtArgs>;
359
372
 
373
+ /**
374
+ * `prisma.deviceSetting`: Exposes CRUD operations for the **DeviceSetting** model.
375
+ * Example usage:
376
+ * ```ts
377
+ * // Fetch zero or more DeviceSettings
378
+ * const deviceSettings = await prisma.deviceSetting.findMany()
379
+ * ```
380
+ */
381
+ get deviceSetting(): Prisma.DeviceSettingDelegate<ExtArgs>;
382
+
360
383
  /**
361
384
  * `prisma.pendingSession`: Exposes CRUD operations for the **PendingSession** model.
362
385
  * Example usage:
@@ -1005,6 +1028,7 @@ export namespace Prisma {
1005
1028
  SessionMetric: 'SessionMetric',
1006
1029
  App: 'App',
1007
1030
  Device: 'Device',
1031
+ DeviceSetting: 'DeviceSetting',
1008
1032
  PendingSession: 'PendingSession',
1009
1033
  CLIArgs: 'CLIArgs',
1010
1034
  WebhookConfig: 'WebhookConfig',
@@ -1040,7 +1064,7 @@ export namespace Prisma {
1040
1064
 
1041
1065
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
1042
1066
  meta: {
1043
- modelProps: "build" | "session" | "sessionLog" | "log" | "profiling" | "sessionMetric" | "app" | "device" | "pendingSession" | "cLIArgs" | "webhookConfig" | "webConfig" | "locatorEtalon" | "portLease" | "lease" | "apiKey" | "team" | "selectorState" | "selectorEvent" | "recording" | "bookmark" | "annotation" | "user" | "userSession" | "passwordResetToken" | "teamMember" | "eventLog" | "project"
1067
+ modelProps: "build" | "session" | "sessionLog" | "log" | "profiling" | "sessionMetric" | "app" | "device" | "deviceSetting" | "pendingSession" | "cLIArgs" | "webhookConfig" | "webConfig" | "locatorEtalon" | "portLease" | "lease" | "apiKey" | "team" | "selectorState" | "selectorEvent" | "recording" | "bookmark" | "annotation" | "user" | "userSession" | "passwordResetToken" | "teamMember" | "eventLog" | "project"
1044
1068
  txIsolationLevel: Prisma.TransactionIsolationLevel
1045
1069
  }
1046
1070
  model: {
@@ -1604,6 +1628,76 @@ export namespace Prisma {
1604
1628
  }
1605
1629
  }
1606
1630
  }
1631
+ DeviceSetting: {
1632
+ payload: Prisma.$DeviceSettingPayload<ExtArgs>
1633
+ fields: Prisma.DeviceSettingFieldRefs
1634
+ operations: {
1635
+ findUnique: {
1636
+ args: Prisma.DeviceSettingFindUniqueArgs<ExtArgs>
1637
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload> | null
1638
+ }
1639
+ findUniqueOrThrow: {
1640
+ args: Prisma.DeviceSettingFindUniqueOrThrowArgs<ExtArgs>
1641
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>
1642
+ }
1643
+ findFirst: {
1644
+ args: Prisma.DeviceSettingFindFirstArgs<ExtArgs>
1645
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload> | null
1646
+ }
1647
+ findFirstOrThrow: {
1648
+ args: Prisma.DeviceSettingFindFirstOrThrowArgs<ExtArgs>
1649
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>
1650
+ }
1651
+ findMany: {
1652
+ args: Prisma.DeviceSettingFindManyArgs<ExtArgs>
1653
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>[]
1654
+ }
1655
+ create: {
1656
+ args: Prisma.DeviceSettingCreateArgs<ExtArgs>
1657
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>
1658
+ }
1659
+ createMany: {
1660
+ args: Prisma.DeviceSettingCreateManyArgs<ExtArgs>
1661
+ result: BatchPayload
1662
+ }
1663
+ createManyAndReturn: {
1664
+ args: Prisma.DeviceSettingCreateManyAndReturnArgs<ExtArgs>
1665
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>[]
1666
+ }
1667
+ delete: {
1668
+ args: Prisma.DeviceSettingDeleteArgs<ExtArgs>
1669
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>
1670
+ }
1671
+ update: {
1672
+ args: Prisma.DeviceSettingUpdateArgs<ExtArgs>
1673
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>
1674
+ }
1675
+ deleteMany: {
1676
+ args: Prisma.DeviceSettingDeleteManyArgs<ExtArgs>
1677
+ result: BatchPayload
1678
+ }
1679
+ updateMany: {
1680
+ args: Prisma.DeviceSettingUpdateManyArgs<ExtArgs>
1681
+ result: BatchPayload
1682
+ }
1683
+ upsert: {
1684
+ args: Prisma.DeviceSettingUpsertArgs<ExtArgs>
1685
+ result: $Utils.PayloadToResult<Prisma.$DeviceSettingPayload>
1686
+ }
1687
+ aggregate: {
1688
+ args: Prisma.DeviceSettingAggregateArgs<ExtArgs>
1689
+ result: $Utils.Optional<AggregateDeviceSetting>
1690
+ }
1691
+ groupBy: {
1692
+ args: Prisma.DeviceSettingGroupByArgs<ExtArgs>
1693
+ result: $Utils.Optional<DeviceSettingGroupByOutputType>[]
1694
+ }
1695
+ count: {
1696
+ args: Prisma.DeviceSettingCountArgs<ExtArgs>
1697
+ result: $Utils.Optional<DeviceSettingCountAggregateOutputType> | number
1698
+ }
1699
+ }
1700
+ }
1607
1701
  PendingSession: {
1608
1702
  payload: Prisma.$PendingSessionPayload<ExtArgs>
1609
1703
  fields: Prisma.PendingSessionFieldRefs
@@ -3264,6 +3358,7 @@ export namespace Prisma {
3264
3358
 
3265
3359
  export type TeamCountOutputType = {
3266
3360
  devices: number
3361
+ deviceSettings: number
3267
3362
  apiKeys: number
3268
3363
  members: number
3269
3364
  apps: number
@@ -3271,6 +3366,7 @@ export namespace Prisma {
3271
3366
 
3272
3367
  export type TeamCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3273
3368
  devices?: boolean | TeamCountOutputTypeCountDevicesArgs
3369
+ deviceSettings?: boolean | TeamCountOutputTypeCountDeviceSettingsArgs
3274
3370
  apiKeys?: boolean | TeamCountOutputTypeCountApiKeysArgs
3275
3371
  members?: boolean | TeamCountOutputTypeCountMembersArgs
3276
3372
  apps?: boolean | TeamCountOutputTypeCountAppsArgs
@@ -3294,6 +3390,13 @@ export namespace Prisma {
3294
3390
  where?: DeviceWhereInput
3295
3391
  }
3296
3392
 
3393
+ /**
3394
+ * TeamCountOutputType without action
3395
+ */
3396
+ export type TeamCountOutputTypeCountDeviceSettingsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
3397
+ where?: DeviceSettingWhereInput
3398
+ }
3399
+
3297
3400
  /**
3298
3401
  * TeamCountOutputType without action
3299
3402
  */
@@ -12369,388 +12472,1431 @@ export namespace Prisma {
12369
12472
 
12370
12473
 
12371
12474
  /**
12372
- * Fields of the Device model
12475
+ * Fields of the Device model
12476
+ */
12477
+ interface DeviceFieldRefs {
12478
+ readonly udid: FieldRef<"Device", 'String'>
12479
+ readonly host: FieldRef<"Device", 'String'>
12480
+ readonly systemPort: FieldRef<"Device", 'Int'>
12481
+ readonly proxyPort: FieldRef<"Device", 'Int'>
12482
+ readonly proxyHost: FieldRef<"Device", 'String'>
12483
+ readonly wdaLocalPort: FieldRef<"Device", 'Int'>
12484
+ readonly name: FieldRef<"Device", 'String'>
12485
+ readonly state: FieldRef<"Device", 'String'>
12486
+ readonly sdk: FieldRef<"Device", 'String'>
12487
+ readonly platform: FieldRef<"Device", 'String'>
12488
+ readonly deviceType: FieldRef<"Device", 'String'>
12489
+ readonly busy: FieldRef<"Device", 'Boolean'>
12490
+ readonly userBlocked: FieldRef<"Device", 'Boolean'>
12491
+ readonly realDevice: FieldRef<"Device", 'Boolean'>
12492
+ readonly session_id: FieldRef<"Device", 'String'>
12493
+ readonly offline: FieldRef<"Device", 'Boolean'>
12494
+ readonly mjpegServerPort: FieldRef<"Device", 'Int'>
12495
+ readonly lastCmdExecutedAt: FieldRef<"Device", 'Float'>
12496
+ readonly totalUtilizationTimeMilliSec: FieldRef<"Device", 'Float'>
12497
+ readonly sessionStartTime: FieldRef<"Device", 'Float'>
12498
+ readonly newCommandTimeout: FieldRef<"Device", 'Int'>
12499
+ readonly cloud: FieldRef<"Device", 'String'>
12500
+ readonly derivedDataPath: FieldRef<"Device", 'String'>
12501
+ readonly chromeDriverPath: FieldRef<"Device", 'String'>
12502
+ readonly capability: FieldRef<"Device", 'String'>
12503
+ readonly adbRemoteHost: FieldRef<"Device", 'String'>
12504
+ readonly adbPort: FieldRef<"Device", 'Int'>
12505
+ readonly nodeId: FieldRef<"Device", 'String'>
12506
+ readonly screenWidth: FieldRef<"Device", 'String'>
12507
+ readonly screenHeight: FieldRef<"Device", 'String'>
12508
+ readonly dashboard_link: FieldRef<"Device", 'String'>
12509
+ readonly total_session_count: FieldRef<"Device", 'Int'>
12510
+ readonly createdAt: FieldRef<"Device", 'DateTime'>
12511
+ readonly updatedAt: FieldRef<"Device", 'DateTime'>
12512
+ readonly healthCheckError: FieldRef<"Device", 'String'>
12513
+ readonly healthStatus: FieldRef<"Device", 'String'>
12514
+ readonly lastHealthCheckAt: FieldRef<"Device", 'Float'>
12515
+ readonly batteryLevel: FieldRef<"Device", 'Int'>
12516
+ readonly reservationReason: FieldRef<"Device", 'String'>
12517
+ readonly reservedBy: FieldRef<"Device", 'String'>
12518
+ readonly reservedByUserId: FieldRef<"Device", 'String'>
12519
+ readonly reservedUntil: FieldRef<"Device", 'Float'>
12520
+ readonly storageFree: FieldRef<"Device", 'String'>
12521
+ readonly tags: FieldRef<"Device", 'String'>
12522
+ readonly thermalStatus: FieldRef<"Device", 'String'>
12523
+ readonly marketingName: FieldRef<"Device", 'String'>
12524
+ readonly model: FieldRef<"Device", 'String'>
12525
+ readonly manufacturer: FieldRef<"Device", 'String'>
12526
+ readonly formFactor: FieldRef<"Device", 'String'>
12527
+ readonly sessionProgress: FieldRef<"Device", 'String'>
12528
+ readonly totalHealedCount: FieldRef<"Device", 'Int'>
12529
+ readonly ip: FieldRef<"Device", 'String'>
12530
+ readonly cpuArchitecture: FieldRef<"Device", 'String'>
12531
+ readonly owningSessionId: FieldRef<"Device", 'String'>
12532
+ readonly lockedAt: FieldRef<"Device", 'Float'>
12533
+ readonly teamId: FieldRef<"Device", 'String'>
12534
+ readonly claimSessionId: FieldRef<"Device", 'String'>
12535
+ readonly claimedAt: FieldRef<"Device", 'Float'>
12536
+ readonly nodeBusy: FieldRef<"Device", 'Boolean'>
12537
+ readonly nodeHold: FieldRef<"Device", 'String'>
12538
+ }
12539
+
12540
+
12541
+ // Custom InputTypes
12542
+ /**
12543
+ * Device findUnique
12544
+ */
12545
+ export type DeviceFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12546
+ /**
12547
+ * Select specific fields to fetch from the Device
12548
+ */
12549
+ select?: DeviceSelect<ExtArgs> | null
12550
+ /**
12551
+ * Choose, which related nodes to fetch as well
12552
+ */
12553
+ include?: DeviceInclude<ExtArgs> | null
12554
+ /**
12555
+ * Filter, which Device to fetch.
12556
+ */
12557
+ where: DeviceWhereUniqueInput
12558
+ }
12559
+
12560
+ /**
12561
+ * Device findUniqueOrThrow
12562
+ */
12563
+ export type DeviceFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12564
+ /**
12565
+ * Select specific fields to fetch from the Device
12566
+ */
12567
+ select?: DeviceSelect<ExtArgs> | null
12568
+ /**
12569
+ * Choose, which related nodes to fetch as well
12570
+ */
12571
+ include?: DeviceInclude<ExtArgs> | null
12572
+ /**
12573
+ * Filter, which Device to fetch.
12574
+ */
12575
+ where: DeviceWhereUniqueInput
12576
+ }
12577
+
12578
+ /**
12579
+ * Device findFirst
12580
+ */
12581
+ export type DeviceFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12582
+ /**
12583
+ * Select specific fields to fetch from the Device
12584
+ */
12585
+ select?: DeviceSelect<ExtArgs> | null
12586
+ /**
12587
+ * Choose, which related nodes to fetch as well
12588
+ */
12589
+ include?: DeviceInclude<ExtArgs> | null
12590
+ /**
12591
+ * Filter, which Device to fetch.
12592
+ */
12593
+ where?: DeviceWhereInput
12594
+ /**
12595
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12596
+ *
12597
+ * Determine the order of Devices to fetch.
12598
+ */
12599
+ orderBy?: DeviceOrderByWithRelationInput | DeviceOrderByWithRelationInput[]
12600
+ /**
12601
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12602
+ *
12603
+ * Sets the position for searching for Devices.
12604
+ */
12605
+ cursor?: DeviceWhereUniqueInput
12606
+ /**
12607
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12608
+ *
12609
+ * Take `±n` Devices from the position of the cursor.
12610
+ */
12611
+ take?: number
12612
+ /**
12613
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12614
+ *
12615
+ * Skip the first `n` Devices.
12616
+ */
12617
+ skip?: number
12618
+ /**
12619
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12620
+ *
12621
+ * Filter by unique combinations of Devices.
12622
+ */
12623
+ distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
12624
+ }
12625
+
12626
+ /**
12627
+ * Device findFirstOrThrow
12628
+ */
12629
+ export type DeviceFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12630
+ /**
12631
+ * Select specific fields to fetch from the Device
12632
+ */
12633
+ select?: DeviceSelect<ExtArgs> | null
12634
+ /**
12635
+ * Choose, which related nodes to fetch as well
12636
+ */
12637
+ include?: DeviceInclude<ExtArgs> | null
12638
+ /**
12639
+ * Filter, which Device to fetch.
12640
+ */
12641
+ where?: DeviceWhereInput
12642
+ /**
12643
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12644
+ *
12645
+ * Determine the order of Devices to fetch.
12646
+ */
12647
+ orderBy?: DeviceOrderByWithRelationInput | DeviceOrderByWithRelationInput[]
12648
+ /**
12649
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12650
+ *
12651
+ * Sets the position for searching for Devices.
12652
+ */
12653
+ cursor?: DeviceWhereUniqueInput
12654
+ /**
12655
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12656
+ *
12657
+ * Take `±n` Devices from the position of the cursor.
12658
+ */
12659
+ take?: number
12660
+ /**
12661
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12662
+ *
12663
+ * Skip the first `n` Devices.
12664
+ */
12665
+ skip?: number
12666
+ /**
12667
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12668
+ *
12669
+ * Filter by unique combinations of Devices.
12670
+ */
12671
+ distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
12672
+ }
12673
+
12674
+ /**
12675
+ * Device findMany
12676
+ */
12677
+ export type DeviceFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12678
+ /**
12679
+ * Select specific fields to fetch from the Device
12680
+ */
12681
+ select?: DeviceSelect<ExtArgs> | null
12682
+ /**
12683
+ * Choose, which related nodes to fetch as well
12684
+ */
12685
+ include?: DeviceInclude<ExtArgs> | null
12686
+ /**
12687
+ * Filter, which Devices to fetch.
12688
+ */
12689
+ where?: DeviceWhereInput
12690
+ /**
12691
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12692
+ *
12693
+ * Determine the order of Devices to fetch.
12694
+ */
12695
+ orderBy?: DeviceOrderByWithRelationInput | DeviceOrderByWithRelationInput[]
12696
+ /**
12697
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12698
+ *
12699
+ * Sets the position for listing Devices.
12700
+ */
12701
+ cursor?: DeviceWhereUniqueInput
12702
+ /**
12703
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12704
+ *
12705
+ * Take `±n` Devices from the position of the cursor.
12706
+ */
12707
+ take?: number
12708
+ /**
12709
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12710
+ *
12711
+ * Skip the first `n` Devices.
12712
+ */
12713
+ skip?: number
12714
+ distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
12715
+ }
12716
+
12717
+ /**
12718
+ * Device create
12719
+ */
12720
+ export type DeviceCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12721
+ /**
12722
+ * Select specific fields to fetch from the Device
12723
+ */
12724
+ select?: DeviceSelect<ExtArgs> | null
12725
+ /**
12726
+ * Choose, which related nodes to fetch as well
12727
+ */
12728
+ include?: DeviceInclude<ExtArgs> | null
12729
+ /**
12730
+ * The data needed to create a Device.
12731
+ */
12732
+ data: XOR<DeviceCreateInput, DeviceUncheckedCreateInput>
12733
+ }
12734
+
12735
+ /**
12736
+ * Device createMany
12737
+ */
12738
+ export type DeviceCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12739
+ /**
12740
+ * The data used to create many Devices.
12741
+ */
12742
+ data: DeviceCreateManyInput | DeviceCreateManyInput[]
12743
+ }
12744
+
12745
+ /**
12746
+ * Device createManyAndReturn
12747
+ */
12748
+ export type DeviceCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12749
+ /**
12750
+ * Select specific fields to fetch from the Device
12751
+ */
12752
+ select?: DeviceSelectCreateManyAndReturn<ExtArgs> | null
12753
+ /**
12754
+ * The data used to create many Devices.
12755
+ */
12756
+ data: DeviceCreateManyInput | DeviceCreateManyInput[]
12757
+ /**
12758
+ * Choose, which related nodes to fetch as well
12759
+ */
12760
+ include?: DeviceIncludeCreateManyAndReturn<ExtArgs> | null
12761
+ }
12762
+
12763
+ /**
12764
+ * Device update
12765
+ */
12766
+ export type DeviceUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12767
+ /**
12768
+ * Select specific fields to fetch from the Device
12769
+ */
12770
+ select?: DeviceSelect<ExtArgs> | null
12771
+ /**
12772
+ * Choose, which related nodes to fetch as well
12773
+ */
12774
+ include?: DeviceInclude<ExtArgs> | null
12775
+ /**
12776
+ * The data needed to update a Device.
12777
+ */
12778
+ data: XOR<DeviceUpdateInput, DeviceUncheckedUpdateInput>
12779
+ /**
12780
+ * Choose, which Device to update.
12781
+ */
12782
+ where: DeviceWhereUniqueInput
12783
+ }
12784
+
12785
+ /**
12786
+ * Device updateMany
12787
+ */
12788
+ export type DeviceUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12789
+ /**
12790
+ * The data used to update Devices.
12791
+ */
12792
+ data: XOR<DeviceUpdateManyMutationInput, DeviceUncheckedUpdateManyInput>
12793
+ /**
12794
+ * Filter which Devices to update
12795
+ */
12796
+ where?: DeviceWhereInput
12797
+ }
12798
+
12799
+ /**
12800
+ * Device upsert
12801
+ */
12802
+ export type DeviceUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12803
+ /**
12804
+ * Select specific fields to fetch from the Device
12805
+ */
12806
+ select?: DeviceSelect<ExtArgs> | null
12807
+ /**
12808
+ * Choose, which related nodes to fetch as well
12809
+ */
12810
+ include?: DeviceInclude<ExtArgs> | null
12811
+ /**
12812
+ * The filter to search for the Device to update in case it exists.
12813
+ */
12814
+ where: DeviceWhereUniqueInput
12815
+ /**
12816
+ * In case the Device found by the `where` argument doesn't exist, create a new Device with this data.
12817
+ */
12818
+ create: XOR<DeviceCreateInput, DeviceUncheckedCreateInput>
12819
+ /**
12820
+ * In case the Device was found with the provided `where` argument, update it with this data.
12821
+ */
12822
+ update: XOR<DeviceUpdateInput, DeviceUncheckedUpdateInput>
12823
+ }
12824
+
12825
+ /**
12826
+ * Device delete
12827
+ */
12828
+ export type DeviceDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12829
+ /**
12830
+ * Select specific fields to fetch from the Device
12831
+ */
12832
+ select?: DeviceSelect<ExtArgs> | null
12833
+ /**
12834
+ * Choose, which related nodes to fetch as well
12835
+ */
12836
+ include?: DeviceInclude<ExtArgs> | null
12837
+ /**
12838
+ * Filter which Device to delete.
12839
+ */
12840
+ where: DeviceWhereUniqueInput
12841
+ }
12842
+
12843
+ /**
12844
+ * Device deleteMany
12845
+ */
12846
+ export type DeviceDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12847
+ /**
12848
+ * Filter which Devices to delete
12849
+ */
12850
+ where?: DeviceWhereInput
12851
+ }
12852
+
12853
+ /**
12854
+ * Device.team
12855
+ */
12856
+ export type Device$teamArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12857
+ /**
12858
+ * Select specific fields to fetch from the Team
12859
+ */
12860
+ select?: TeamSelect<ExtArgs> | null
12861
+ /**
12862
+ * Choose, which related nodes to fetch as well
12863
+ */
12864
+ include?: TeamInclude<ExtArgs> | null
12865
+ where?: TeamWhereInput
12866
+ }
12867
+
12868
+ /**
12869
+ * Device without action
12870
+ */
12871
+ export type DeviceDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12872
+ /**
12873
+ * Select specific fields to fetch from the Device
12874
+ */
12875
+ select?: DeviceSelect<ExtArgs> | null
12876
+ /**
12877
+ * Choose, which related nodes to fetch as well
12878
+ */
12879
+ include?: DeviceInclude<ExtArgs> | null
12880
+ }
12881
+
12882
+
12883
+ /**
12884
+ * Model DeviceSetting
12885
+ */
12886
+
12887
+ export type AggregateDeviceSetting = {
12888
+ _count: DeviceSettingCountAggregateOutputType | null
12889
+ _avg: DeviceSettingAvgAggregateOutputType | null
12890
+ _sum: DeviceSettingSumAggregateOutputType | null
12891
+ _min: DeviceSettingMinAggregateOutputType | null
12892
+ _max: DeviceSettingMaxAggregateOutputType | null
12893
+ }
12894
+
12895
+ export type DeviceSettingAvgAggregateOutputType = {
12896
+ reservedUntil: number | null
12897
+ }
12898
+
12899
+ export type DeviceSettingSumAggregateOutputType = {
12900
+ reservedUntil: number | null
12901
+ }
12902
+
12903
+ export type DeviceSettingMinAggregateOutputType = {
12904
+ udid: string | null
12905
+ host: string | null
12906
+ teamId: string | null
12907
+ tags: string | null
12908
+ userBlocked: boolean | null
12909
+ reservationReason: string | null
12910
+ reservedBy: string | null
12911
+ reservedByUserId: string | null
12912
+ reservedUntil: number | null
12913
+ updatedAt: Date | null
12914
+ }
12915
+
12916
+ export type DeviceSettingMaxAggregateOutputType = {
12917
+ udid: string | null
12918
+ host: string | null
12919
+ teamId: string | null
12920
+ tags: string | null
12921
+ userBlocked: boolean | null
12922
+ reservationReason: string | null
12923
+ reservedBy: string | null
12924
+ reservedByUserId: string | null
12925
+ reservedUntil: number | null
12926
+ updatedAt: Date | null
12927
+ }
12928
+
12929
+ export type DeviceSettingCountAggregateOutputType = {
12930
+ udid: number
12931
+ host: number
12932
+ teamId: number
12933
+ tags: number
12934
+ userBlocked: number
12935
+ reservationReason: number
12936
+ reservedBy: number
12937
+ reservedByUserId: number
12938
+ reservedUntil: number
12939
+ updatedAt: number
12940
+ _all: number
12941
+ }
12942
+
12943
+
12944
+ export type DeviceSettingAvgAggregateInputType = {
12945
+ reservedUntil?: true
12946
+ }
12947
+
12948
+ export type DeviceSettingSumAggregateInputType = {
12949
+ reservedUntil?: true
12950
+ }
12951
+
12952
+ export type DeviceSettingMinAggregateInputType = {
12953
+ udid?: true
12954
+ host?: true
12955
+ teamId?: true
12956
+ tags?: true
12957
+ userBlocked?: true
12958
+ reservationReason?: true
12959
+ reservedBy?: true
12960
+ reservedByUserId?: true
12961
+ reservedUntil?: true
12962
+ updatedAt?: true
12963
+ }
12964
+
12965
+ export type DeviceSettingMaxAggregateInputType = {
12966
+ udid?: true
12967
+ host?: true
12968
+ teamId?: true
12969
+ tags?: true
12970
+ userBlocked?: true
12971
+ reservationReason?: true
12972
+ reservedBy?: true
12973
+ reservedByUserId?: true
12974
+ reservedUntil?: true
12975
+ updatedAt?: true
12976
+ }
12977
+
12978
+ export type DeviceSettingCountAggregateInputType = {
12979
+ udid?: true
12980
+ host?: true
12981
+ teamId?: true
12982
+ tags?: true
12983
+ userBlocked?: true
12984
+ reservationReason?: true
12985
+ reservedBy?: true
12986
+ reservedByUserId?: true
12987
+ reservedUntil?: true
12988
+ updatedAt?: true
12989
+ _all?: true
12990
+ }
12991
+
12992
+ export type DeviceSettingAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12993
+ /**
12994
+ * Filter which DeviceSetting to aggregate.
12995
+ */
12996
+ where?: DeviceSettingWhereInput
12997
+ /**
12998
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12999
+ *
13000
+ * Determine the order of DeviceSettings to fetch.
13001
+ */
13002
+ orderBy?: DeviceSettingOrderByWithRelationInput | DeviceSettingOrderByWithRelationInput[]
13003
+ /**
13004
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
13005
+ *
13006
+ * Sets the start position
13007
+ */
13008
+ cursor?: DeviceSettingWhereUniqueInput
13009
+ /**
13010
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13011
+ *
13012
+ * Take `±n` DeviceSettings from the position of the cursor.
13013
+ */
13014
+ take?: number
13015
+ /**
13016
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
13017
+ *
13018
+ * Skip the first `n` DeviceSettings.
13019
+ */
13020
+ skip?: number
13021
+ /**
13022
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13023
+ *
13024
+ * Count returned DeviceSettings
13025
+ **/
13026
+ _count?: true | DeviceSettingCountAggregateInputType
13027
+ /**
13028
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13029
+ *
13030
+ * Select which fields to average
13031
+ **/
13032
+ _avg?: DeviceSettingAvgAggregateInputType
13033
+ /**
13034
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13035
+ *
13036
+ * Select which fields to sum
13037
+ **/
13038
+ _sum?: DeviceSettingSumAggregateInputType
13039
+ /**
13040
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13041
+ *
13042
+ * Select which fields to find the minimum value
13043
+ **/
13044
+ _min?: DeviceSettingMinAggregateInputType
13045
+ /**
13046
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
13047
+ *
13048
+ * Select which fields to find the maximum value
13049
+ **/
13050
+ _max?: DeviceSettingMaxAggregateInputType
13051
+ }
13052
+
13053
+ export type GetDeviceSettingAggregateType<T extends DeviceSettingAggregateArgs> = {
13054
+ [P in keyof T & keyof AggregateDeviceSetting]: P extends '_count' | 'count'
13055
+ ? T[P] extends true
13056
+ ? number
13057
+ : GetScalarType<T[P], AggregateDeviceSetting[P]>
13058
+ : GetScalarType<T[P], AggregateDeviceSetting[P]>
13059
+ }
13060
+
13061
+
13062
+
13063
+
13064
+ export type DeviceSettingGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13065
+ where?: DeviceSettingWhereInput
13066
+ orderBy?: DeviceSettingOrderByWithAggregationInput | DeviceSettingOrderByWithAggregationInput[]
13067
+ by: DeviceSettingScalarFieldEnum[] | DeviceSettingScalarFieldEnum
13068
+ having?: DeviceSettingScalarWhereWithAggregatesInput
13069
+ take?: number
13070
+ skip?: number
13071
+ _count?: DeviceSettingCountAggregateInputType | true
13072
+ _avg?: DeviceSettingAvgAggregateInputType
13073
+ _sum?: DeviceSettingSumAggregateInputType
13074
+ _min?: DeviceSettingMinAggregateInputType
13075
+ _max?: DeviceSettingMaxAggregateInputType
13076
+ }
13077
+
13078
+ export type DeviceSettingGroupByOutputType = {
13079
+ udid: string
13080
+ host: string
13081
+ teamId: string | null
13082
+ tags: string | null
13083
+ userBlocked: boolean
13084
+ reservationReason: string | null
13085
+ reservedBy: string | null
13086
+ reservedByUserId: string | null
13087
+ reservedUntil: number | null
13088
+ updatedAt: Date
13089
+ _count: DeviceSettingCountAggregateOutputType | null
13090
+ _avg: DeviceSettingAvgAggregateOutputType | null
13091
+ _sum: DeviceSettingSumAggregateOutputType | null
13092
+ _min: DeviceSettingMinAggregateOutputType | null
13093
+ _max: DeviceSettingMaxAggregateOutputType | null
13094
+ }
13095
+
13096
+ type GetDeviceSettingGroupByPayload<T extends DeviceSettingGroupByArgs> = Prisma.PrismaPromise<
13097
+ Array<
13098
+ PickEnumerable<DeviceSettingGroupByOutputType, T['by']> &
13099
+ {
13100
+ [P in ((keyof T) & (keyof DeviceSettingGroupByOutputType))]: P extends '_count'
13101
+ ? T[P] extends boolean
13102
+ ? number
13103
+ : GetScalarType<T[P], DeviceSettingGroupByOutputType[P]>
13104
+ : GetScalarType<T[P], DeviceSettingGroupByOutputType[P]>
13105
+ }
13106
+ >
13107
+ >
13108
+
13109
+
13110
+ export type DeviceSettingSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
13111
+ udid?: boolean
13112
+ host?: boolean
13113
+ teamId?: boolean
13114
+ tags?: boolean
13115
+ userBlocked?: boolean
13116
+ reservationReason?: boolean
13117
+ reservedBy?: boolean
13118
+ reservedByUserId?: boolean
13119
+ reservedUntil?: boolean
13120
+ updatedAt?: boolean
13121
+ team?: boolean | DeviceSetting$teamArgs<ExtArgs>
13122
+ }, ExtArgs["result"]["deviceSetting"]>
13123
+
13124
+ export type DeviceSettingSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
13125
+ udid?: boolean
13126
+ host?: boolean
13127
+ teamId?: boolean
13128
+ tags?: boolean
13129
+ userBlocked?: boolean
13130
+ reservationReason?: boolean
13131
+ reservedBy?: boolean
13132
+ reservedByUserId?: boolean
13133
+ reservedUntil?: boolean
13134
+ updatedAt?: boolean
13135
+ team?: boolean | DeviceSetting$teamArgs<ExtArgs>
13136
+ }, ExtArgs["result"]["deviceSetting"]>
13137
+
13138
+ export type DeviceSettingSelectScalar = {
13139
+ udid?: boolean
13140
+ host?: boolean
13141
+ teamId?: boolean
13142
+ tags?: boolean
13143
+ userBlocked?: boolean
13144
+ reservationReason?: boolean
13145
+ reservedBy?: boolean
13146
+ reservedByUserId?: boolean
13147
+ reservedUntil?: boolean
13148
+ updatedAt?: boolean
13149
+ }
13150
+
13151
+ export type DeviceSettingInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13152
+ team?: boolean | DeviceSetting$teamArgs<ExtArgs>
13153
+ }
13154
+ export type DeviceSettingIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13155
+ team?: boolean | DeviceSetting$teamArgs<ExtArgs>
13156
+ }
13157
+
13158
+ export type $DeviceSettingPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13159
+ name: "DeviceSetting"
13160
+ objects: {
13161
+ team: Prisma.$TeamPayload<ExtArgs> | null
13162
+ }
13163
+ scalars: $Extensions.GetPayloadResult<{
13164
+ udid: string
13165
+ host: string
13166
+ teamId: string | null
13167
+ /**
13168
+ * JSON array, as Device.tags.
13169
+ */
13170
+ tags: string | null
13171
+ userBlocked: boolean
13172
+ reservationReason: string | null
13173
+ reservedBy: string | null
13174
+ reservedByUserId: string | null
13175
+ reservedUntil: number | null
13176
+ updatedAt: Date
13177
+ }, ExtArgs["result"]["deviceSetting"]>
13178
+ composites: {}
13179
+ }
13180
+
13181
+ type DeviceSettingGetPayload<S extends boolean | null | undefined | DeviceSettingDefaultArgs> = $Result.GetResult<Prisma.$DeviceSettingPayload, S>
13182
+
13183
+ type DeviceSettingCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
13184
+ Omit<DeviceSettingFindManyArgs, 'select' | 'include' | 'distinct'> & {
13185
+ select?: DeviceSettingCountAggregateInputType | true
13186
+ }
13187
+
13188
+ export interface DeviceSettingDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
13189
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DeviceSetting'], meta: { name: 'DeviceSetting' } }
13190
+ /**
13191
+ * Find zero or one DeviceSetting that matches the filter.
13192
+ * @param {DeviceSettingFindUniqueArgs} args - Arguments to find a DeviceSetting
13193
+ * @example
13194
+ * // Get one DeviceSetting
13195
+ * const deviceSetting = await prisma.deviceSetting.findUnique({
13196
+ * where: {
13197
+ * // ... provide filter here
13198
+ * }
13199
+ * })
13200
+ */
13201
+ findUnique<T extends DeviceSettingFindUniqueArgs>(args: SelectSubset<T, DeviceSettingFindUniqueArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
13202
+
13203
+ /**
13204
+ * Find one DeviceSetting that matches the filter or throw an error with `error.code='P2025'`
13205
+ * if no matches were found.
13206
+ * @param {DeviceSettingFindUniqueOrThrowArgs} args - Arguments to find a DeviceSetting
13207
+ * @example
13208
+ * // Get one DeviceSetting
13209
+ * const deviceSetting = await prisma.deviceSetting.findUniqueOrThrow({
13210
+ * where: {
13211
+ * // ... provide filter here
13212
+ * }
13213
+ * })
13214
+ */
13215
+ findUniqueOrThrow<T extends DeviceSettingFindUniqueOrThrowArgs>(args: SelectSubset<T, DeviceSettingFindUniqueOrThrowArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
13216
+
13217
+ /**
13218
+ * Find the first DeviceSetting that matches the filter.
13219
+ * Note, that providing `undefined` is treated as the value not being there.
13220
+ * Read more here: https://pris.ly/d/null-undefined
13221
+ * @param {DeviceSettingFindFirstArgs} args - Arguments to find a DeviceSetting
13222
+ * @example
13223
+ * // Get one DeviceSetting
13224
+ * const deviceSetting = await prisma.deviceSetting.findFirst({
13225
+ * where: {
13226
+ * // ... provide filter here
13227
+ * }
13228
+ * })
13229
+ */
13230
+ findFirst<T extends DeviceSettingFindFirstArgs>(args?: SelectSubset<T, DeviceSettingFindFirstArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
13231
+
13232
+ /**
13233
+ * Find the first DeviceSetting that matches the filter or
13234
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
13235
+ * Note, that providing `undefined` is treated as the value not being there.
13236
+ * Read more here: https://pris.ly/d/null-undefined
13237
+ * @param {DeviceSettingFindFirstOrThrowArgs} args - Arguments to find a DeviceSetting
13238
+ * @example
13239
+ * // Get one DeviceSetting
13240
+ * const deviceSetting = await prisma.deviceSetting.findFirstOrThrow({
13241
+ * where: {
13242
+ * // ... provide filter here
13243
+ * }
13244
+ * })
13245
+ */
13246
+ findFirstOrThrow<T extends DeviceSettingFindFirstOrThrowArgs>(args?: SelectSubset<T, DeviceSettingFindFirstOrThrowArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
13247
+
13248
+ /**
13249
+ * Find zero or more DeviceSettings that matches the filter.
13250
+ * Note, that providing `undefined` is treated as the value not being there.
13251
+ * Read more here: https://pris.ly/d/null-undefined
13252
+ * @param {DeviceSettingFindManyArgs} args - Arguments to filter and select certain fields only.
13253
+ * @example
13254
+ * // Get all DeviceSettings
13255
+ * const deviceSettings = await prisma.deviceSetting.findMany()
13256
+ *
13257
+ * // Get first 10 DeviceSettings
13258
+ * const deviceSettings = await prisma.deviceSetting.findMany({ take: 10 })
13259
+ *
13260
+ * // Only select the `udid`
13261
+ * const deviceSettingWithUdidOnly = await prisma.deviceSetting.findMany({ select: { udid: true } })
13262
+ *
13263
+ */
13264
+ findMany<T extends DeviceSettingFindManyArgs>(args?: SelectSubset<T, DeviceSettingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "findMany">>
13265
+
13266
+ /**
13267
+ * Create a DeviceSetting.
13268
+ * @param {DeviceSettingCreateArgs} args - Arguments to create a DeviceSetting.
13269
+ * @example
13270
+ * // Create one DeviceSetting
13271
+ * const DeviceSetting = await prisma.deviceSetting.create({
13272
+ * data: {
13273
+ * // ... data to create a DeviceSetting
13274
+ * }
13275
+ * })
13276
+ *
13277
+ */
13278
+ create<T extends DeviceSettingCreateArgs>(args: SelectSubset<T, DeviceSettingCreateArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "create">, never, ExtArgs>
13279
+
13280
+ /**
13281
+ * Create many DeviceSettings.
13282
+ * @param {DeviceSettingCreateManyArgs} args - Arguments to create many DeviceSettings.
13283
+ * @example
13284
+ * // Create many DeviceSettings
13285
+ * const deviceSetting = await prisma.deviceSetting.createMany({
13286
+ * data: [
13287
+ * // ... provide data here
13288
+ * ]
13289
+ * })
13290
+ *
13291
+ */
13292
+ createMany<T extends DeviceSettingCreateManyArgs>(args?: SelectSubset<T, DeviceSettingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
13293
+
13294
+ /**
13295
+ * Create many DeviceSettings and returns the data saved in the database.
13296
+ * @param {DeviceSettingCreateManyAndReturnArgs} args - Arguments to create many DeviceSettings.
13297
+ * @example
13298
+ * // Create many DeviceSettings
13299
+ * const deviceSetting = await prisma.deviceSetting.createManyAndReturn({
13300
+ * data: [
13301
+ * // ... provide data here
13302
+ * ]
13303
+ * })
13304
+ *
13305
+ * // Create many DeviceSettings and only return the `udid`
13306
+ * const deviceSettingWithUdidOnly = await prisma.deviceSetting.createManyAndReturn({
13307
+ * select: { udid: true },
13308
+ * data: [
13309
+ * // ... provide data here
13310
+ * ]
13311
+ * })
13312
+ * Note, that providing `undefined` is treated as the value not being there.
13313
+ * Read more here: https://pris.ly/d/null-undefined
13314
+ *
13315
+ */
13316
+ createManyAndReturn<T extends DeviceSettingCreateManyAndReturnArgs>(args?: SelectSubset<T, DeviceSettingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "createManyAndReturn">>
13317
+
13318
+ /**
13319
+ * Delete a DeviceSetting.
13320
+ * @param {DeviceSettingDeleteArgs} args - Arguments to delete one DeviceSetting.
13321
+ * @example
13322
+ * // Delete one DeviceSetting
13323
+ * const DeviceSetting = await prisma.deviceSetting.delete({
13324
+ * where: {
13325
+ * // ... filter to delete one DeviceSetting
13326
+ * }
13327
+ * })
13328
+ *
13329
+ */
13330
+ delete<T extends DeviceSettingDeleteArgs>(args: SelectSubset<T, DeviceSettingDeleteArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "delete">, never, ExtArgs>
13331
+
13332
+ /**
13333
+ * Update one DeviceSetting.
13334
+ * @param {DeviceSettingUpdateArgs} args - Arguments to update one DeviceSetting.
13335
+ * @example
13336
+ * // Update one DeviceSetting
13337
+ * const deviceSetting = await prisma.deviceSetting.update({
13338
+ * where: {
13339
+ * // ... provide filter here
13340
+ * },
13341
+ * data: {
13342
+ * // ... provide data here
13343
+ * }
13344
+ * })
13345
+ *
13346
+ */
13347
+ update<T extends DeviceSettingUpdateArgs>(args: SelectSubset<T, DeviceSettingUpdateArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "update">, never, ExtArgs>
13348
+
13349
+ /**
13350
+ * Delete zero or more DeviceSettings.
13351
+ * @param {DeviceSettingDeleteManyArgs} args - Arguments to filter DeviceSettings to delete.
13352
+ * @example
13353
+ * // Delete a few DeviceSettings
13354
+ * const { count } = await prisma.deviceSetting.deleteMany({
13355
+ * where: {
13356
+ * // ... provide filter here
13357
+ * }
13358
+ * })
13359
+ *
13360
+ */
13361
+ deleteMany<T extends DeviceSettingDeleteManyArgs>(args?: SelectSubset<T, DeviceSettingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
13362
+
13363
+ /**
13364
+ * Update zero or more DeviceSettings.
13365
+ * Note, that providing `undefined` is treated as the value not being there.
13366
+ * Read more here: https://pris.ly/d/null-undefined
13367
+ * @param {DeviceSettingUpdateManyArgs} args - Arguments to update one or more rows.
13368
+ * @example
13369
+ * // Update many DeviceSettings
13370
+ * const deviceSetting = await prisma.deviceSetting.updateMany({
13371
+ * where: {
13372
+ * // ... provide filter here
13373
+ * },
13374
+ * data: {
13375
+ * // ... provide data here
13376
+ * }
13377
+ * })
13378
+ *
13379
+ */
13380
+ updateMany<T extends DeviceSettingUpdateManyArgs>(args: SelectSubset<T, DeviceSettingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
13381
+
13382
+ /**
13383
+ * Create or update one DeviceSetting.
13384
+ * @param {DeviceSettingUpsertArgs} args - Arguments to update or create a DeviceSetting.
13385
+ * @example
13386
+ * // Update or create a DeviceSetting
13387
+ * const deviceSetting = await prisma.deviceSetting.upsert({
13388
+ * create: {
13389
+ * // ... data to create a DeviceSetting
13390
+ * },
13391
+ * update: {
13392
+ * // ... in case it already exists, update
13393
+ * },
13394
+ * where: {
13395
+ * // ... the filter for the DeviceSetting we want to update
13396
+ * }
13397
+ * })
13398
+ */
13399
+ upsert<T extends DeviceSettingUpsertArgs>(args: SelectSubset<T, DeviceSettingUpsertArgs<ExtArgs>>): Prisma__DeviceSettingClient<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
13400
+
13401
+
13402
+ /**
13403
+ * Count the number of DeviceSettings.
13404
+ * Note, that providing `undefined` is treated as the value not being there.
13405
+ * Read more here: https://pris.ly/d/null-undefined
13406
+ * @param {DeviceSettingCountArgs} args - Arguments to filter DeviceSettings to count.
13407
+ * @example
13408
+ * // Count the number of DeviceSettings
13409
+ * const count = await prisma.deviceSetting.count({
13410
+ * where: {
13411
+ * // ... the filter for the DeviceSettings we want to count
13412
+ * }
13413
+ * })
13414
+ **/
13415
+ count<T extends DeviceSettingCountArgs>(
13416
+ args?: Subset<T, DeviceSettingCountArgs>,
13417
+ ): Prisma.PrismaPromise<
13418
+ T extends $Utils.Record<'select', any>
13419
+ ? T['select'] extends true
13420
+ ? number
13421
+ : GetScalarType<T['select'], DeviceSettingCountAggregateOutputType>
13422
+ : number
13423
+ >
13424
+
13425
+ /**
13426
+ * Allows you to perform aggregations operations on a DeviceSetting.
13427
+ * Note, that providing `undefined` is treated as the value not being there.
13428
+ * Read more here: https://pris.ly/d/null-undefined
13429
+ * @param {DeviceSettingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
13430
+ * @example
13431
+ * // Ordered by age ascending
13432
+ * // Where email contains prisma.io
13433
+ * // Limited to the 10 users
13434
+ * const aggregations = await prisma.user.aggregate({
13435
+ * _avg: {
13436
+ * age: true,
13437
+ * },
13438
+ * where: {
13439
+ * email: {
13440
+ * contains: "prisma.io",
13441
+ * },
13442
+ * },
13443
+ * orderBy: {
13444
+ * age: "asc",
13445
+ * },
13446
+ * take: 10,
13447
+ * })
13448
+ **/
13449
+ aggregate<T extends DeviceSettingAggregateArgs>(args: Subset<T, DeviceSettingAggregateArgs>): Prisma.PrismaPromise<GetDeviceSettingAggregateType<T>>
13450
+
13451
+ /**
13452
+ * Group by DeviceSetting.
13453
+ * Note, that providing `undefined` is treated as the value not being there.
13454
+ * Read more here: https://pris.ly/d/null-undefined
13455
+ * @param {DeviceSettingGroupByArgs} args - Group by arguments.
13456
+ * @example
13457
+ * // Group by city, order by createdAt, get count
13458
+ * const result = await prisma.user.groupBy({
13459
+ * by: ['city', 'createdAt'],
13460
+ * orderBy: {
13461
+ * createdAt: true
13462
+ * },
13463
+ * _count: {
13464
+ * _all: true
13465
+ * },
13466
+ * })
13467
+ *
13468
+ **/
13469
+ groupBy<
13470
+ T extends DeviceSettingGroupByArgs,
13471
+ HasSelectOrTake extends Or<
13472
+ Extends<'skip', Keys<T>>,
13473
+ Extends<'take', Keys<T>>
13474
+ >,
13475
+ OrderByArg extends True extends HasSelectOrTake
13476
+ ? { orderBy: DeviceSettingGroupByArgs['orderBy'] }
13477
+ : { orderBy?: DeviceSettingGroupByArgs['orderBy'] },
13478
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
13479
+ ByFields extends MaybeTupleToUnion<T['by']>,
13480
+ ByValid extends Has<ByFields, OrderFields>,
13481
+ HavingFields extends GetHavingFields<T['having']>,
13482
+ HavingValid extends Has<ByFields, HavingFields>,
13483
+ ByEmpty extends T['by'] extends never[] ? True : False,
13484
+ InputErrors extends ByEmpty extends True
13485
+ ? `Error: "by" must not be empty.`
13486
+ : HavingValid extends False
13487
+ ? {
13488
+ [P in HavingFields]: P extends ByFields
13489
+ ? never
13490
+ : P extends string
13491
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
13492
+ : [
13493
+ Error,
13494
+ 'Field ',
13495
+ P,
13496
+ ` in "having" needs to be provided in "by"`,
13497
+ ]
13498
+ }[HavingFields]
13499
+ : 'take' extends Keys<T>
13500
+ ? 'orderBy' extends Keys<T>
13501
+ ? ByValid extends True
13502
+ ? {}
13503
+ : {
13504
+ [P in OrderFields]: P extends ByFields
13505
+ ? never
13506
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13507
+ }[OrderFields]
13508
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
13509
+ : 'skip' extends Keys<T>
13510
+ ? 'orderBy' extends Keys<T>
13511
+ ? ByValid extends True
13512
+ ? {}
13513
+ : {
13514
+ [P in OrderFields]: P extends ByFields
13515
+ ? never
13516
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13517
+ }[OrderFields]
13518
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
13519
+ : ByValid extends True
13520
+ ? {}
13521
+ : {
13522
+ [P in OrderFields]: P extends ByFields
13523
+ ? never
13524
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
13525
+ }[OrderFields]
13526
+ >(args: SubsetIntersection<T, DeviceSettingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeviceSettingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
13527
+ /**
13528
+ * Fields of the DeviceSetting model
13529
+ */
13530
+ readonly fields: DeviceSettingFieldRefs;
13531
+ }
13532
+
13533
+ /**
13534
+ * The delegate class that acts as a "Promise-like" for DeviceSetting.
13535
+ * Why is this prefixed with `Prisma__`?
13536
+ * Because we want to prevent naming conflicts as mentioned in
13537
+ * https://github.com/prisma/prisma-client-js/issues/707
13538
+ */
13539
+ export interface Prisma__DeviceSettingClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
13540
+ readonly [Symbol.toStringTag]: "PrismaPromise"
13541
+ team<T extends DeviceSetting$teamArgs<ExtArgs> = {}>(args?: Subset<T, DeviceSetting$teamArgs<ExtArgs>>): Prisma__TeamClient<$Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
13542
+ /**
13543
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
13544
+ * @param onfulfilled The callback to execute when the Promise is resolved.
13545
+ * @param onrejected The callback to execute when the Promise is rejected.
13546
+ * @returns A Promise for the completion of which ever callback is executed.
13547
+ */
13548
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
13549
+ /**
13550
+ * Attaches a callback for only the rejection of the Promise.
13551
+ * @param onrejected The callback to execute when the Promise is rejected.
13552
+ * @returns A Promise for the completion of the callback.
13553
+ */
13554
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
13555
+ /**
13556
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
13557
+ * resolved value cannot be modified from the callback.
13558
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
13559
+ * @returns A Promise for the completion of the callback.
13560
+ */
13561
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
13562
+ }
13563
+
13564
+
13565
+
13566
+
13567
+ /**
13568
+ * Fields of the DeviceSetting model
12373
13569
  */
12374
- interface DeviceFieldRefs {
12375
- readonly udid: FieldRef<"Device", 'String'>
12376
- readonly host: FieldRef<"Device", 'String'>
12377
- readonly systemPort: FieldRef<"Device", 'Int'>
12378
- readonly proxyPort: FieldRef<"Device", 'Int'>
12379
- readonly proxyHost: FieldRef<"Device", 'String'>
12380
- readonly wdaLocalPort: FieldRef<"Device", 'Int'>
12381
- readonly name: FieldRef<"Device", 'String'>
12382
- readonly state: FieldRef<"Device", 'String'>
12383
- readonly sdk: FieldRef<"Device", 'String'>
12384
- readonly platform: FieldRef<"Device", 'String'>
12385
- readonly deviceType: FieldRef<"Device", 'String'>
12386
- readonly busy: FieldRef<"Device", 'Boolean'>
12387
- readonly userBlocked: FieldRef<"Device", 'Boolean'>
12388
- readonly realDevice: FieldRef<"Device", 'Boolean'>
12389
- readonly session_id: FieldRef<"Device", 'String'>
12390
- readonly offline: FieldRef<"Device", 'Boolean'>
12391
- readonly mjpegServerPort: FieldRef<"Device", 'Int'>
12392
- readonly lastCmdExecutedAt: FieldRef<"Device", 'Float'>
12393
- readonly totalUtilizationTimeMilliSec: FieldRef<"Device", 'Float'>
12394
- readonly sessionStartTime: FieldRef<"Device", 'Float'>
12395
- readonly newCommandTimeout: FieldRef<"Device", 'Int'>
12396
- readonly cloud: FieldRef<"Device", 'String'>
12397
- readonly derivedDataPath: FieldRef<"Device", 'String'>
12398
- readonly chromeDriverPath: FieldRef<"Device", 'String'>
12399
- readonly capability: FieldRef<"Device", 'String'>
12400
- readonly adbRemoteHost: FieldRef<"Device", 'String'>
12401
- readonly adbPort: FieldRef<"Device", 'Int'>
12402
- readonly nodeId: FieldRef<"Device", 'String'>
12403
- readonly screenWidth: FieldRef<"Device", 'String'>
12404
- readonly screenHeight: FieldRef<"Device", 'String'>
12405
- readonly dashboard_link: FieldRef<"Device", 'String'>
12406
- readonly total_session_count: FieldRef<"Device", 'Int'>
12407
- readonly createdAt: FieldRef<"Device", 'DateTime'>
12408
- readonly updatedAt: FieldRef<"Device", 'DateTime'>
12409
- readonly healthCheckError: FieldRef<"Device", 'String'>
12410
- readonly healthStatus: FieldRef<"Device", 'String'>
12411
- readonly lastHealthCheckAt: FieldRef<"Device", 'Float'>
12412
- readonly batteryLevel: FieldRef<"Device", 'Int'>
12413
- readonly reservationReason: FieldRef<"Device", 'String'>
12414
- readonly reservedBy: FieldRef<"Device", 'String'>
12415
- readonly reservedByUserId: FieldRef<"Device", 'String'>
12416
- readonly reservedUntil: FieldRef<"Device", 'Float'>
12417
- readonly storageFree: FieldRef<"Device", 'String'>
12418
- readonly tags: FieldRef<"Device", 'String'>
12419
- readonly thermalStatus: FieldRef<"Device", 'String'>
12420
- readonly marketingName: FieldRef<"Device", 'String'>
12421
- readonly model: FieldRef<"Device", 'String'>
12422
- readonly manufacturer: FieldRef<"Device", 'String'>
12423
- readonly formFactor: FieldRef<"Device", 'String'>
12424
- readonly sessionProgress: FieldRef<"Device", 'String'>
12425
- readonly totalHealedCount: FieldRef<"Device", 'Int'>
12426
- readonly ip: FieldRef<"Device", 'String'>
12427
- readonly cpuArchitecture: FieldRef<"Device", 'String'>
12428
- readonly owningSessionId: FieldRef<"Device", 'String'>
12429
- readonly lockedAt: FieldRef<"Device", 'Float'>
12430
- readonly teamId: FieldRef<"Device", 'String'>
12431
- readonly claimSessionId: FieldRef<"Device", 'String'>
12432
- readonly claimedAt: FieldRef<"Device", 'Float'>
12433
- readonly nodeBusy: FieldRef<"Device", 'Boolean'>
12434
- readonly nodeHold: FieldRef<"Device", 'String'>
13570
+ interface DeviceSettingFieldRefs {
13571
+ readonly udid: FieldRef<"DeviceSetting", 'String'>
13572
+ readonly host: FieldRef<"DeviceSetting", 'String'>
13573
+ readonly teamId: FieldRef<"DeviceSetting", 'String'>
13574
+ readonly tags: FieldRef<"DeviceSetting", 'String'>
13575
+ readonly userBlocked: FieldRef<"DeviceSetting", 'Boolean'>
13576
+ readonly reservationReason: FieldRef<"DeviceSetting", 'String'>
13577
+ readonly reservedBy: FieldRef<"DeviceSetting", 'String'>
13578
+ readonly reservedByUserId: FieldRef<"DeviceSetting", 'String'>
13579
+ readonly reservedUntil: FieldRef<"DeviceSetting", 'Float'>
13580
+ readonly updatedAt: FieldRef<"DeviceSetting", 'DateTime'>
12435
13581
  }
12436
13582
 
12437
13583
 
12438
13584
  // Custom InputTypes
12439
13585
  /**
12440
- * Device findUnique
13586
+ * DeviceSetting findUnique
12441
13587
  */
12442
- export type DeviceFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13588
+ export type DeviceSettingFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12443
13589
  /**
12444
- * Select specific fields to fetch from the Device
13590
+ * Select specific fields to fetch from the DeviceSetting
12445
13591
  */
12446
- select?: DeviceSelect<ExtArgs> | null
13592
+ select?: DeviceSettingSelect<ExtArgs> | null
12447
13593
  /**
12448
13594
  * Choose, which related nodes to fetch as well
12449
13595
  */
12450
- include?: DeviceInclude<ExtArgs> | null
13596
+ include?: DeviceSettingInclude<ExtArgs> | null
12451
13597
  /**
12452
- * Filter, which Device to fetch.
13598
+ * Filter, which DeviceSetting to fetch.
12453
13599
  */
12454
- where: DeviceWhereUniqueInput
13600
+ where: DeviceSettingWhereUniqueInput
12455
13601
  }
12456
13602
 
12457
13603
  /**
12458
- * Device findUniqueOrThrow
13604
+ * DeviceSetting findUniqueOrThrow
12459
13605
  */
12460
- export type DeviceFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13606
+ export type DeviceSettingFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12461
13607
  /**
12462
- * Select specific fields to fetch from the Device
13608
+ * Select specific fields to fetch from the DeviceSetting
12463
13609
  */
12464
- select?: DeviceSelect<ExtArgs> | null
13610
+ select?: DeviceSettingSelect<ExtArgs> | null
12465
13611
  /**
12466
13612
  * Choose, which related nodes to fetch as well
12467
13613
  */
12468
- include?: DeviceInclude<ExtArgs> | null
13614
+ include?: DeviceSettingInclude<ExtArgs> | null
12469
13615
  /**
12470
- * Filter, which Device to fetch.
13616
+ * Filter, which DeviceSetting to fetch.
12471
13617
  */
12472
- where: DeviceWhereUniqueInput
13618
+ where: DeviceSettingWhereUniqueInput
12473
13619
  }
12474
13620
 
12475
13621
  /**
12476
- * Device findFirst
13622
+ * DeviceSetting findFirst
12477
13623
  */
12478
- export type DeviceFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13624
+ export type DeviceSettingFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12479
13625
  /**
12480
- * Select specific fields to fetch from the Device
13626
+ * Select specific fields to fetch from the DeviceSetting
12481
13627
  */
12482
- select?: DeviceSelect<ExtArgs> | null
13628
+ select?: DeviceSettingSelect<ExtArgs> | null
12483
13629
  /**
12484
13630
  * Choose, which related nodes to fetch as well
12485
13631
  */
12486
- include?: DeviceInclude<ExtArgs> | null
13632
+ include?: DeviceSettingInclude<ExtArgs> | null
12487
13633
  /**
12488
- * Filter, which Device to fetch.
13634
+ * Filter, which DeviceSetting to fetch.
12489
13635
  */
12490
- where?: DeviceWhereInput
13636
+ where?: DeviceSettingWhereInput
12491
13637
  /**
12492
13638
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12493
13639
  *
12494
- * Determine the order of Devices to fetch.
13640
+ * Determine the order of DeviceSettings to fetch.
12495
13641
  */
12496
- orderBy?: DeviceOrderByWithRelationInput | DeviceOrderByWithRelationInput[]
13642
+ orderBy?: DeviceSettingOrderByWithRelationInput | DeviceSettingOrderByWithRelationInput[]
12497
13643
  /**
12498
13644
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12499
13645
  *
12500
- * Sets the position for searching for Devices.
13646
+ * Sets the position for searching for DeviceSettings.
12501
13647
  */
12502
- cursor?: DeviceWhereUniqueInput
13648
+ cursor?: DeviceSettingWhereUniqueInput
12503
13649
  /**
12504
13650
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12505
13651
  *
12506
- * Take `±n` Devices from the position of the cursor.
13652
+ * Take `±n` DeviceSettings from the position of the cursor.
12507
13653
  */
12508
13654
  take?: number
12509
13655
  /**
12510
13656
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12511
13657
  *
12512
- * Skip the first `n` Devices.
13658
+ * Skip the first `n` DeviceSettings.
12513
13659
  */
12514
13660
  skip?: number
12515
13661
  /**
12516
13662
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12517
13663
  *
12518
- * Filter by unique combinations of Devices.
13664
+ * Filter by unique combinations of DeviceSettings.
12519
13665
  */
12520
- distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
13666
+ distinct?: DeviceSettingScalarFieldEnum | DeviceSettingScalarFieldEnum[]
12521
13667
  }
12522
13668
 
12523
13669
  /**
12524
- * Device findFirstOrThrow
13670
+ * DeviceSetting findFirstOrThrow
12525
13671
  */
12526
- export type DeviceFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13672
+ export type DeviceSettingFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12527
13673
  /**
12528
- * Select specific fields to fetch from the Device
13674
+ * Select specific fields to fetch from the DeviceSetting
12529
13675
  */
12530
- select?: DeviceSelect<ExtArgs> | null
13676
+ select?: DeviceSettingSelect<ExtArgs> | null
12531
13677
  /**
12532
13678
  * Choose, which related nodes to fetch as well
12533
13679
  */
12534
- include?: DeviceInclude<ExtArgs> | null
13680
+ include?: DeviceSettingInclude<ExtArgs> | null
12535
13681
  /**
12536
- * Filter, which Device to fetch.
13682
+ * Filter, which DeviceSetting to fetch.
12537
13683
  */
12538
- where?: DeviceWhereInput
13684
+ where?: DeviceSettingWhereInput
12539
13685
  /**
12540
13686
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12541
13687
  *
12542
- * Determine the order of Devices to fetch.
13688
+ * Determine the order of DeviceSettings to fetch.
12543
13689
  */
12544
- orderBy?: DeviceOrderByWithRelationInput | DeviceOrderByWithRelationInput[]
13690
+ orderBy?: DeviceSettingOrderByWithRelationInput | DeviceSettingOrderByWithRelationInput[]
12545
13691
  /**
12546
13692
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12547
13693
  *
12548
- * Sets the position for searching for Devices.
13694
+ * Sets the position for searching for DeviceSettings.
12549
13695
  */
12550
- cursor?: DeviceWhereUniqueInput
13696
+ cursor?: DeviceSettingWhereUniqueInput
12551
13697
  /**
12552
13698
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12553
13699
  *
12554
- * Take `±n` Devices from the position of the cursor.
13700
+ * Take `±n` DeviceSettings from the position of the cursor.
12555
13701
  */
12556
13702
  take?: number
12557
13703
  /**
12558
13704
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12559
13705
  *
12560
- * Skip the first `n` Devices.
13706
+ * Skip the first `n` DeviceSettings.
12561
13707
  */
12562
13708
  skip?: number
12563
13709
  /**
12564
13710
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
12565
13711
  *
12566
- * Filter by unique combinations of Devices.
13712
+ * Filter by unique combinations of DeviceSettings.
12567
13713
  */
12568
- distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
13714
+ distinct?: DeviceSettingScalarFieldEnum | DeviceSettingScalarFieldEnum[]
12569
13715
  }
12570
13716
 
12571
13717
  /**
12572
- * Device findMany
13718
+ * DeviceSetting findMany
12573
13719
  */
12574
- export type DeviceFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13720
+ export type DeviceSettingFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12575
13721
  /**
12576
- * Select specific fields to fetch from the Device
13722
+ * Select specific fields to fetch from the DeviceSetting
12577
13723
  */
12578
- select?: DeviceSelect<ExtArgs> | null
13724
+ select?: DeviceSettingSelect<ExtArgs> | null
12579
13725
  /**
12580
13726
  * Choose, which related nodes to fetch as well
12581
13727
  */
12582
- include?: DeviceInclude<ExtArgs> | null
13728
+ include?: DeviceSettingInclude<ExtArgs> | null
12583
13729
  /**
12584
- * Filter, which Devices to fetch.
13730
+ * Filter, which DeviceSettings to fetch.
12585
13731
  */
12586
- where?: DeviceWhereInput
13732
+ where?: DeviceSettingWhereInput
12587
13733
  /**
12588
13734
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
12589
13735
  *
12590
- * Determine the order of Devices to fetch.
13736
+ * Determine the order of DeviceSettings to fetch.
12591
13737
  */
12592
- orderBy?: DeviceOrderByWithRelationInput | DeviceOrderByWithRelationInput[]
13738
+ orderBy?: DeviceSettingOrderByWithRelationInput | DeviceSettingOrderByWithRelationInput[]
12593
13739
  /**
12594
13740
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
12595
13741
  *
12596
- * Sets the position for listing Devices.
13742
+ * Sets the position for listing DeviceSettings.
12597
13743
  */
12598
- cursor?: DeviceWhereUniqueInput
13744
+ cursor?: DeviceSettingWhereUniqueInput
12599
13745
  /**
12600
13746
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12601
13747
  *
12602
- * Take `±n` Devices from the position of the cursor.
13748
+ * Take `±n` DeviceSettings from the position of the cursor.
12603
13749
  */
12604
13750
  take?: number
12605
13751
  /**
12606
13752
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
12607
13753
  *
12608
- * Skip the first `n` Devices.
13754
+ * Skip the first `n` DeviceSettings.
12609
13755
  */
12610
13756
  skip?: number
12611
- distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
13757
+ distinct?: DeviceSettingScalarFieldEnum | DeviceSettingScalarFieldEnum[]
12612
13758
  }
12613
13759
 
12614
13760
  /**
12615
- * Device create
13761
+ * DeviceSetting create
12616
13762
  */
12617
- export type DeviceCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13763
+ export type DeviceSettingCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12618
13764
  /**
12619
- * Select specific fields to fetch from the Device
13765
+ * Select specific fields to fetch from the DeviceSetting
12620
13766
  */
12621
- select?: DeviceSelect<ExtArgs> | null
13767
+ select?: DeviceSettingSelect<ExtArgs> | null
12622
13768
  /**
12623
13769
  * Choose, which related nodes to fetch as well
12624
13770
  */
12625
- include?: DeviceInclude<ExtArgs> | null
13771
+ include?: DeviceSettingInclude<ExtArgs> | null
12626
13772
  /**
12627
- * The data needed to create a Device.
13773
+ * The data needed to create a DeviceSetting.
12628
13774
  */
12629
- data: XOR<DeviceCreateInput, DeviceUncheckedCreateInput>
13775
+ data: XOR<DeviceSettingCreateInput, DeviceSettingUncheckedCreateInput>
12630
13776
  }
12631
13777
 
12632
13778
  /**
12633
- * Device createMany
13779
+ * DeviceSetting createMany
12634
13780
  */
12635
- export type DeviceCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13781
+ export type DeviceSettingCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12636
13782
  /**
12637
- * The data used to create many Devices.
13783
+ * The data used to create many DeviceSettings.
12638
13784
  */
12639
- data: DeviceCreateManyInput | DeviceCreateManyInput[]
13785
+ data: DeviceSettingCreateManyInput | DeviceSettingCreateManyInput[]
12640
13786
  }
12641
13787
 
12642
13788
  /**
12643
- * Device createManyAndReturn
13789
+ * DeviceSetting createManyAndReturn
12644
13790
  */
12645
- export type DeviceCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13791
+ export type DeviceSettingCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12646
13792
  /**
12647
- * Select specific fields to fetch from the Device
13793
+ * Select specific fields to fetch from the DeviceSetting
12648
13794
  */
12649
- select?: DeviceSelectCreateManyAndReturn<ExtArgs> | null
13795
+ select?: DeviceSettingSelectCreateManyAndReturn<ExtArgs> | null
12650
13796
  /**
12651
- * The data used to create many Devices.
13797
+ * The data used to create many DeviceSettings.
12652
13798
  */
12653
- data: DeviceCreateManyInput | DeviceCreateManyInput[]
13799
+ data: DeviceSettingCreateManyInput | DeviceSettingCreateManyInput[]
12654
13800
  /**
12655
13801
  * Choose, which related nodes to fetch as well
12656
13802
  */
12657
- include?: DeviceIncludeCreateManyAndReturn<ExtArgs> | null
13803
+ include?: DeviceSettingIncludeCreateManyAndReturn<ExtArgs> | null
12658
13804
  }
12659
13805
 
12660
13806
  /**
12661
- * Device update
13807
+ * DeviceSetting update
12662
13808
  */
12663
- export type DeviceUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13809
+ export type DeviceSettingUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12664
13810
  /**
12665
- * Select specific fields to fetch from the Device
13811
+ * Select specific fields to fetch from the DeviceSetting
12666
13812
  */
12667
- select?: DeviceSelect<ExtArgs> | null
13813
+ select?: DeviceSettingSelect<ExtArgs> | null
12668
13814
  /**
12669
13815
  * Choose, which related nodes to fetch as well
12670
13816
  */
12671
- include?: DeviceInclude<ExtArgs> | null
13817
+ include?: DeviceSettingInclude<ExtArgs> | null
12672
13818
  /**
12673
- * The data needed to update a Device.
13819
+ * The data needed to update a DeviceSetting.
12674
13820
  */
12675
- data: XOR<DeviceUpdateInput, DeviceUncheckedUpdateInput>
13821
+ data: XOR<DeviceSettingUpdateInput, DeviceSettingUncheckedUpdateInput>
12676
13822
  /**
12677
- * Choose, which Device to update.
13823
+ * Choose, which DeviceSetting to update.
12678
13824
  */
12679
- where: DeviceWhereUniqueInput
13825
+ where: DeviceSettingWhereUniqueInput
12680
13826
  }
12681
13827
 
12682
13828
  /**
12683
- * Device updateMany
13829
+ * DeviceSetting updateMany
12684
13830
  */
12685
- export type DeviceUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13831
+ export type DeviceSettingUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12686
13832
  /**
12687
- * The data used to update Devices.
13833
+ * The data used to update DeviceSettings.
12688
13834
  */
12689
- data: XOR<DeviceUpdateManyMutationInput, DeviceUncheckedUpdateManyInput>
13835
+ data: XOR<DeviceSettingUpdateManyMutationInput, DeviceSettingUncheckedUpdateManyInput>
12690
13836
  /**
12691
- * Filter which Devices to update
13837
+ * Filter which DeviceSettings to update
12692
13838
  */
12693
- where?: DeviceWhereInput
13839
+ where?: DeviceSettingWhereInput
12694
13840
  }
12695
13841
 
12696
13842
  /**
12697
- * Device upsert
13843
+ * DeviceSetting upsert
12698
13844
  */
12699
- export type DeviceUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13845
+ export type DeviceSettingUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12700
13846
  /**
12701
- * Select specific fields to fetch from the Device
13847
+ * Select specific fields to fetch from the DeviceSetting
12702
13848
  */
12703
- select?: DeviceSelect<ExtArgs> | null
13849
+ select?: DeviceSettingSelect<ExtArgs> | null
12704
13850
  /**
12705
13851
  * Choose, which related nodes to fetch as well
12706
13852
  */
12707
- include?: DeviceInclude<ExtArgs> | null
13853
+ include?: DeviceSettingInclude<ExtArgs> | null
12708
13854
  /**
12709
- * The filter to search for the Device to update in case it exists.
13855
+ * The filter to search for the DeviceSetting to update in case it exists.
12710
13856
  */
12711
- where: DeviceWhereUniqueInput
13857
+ where: DeviceSettingWhereUniqueInput
12712
13858
  /**
12713
- * In case the Device found by the `where` argument doesn't exist, create a new Device with this data.
13859
+ * In case the DeviceSetting found by the `where` argument doesn't exist, create a new DeviceSetting with this data.
12714
13860
  */
12715
- create: XOR<DeviceCreateInput, DeviceUncheckedCreateInput>
13861
+ create: XOR<DeviceSettingCreateInput, DeviceSettingUncheckedCreateInput>
12716
13862
  /**
12717
- * In case the Device was found with the provided `where` argument, update it with this data.
13863
+ * In case the DeviceSetting was found with the provided `where` argument, update it with this data.
12718
13864
  */
12719
- update: XOR<DeviceUpdateInput, DeviceUncheckedUpdateInput>
13865
+ update: XOR<DeviceSettingUpdateInput, DeviceSettingUncheckedUpdateInput>
12720
13866
  }
12721
13867
 
12722
13868
  /**
12723
- * Device delete
13869
+ * DeviceSetting delete
12724
13870
  */
12725
- export type DeviceDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13871
+ export type DeviceSettingDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12726
13872
  /**
12727
- * Select specific fields to fetch from the Device
13873
+ * Select specific fields to fetch from the DeviceSetting
12728
13874
  */
12729
- select?: DeviceSelect<ExtArgs> | null
13875
+ select?: DeviceSettingSelect<ExtArgs> | null
12730
13876
  /**
12731
13877
  * Choose, which related nodes to fetch as well
12732
13878
  */
12733
- include?: DeviceInclude<ExtArgs> | null
13879
+ include?: DeviceSettingInclude<ExtArgs> | null
12734
13880
  /**
12735
- * Filter which Device to delete.
13881
+ * Filter which DeviceSetting to delete.
12736
13882
  */
12737
- where: DeviceWhereUniqueInput
13883
+ where: DeviceSettingWhereUniqueInput
12738
13884
  }
12739
13885
 
12740
13886
  /**
12741
- * Device deleteMany
13887
+ * DeviceSetting deleteMany
12742
13888
  */
12743
- export type DeviceDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13889
+ export type DeviceSettingDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12744
13890
  /**
12745
- * Filter which Devices to delete
13891
+ * Filter which DeviceSettings to delete
12746
13892
  */
12747
- where?: DeviceWhereInput
13893
+ where?: DeviceSettingWhereInput
12748
13894
  }
12749
13895
 
12750
13896
  /**
12751
- * Device.team
13897
+ * DeviceSetting.team
12752
13898
  */
12753
- export type Device$teamArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13899
+ export type DeviceSetting$teamArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12754
13900
  /**
12755
13901
  * Select specific fields to fetch from the Team
12756
13902
  */
@@ -12763,17 +13909,17 @@ export namespace Prisma {
12763
13909
  }
12764
13910
 
12765
13911
  /**
12766
- * Device without action
13912
+ * DeviceSetting without action
12767
13913
  */
12768
- export type DeviceDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
13914
+ export type DeviceSettingDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
12769
13915
  /**
12770
- * Select specific fields to fetch from the Device
13916
+ * Select specific fields to fetch from the DeviceSetting
12771
13917
  */
12772
- select?: DeviceSelect<ExtArgs> | null
13918
+ select?: DeviceSettingSelect<ExtArgs> | null
12773
13919
  /**
12774
13920
  * Choose, which related nodes to fetch as well
12775
13921
  */
12776
- include?: DeviceInclude<ExtArgs> | null
13922
+ include?: DeviceSettingInclude<ExtArgs> | null
12777
13923
  }
12778
13924
 
12779
13925
 
@@ -16369,6 +17515,7 @@ export namespace Prisma {
16369
17515
  strategy: string | null
16370
17516
  attributes: string | null
16371
17517
  nodeName: string | null
17518
+ path: string | null
16372
17519
  lastSeen: Date | null
16373
17520
  createdAt: Date | null
16374
17521
  updatedAt: Date | null
@@ -16380,6 +17527,7 @@ export namespace Prisma {
16380
17527
  strategy: string | null
16381
17528
  attributes: string | null
16382
17529
  nodeName: string | null
17530
+ path: string | null
16383
17531
  lastSeen: Date | null
16384
17532
  createdAt: Date | null
16385
17533
  updatedAt: Date | null
@@ -16391,6 +17539,7 @@ export namespace Prisma {
16391
17539
  strategy: number
16392
17540
  attributes: number
16393
17541
  nodeName: number
17542
+ path: number
16394
17543
  lastSeen: number
16395
17544
  createdAt: number
16396
17545
  updatedAt: number
@@ -16404,6 +17553,7 @@ export namespace Prisma {
16404
17553
  strategy?: true
16405
17554
  attributes?: true
16406
17555
  nodeName?: true
17556
+ path?: true
16407
17557
  lastSeen?: true
16408
17558
  createdAt?: true
16409
17559
  updatedAt?: true
@@ -16415,6 +17565,7 @@ export namespace Prisma {
16415
17565
  strategy?: true
16416
17566
  attributes?: true
16417
17567
  nodeName?: true
17568
+ path?: true
16418
17569
  lastSeen?: true
16419
17570
  createdAt?: true
16420
17571
  updatedAt?: true
@@ -16426,6 +17577,7 @@ export namespace Prisma {
16426
17577
  strategy?: true
16427
17578
  attributes?: true
16428
17579
  nodeName?: true
17580
+ path?: true
16429
17581
  lastSeen?: true
16430
17582
  createdAt?: true
16431
17583
  updatedAt?: true
@@ -16510,6 +17662,7 @@ export namespace Prisma {
16510
17662
  strategy: string
16511
17663
  attributes: string
16512
17664
  nodeName: string
17665
+ path: string | null
16513
17666
  lastSeen: Date
16514
17667
  createdAt: Date
16515
17668
  updatedAt: Date
@@ -16538,6 +17691,7 @@ export namespace Prisma {
16538
17691
  strategy?: boolean
16539
17692
  attributes?: boolean
16540
17693
  nodeName?: boolean
17694
+ path?: boolean
16541
17695
  lastSeen?: boolean
16542
17696
  createdAt?: boolean
16543
17697
  updatedAt?: boolean
@@ -16549,6 +17703,7 @@ export namespace Prisma {
16549
17703
  strategy?: boolean
16550
17704
  attributes?: boolean
16551
17705
  nodeName?: boolean
17706
+ path?: boolean
16552
17707
  lastSeen?: boolean
16553
17708
  createdAt?: boolean
16554
17709
  updatedAt?: boolean
@@ -16560,6 +17715,7 @@ export namespace Prisma {
16560
17715
  strategy?: boolean
16561
17716
  attributes?: boolean
16562
17717
  nodeName?: boolean
17718
+ path?: boolean
16563
17719
  lastSeen?: boolean
16564
17720
  createdAt?: boolean
16565
17721
  updatedAt?: boolean
@@ -16575,6 +17731,11 @@ export namespace Prisma {
16575
17731
  strategy: string
16576
17732
  attributes: string
16577
17733
  nodeName: string
17734
+ /**
17735
+ * The element's path through the page source when the selector last
17736
+ * worked (JSON, resilioPath.ts), for the Resilio healing tier.
17737
+ */
17738
+ path: string | null
16578
17739
  lastSeen: Date
16579
17740
  createdAt: Date
16580
17741
  updatedAt: Date
@@ -16976,6 +18137,7 @@ export namespace Prisma {
16976
18137
  readonly strategy: FieldRef<"LocatorEtalon", 'String'>
16977
18138
  readonly attributes: FieldRef<"LocatorEtalon", 'String'>
16978
18139
  readonly nodeName: FieldRef<"LocatorEtalon", 'String'>
18140
+ readonly path: FieldRef<"LocatorEtalon", 'String'>
16979
18141
  readonly lastSeen: FieldRef<"LocatorEtalon", 'DateTime'>
16980
18142
  readonly createdAt: FieldRef<"LocatorEtalon", 'DateTime'>
16981
18143
  readonly updatedAt: FieldRef<"LocatorEtalon", 'DateTime'>
@@ -20480,6 +21642,7 @@ export namespace Prisma {
20480
21642
  name?: boolean
20481
21643
  createdAt?: boolean
20482
21644
  devices?: boolean | Team$devicesArgs<ExtArgs>
21645
+ deviceSettings?: boolean | Team$deviceSettingsArgs<ExtArgs>
20483
21646
  apiKeys?: boolean | Team$apiKeysArgs<ExtArgs>
20484
21647
  members?: boolean | Team$membersArgs<ExtArgs>
20485
21648
  apps?: boolean | Team$appsArgs<ExtArgs>
@@ -20500,6 +21663,7 @@ export namespace Prisma {
20500
21663
 
20501
21664
  export type TeamInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20502
21665
  devices?: boolean | Team$devicesArgs<ExtArgs>
21666
+ deviceSettings?: boolean | Team$deviceSettingsArgs<ExtArgs>
20503
21667
  apiKeys?: boolean | Team$apiKeysArgs<ExtArgs>
20504
21668
  members?: boolean | Team$membersArgs<ExtArgs>
20505
21669
  apps?: boolean | Team$appsArgs<ExtArgs>
@@ -20511,6 +21675,7 @@ export namespace Prisma {
20511
21675
  name: "Team"
20512
21676
  objects: {
20513
21677
  devices: Prisma.$DevicePayload<ExtArgs>[]
21678
+ deviceSettings: Prisma.$DeviceSettingPayload<ExtArgs>[]
20514
21679
  apiKeys: Prisma.$ApiKeyPayload<ExtArgs>[]
20515
21680
  members: Prisma.$TeamMemberPayload<ExtArgs>[]
20516
21681
  apps: Prisma.$AppPayload<ExtArgs>[]
@@ -20884,6 +22049,7 @@ export namespace Prisma {
20884
22049
  export interface Prisma__TeamClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
20885
22050
  readonly [Symbol.toStringTag]: "PrismaPromise"
20886
22051
  devices<T extends Team$devicesArgs<ExtArgs> = {}>(args?: Subset<T, Team$devicesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findMany"> | Null>
22052
+ deviceSettings<T extends Team$deviceSettingsArgs<ExtArgs> = {}>(args?: Subset<T, Team$deviceSettingsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "findMany"> | Null>
20887
22053
  apiKeys<T extends Team$apiKeysArgs<ExtArgs> = {}>(args?: Subset<T, Team$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany"> | Null>
20888
22054
  members<T extends Team$membersArgs<ExtArgs> = {}>(args?: Subset<T, Team$membersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TeamMemberPayload<ExtArgs>, T, "findMany"> | Null>
20889
22055
  apps<T extends Team$appsArgs<ExtArgs> = {}>(args?: Subset<T, Team$appsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findMany"> | Null>
@@ -21250,6 +22416,26 @@ export namespace Prisma {
21250
22416
  distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
21251
22417
  }
21252
22418
 
22419
+ /**
22420
+ * Team.deviceSettings
22421
+ */
22422
+ export type Team$deviceSettingsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22423
+ /**
22424
+ * Select specific fields to fetch from the DeviceSetting
22425
+ */
22426
+ select?: DeviceSettingSelect<ExtArgs> | null
22427
+ /**
22428
+ * Choose, which related nodes to fetch as well
22429
+ */
22430
+ include?: DeviceSettingInclude<ExtArgs> | null
22431
+ where?: DeviceSettingWhereInput
22432
+ orderBy?: DeviceSettingOrderByWithRelationInput | DeviceSettingOrderByWithRelationInput[]
22433
+ cursor?: DeviceSettingWhereUniqueInput
22434
+ take?: number
22435
+ skip?: number
22436
+ distinct?: DeviceSettingScalarFieldEnum | DeviceSettingScalarFieldEnum[]
22437
+ }
22438
+
21253
22439
  /**
21254
22440
  * Team.apiKeys
21255
22441
  */
@@ -32269,6 +33455,22 @@ export namespace Prisma {
32269
33455
  export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof DeviceScalarFieldEnum]
32270
33456
 
32271
33457
 
33458
+ export const DeviceSettingScalarFieldEnum: {
33459
+ udid: 'udid',
33460
+ host: 'host',
33461
+ teamId: 'teamId',
33462
+ tags: 'tags',
33463
+ userBlocked: 'userBlocked',
33464
+ reservationReason: 'reservationReason',
33465
+ reservedBy: 'reservedBy',
33466
+ reservedByUserId: 'reservedByUserId',
33467
+ reservedUntil: 'reservedUntil',
33468
+ updatedAt: 'updatedAt'
33469
+ };
33470
+
33471
+ export type DeviceSettingScalarFieldEnum = (typeof DeviceSettingScalarFieldEnum)[keyof typeof DeviceSettingScalarFieldEnum]
33472
+
33473
+
32272
33474
  export const PendingSessionScalarFieldEnum: {
32273
33475
  id: 'id',
32274
33476
  capability_id: 'capability_id',
@@ -32319,6 +33521,7 @@ export namespace Prisma {
32319
33521
  strategy: 'strategy',
32320
33522
  attributes: 'attributes',
32321
33523
  nodeName: 'nodeName',
33524
+ path: 'path',
32322
33525
  lastSeen: 'lastSeen',
32323
33526
  createdAt: 'createdAt',
32324
33527
  updatedAt: 'updatedAt'
@@ -33665,6 +34868,89 @@ export namespace Prisma {
33665
34868
  nodeHold?: StringNullableWithAggregatesFilter<"Device"> | string | null
33666
34869
  }
33667
34870
 
34871
+ export type DeviceSettingWhereInput = {
34872
+ AND?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34873
+ OR?: DeviceSettingWhereInput[]
34874
+ NOT?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34875
+ udid?: StringFilter<"DeviceSetting"> | string
34876
+ host?: StringFilter<"DeviceSetting"> | string
34877
+ teamId?: StringNullableFilter<"DeviceSetting"> | string | null
34878
+ tags?: StringNullableFilter<"DeviceSetting"> | string | null
34879
+ userBlocked?: BoolFilter<"DeviceSetting"> | boolean
34880
+ reservationReason?: StringNullableFilter<"DeviceSetting"> | string | null
34881
+ reservedBy?: StringNullableFilter<"DeviceSetting"> | string | null
34882
+ reservedByUserId?: StringNullableFilter<"DeviceSetting"> | string | null
34883
+ reservedUntil?: FloatNullableFilter<"DeviceSetting"> | number | null
34884
+ updatedAt?: DateTimeFilter<"DeviceSetting"> | Date | string
34885
+ team?: XOR<TeamNullableRelationFilter, TeamWhereInput> | null
34886
+ }
34887
+
34888
+ export type DeviceSettingOrderByWithRelationInput = {
34889
+ udid?: SortOrder
34890
+ host?: SortOrder
34891
+ teamId?: SortOrderInput | SortOrder
34892
+ tags?: SortOrderInput | SortOrder
34893
+ userBlocked?: SortOrder
34894
+ reservationReason?: SortOrderInput | SortOrder
34895
+ reservedBy?: SortOrderInput | SortOrder
34896
+ reservedByUserId?: SortOrderInput | SortOrder
34897
+ reservedUntil?: SortOrderInput | SortOrder
34898
+ updatedAt?: SortOrder
34899
+ team?: TeamOrderByWithRelationInput
34900
+ }
34901
+
34902
+ export type DeviceSettingWhereUniqueInput = Prisma.AtLeast<{
34903
+ udid_host?: DeviceSettingUdidHostCompoundUniqueInput
34904
+ AND?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34905
+ OR?: DeviceSettingWhereInput[]
34906
+ NOT?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34907
+ udid?: StringFilter<"DeviceSetting"> | string
34908
+ host?: StringFilter<"DeviceSetting"> | string
34909
+ teamId?: StringNullableFilter<"DeviceSetting"> | string | null
34910
+ tags?: StringNullableFilter<"DeviceSetting"> | string | null
34911
+ userBlocked?: BoolFilter<"DeviceSetting"> | boolean
34912
+ reservationReason?: StringNullableFilter<"DeviceSetting"> | string | null
34913
+ reservedBy?: StringNullableFilter<"DeviceSetting"> | string | null
34914
+ reservedByUserId?: StringNullableFilter<"DeviceSetting"> | string | null
34915
+ reservedUntil?: FloatNullableFilter<"DeviceSetting"> | number | null
34916
+ updatedAt?: DateTimeFilter<"DeviceSetting"> | Date | string
34917
+ team?: XOR<TeamNullableRelationFilter, TeamWhereInput> | null
34918
+ }, "udid_host">
34919
+
34920
+ export type DeviceSettingOrderByWithAggregationInput = {
34921
+ udid?: SortOrder
34922
+ host?: SortOrder
34923
+ teamId?: SortOrderInput | SortOrder
34924
+ tags?: SortOrderInput | SortOrder
34925
+ userBlocked?: SortOrder
34926
+ reservationReason?: SortOrderInput | SortOrder
34927
+ reservedBy?: SortOrderInput | SortOrder
34928
+ reservedByUserId?: SortOrderInput | SortOrder
34929
+ reservedUntil?: SortOrderInput | SortOrder
34930
+ updatedAt?: SortOrder
34931
+ _count?: DeviceSettingCountOrderByAggregateInput
34932
+ _avg?: DeviceSettingAvgOrderByAggregateInput
34933
+ _max?: DeviceSettingMaxOrderByAggregateInput
34934
+ _min?: DeviceSettingMinOrderByAggregateInput
34935
+ _sum?: DeviceSettingSumOrderByAggregateInput
34936
+ }
34937
+
34938
+ export type DeviceSettingScalarWhereWithAggregatesInput = {
34939
+ AND?: DeviceSettingScalarWhereWithAggregatesInput | DeviceSettingScalarWhereWithAggregatesInput[]
34940
+ OR?: DeviceSettingScalarWhereWithAggregatesInput[]
34941
+ NOT?: DeviceSettingScalarWhereWithAggregatesInput | DeviceSettingScalarWhereWithAggregatesInput[]
34942
+ udid?: StringWithAggregatesFilter<"DeviceSetting"> | string
34943
+ host?: StringWithAggregatesFilter<"DeviceSetting"> | string
34944
+ teamId?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34945
+ tags?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34946
+ userBlocked?: BoolWithAggregatesFilter<"DeviceSetting"> | boolean
34947
+ reservationReason?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34948
+ reservedBy?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34949
+ reservedByUserId?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34950
+ reservedUntil?: FloatNullableWithAggregatesFilter<"DeviceSetting"> | number | null
34951
+ updatedAt?: DateTimeWithAggregatesFilter<"DeviceSetting"> | Date | string
34952
+ }
34953
+
33668
34954
  export type PendingSessionWhereInput = {
33669
34955
  AND?: PendingSessionWhereInput | PendingSessionWhereInput[]
33670
34956
  OR?: PendingSessionWhereInput[]
@@ -33886,6 +35172,7 @@ export namespace Prisma {
33886
35172
  strategy?: StringFilter<"LocatorEtalon"> | string
33887
35173
  attributes?: StringFilter<"LocatorEtalon"> | string
33888
35174
  nodeName?: StringFilter<"LocatorEtalon"> | string
35175
+ path?: StringNullableFilter<"LocatorEtalon"> | string | null
33889
35176
  lastSeen?: DateTimeFilter<"LocatorEtalon"> | Date | string
33890
35177
  createdAt?: DateTimeFilter<"LocatorEtalon"> | Date | string
33891
35178
  updatedAt?: DateTimeFilter<"LocatorEtalon"> | Date | string
@@ -33897,6 +35184,7 @@ export namespace Prisma {
33897
35184
  strategy?: SortOrder
33898
35185
  attributes?: SortOrder
33899
35186
  nodeName?: SortOrder
35187
+ path?: SortOrderInput | SortOrder
33900
35188
  lastSeen?: SortOrder
33901
35189
  createdAt?: SortOrder
33902
35190
  updatedAt?: SortOrder
@@ -33911,6 +35199,7 @@ export namespace Prisma {
33911
35199
  strategy?: StringFilter<"LocatorEtalon"> | string
33912
35200
  attributes?: StringFilter<"LocatorEtalon"> | string
33913
35201
  nodeName?: StringFilter<"LocatorEtalon"> | string
35202
+ path?: StringNullableFilter<"LocatorEtalon"> | string | null
33914
35203
  lastSeen?: DateTimeFilter<"LocatorEtalon"> | Date | string
33915
35204
  createdAt?: DateTimeFilter<"LocatorEtalon"> | Date | string
33916
35205
  updatedAt?: DateTimeFilter<"LocatorEtalon"> | Date | string
@@ -33922,6 +35211,7 @@ export namespace Prisma {
33922
35211
  strategy?: SortOrder
33923
35212
  attributes?: SortOrder
33924
35213
  nodeName?: SortOrder
35214
+ path?: SortOrderInput | SortOrder
33925
35215
  lastSeen?: SortOrder
33926
35216
  createdAt?: SortOrder
33927
35217
  updatedAt?: SortOrder
@@ -33939,6 +35229,7 @@ export namespace Prisma {
33939
35229
  strategy?: StringWithAggregatesFilter<"LocatorEtalon"> | string
33940
35230
  attributes?: StringWithAggregatesFilter<"LocatorEtalon"> | string
33941
35231
  nodeName?: StringWithAggregatesFilter<"LocatorEtalon"> | string
35232
+ path?: StringNullableWithAggregatesFilter<"LocatorEtalon"> | string | null
33942
35233
  lastSeen?: DateTimeWithAggregatesFilter<"LocatorEtalon"> | Date | string
33943
35234
  createdAt?: DateTimeWithAggregatesFilter<"LocatorEtalon"> | Date | string
33944
35235
  updatedAt?: DateTimeWithAggregatesFilter<"LocatorEtalon"> | Date | string
@@ -34220,6 +35511,7 @@ export namespace Prisma {
34220
35511
  name?: StringFilter<"Team"> | string
34221
35512
  createdAt?: DateTimeFilter<"Team"> | Date | string
34222
35513
  devices?: DeviceListRelationFilter
35514
+ deviceSettings?: DeviceSettingListRelationFilter
34223
35515
  apiKeys?: ApiKeyListRelationFilter
34224
35516
  members?: TeamMemberListRelationFilter
34225
35517
  apps?: AppListRelationFilter
@@ -34230,6 +35522,7 @@ export namespace Prisma {
34230
35522
  name?: SortOrder
34231
35523
  createdAt?: SortOrder
34232
35524
  devices?: DeviceOrderByRelationAggregateInput
35525
+ deviceSettings?: DeviceSettingOrderByRelationAggregateInput
34233
35526
  apiKeys?: ApiKeyOrderByRelationAggregateInput
34234
35527
  members?: TeamMemberOrderByRelationAggregateInput
34235
35528
  apps?: AppOrderByRelationAggregateInput
@@ -34243,6 +35536,7 @@ export namespace Prisma {
34243
35536
  NOT?: TeamWhereInput | TeamWhereInput[]
34244
35537
  createdAt?: DateTimeFilter<"Team"> | Date | string
34245
35538
  devices?: DeviceListRelationFilter
35539
+ deviceSettings?: DeviceSettingListRelationFilter
34246
35540
  apiKeys?: ApiKeyListRelationFilter
34247
35541
  members?: TeamMemberListRelationFilter
34248
35542
  apps?: AppListRelationFilter
@@ -36149,77 +37443,139 @@ export namespace Prisma {
36149
37443
  cpuArchitecture?: NullableStringFieldUpdateOperationsInput | string | null
36150
37444
  owningSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36151
37445
  lockedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36152
- teamId?: NullableStringFieldUpdateOperationsInput | string | null
37446
+ teamId?: NullableStringFieldUpdateOperationsInput | string | null
37447
+ claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
37448
+ claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
37449
+ nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
37450
+ nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
37451
+ }
37452
+
37453
+ export type DeviceCreateManyInput = {
37454
+ udid: string
37455
+ host: string
37456
+ systemPort?: number | null
37457
+ proxyPort?: number | null
37458
+ proxyHost?: string | null
37459
+ wdaLocalPort?: number | null
37460
+ name?: string | null
37461
+ state?: string | null
37462
+ sdk?: string | null
37463
+ platform?: string | null
37464
+ deviceType?: string | null
37465
+ busy?: boolean | null
37466
+ userBlocked?: boolean | null
37467
+ realDevice?: boolean | null
37468
+ session_id?: string | null
37469
+ offline?: boolean | null
37470
+ mjpegServerPort?: number | null
37471
+ lastCmdExecutedAt?: number | null
37472
+ totalUtilizationTimeMilliSec?: number
37473
+ sessionStartTime?: number
37474
+ newCommandTimeout?: number | null
37475
+ cloud?: string | null
37476
+ derivedDataPath?: string | null
37477
+ chromeDriverPath?: string | null
37478
+ capability?: string | null
37479
+ adbRemoteHost?: string | null
37480
+ adbPort?: number | null
37481
+ nodeId?: string | null
37482
+ screenWidth?: string | null
37483
+ screenHeight?: string | null
37484
+ dashboard_link?: string | null
37485
+ total_session_count?: number | null
37486
+ createdAt?: Date | string
37487
+ updatedAt?: Date | string
37488
+ healthCheckError?: string | null
37489
+ healthStatus?: string | null
37490
+ lastHealthCheckAt?: number | null
37491
+ batteryLevel?: number | null
37492
+ reservationReason?: string | null
37493
+ reservedBy?: string | null
37494
+ reservedByUserId?: string | null
37495
+ reservedUntil?: number | null
37496
+ storageFree?: string | null
37497
+ tags?: string | null
37498
+ thermalStatus?: string | null
37499
+ marketingName?: string | null
37500
+ model?: string | null
37501
+ manufacturer?: string | null
37502
+ formFactor?: string | null
37503
+ sessionProgress?: string | null
37504
+ totalHealedCount?: number | null
37505
+ ip?: string | null
37506
+ cpuArchitecture?: string | null
37507
+ owningSessionId?: string | null
37508
+ lockedAt?: number | null
37509
+ teamId?: string | null
37510
+ claimSessionId?: string | null
37511
+ claimedAt?: number | null
37512
+ nodeBusy?: boolean | null
37513
+ nodeHold?: string | null
37514
+ }
37515
+
37516
+ export type DeviceUpdateManyMutationInput = {
37517
+ udid?: StringFieldUpdateOperationsInput | string
37518
+ host?: StringFieldUpdateOperationsInput | string
37519
+ systemPort?: NullableIntFieldUpdateOperationsInput | number | null
37520
+ proxyPort?: NullableIntFieldUpdateOperationsInput | number | null
37521
+ proxyHost?: NullableStringFieldUpdateOperationsInput | string | null
37522
+ wdaLocalPort?: NullableIntFieldUpdateOperationsInput | number | null
37523
+ name?: NullableStringFieldUpdateOperationsInput | string | null
37524
+ state?: NullableStringFieldUpdateOperationsInput | string | null
37525
+ sdk?: NullableStringFieldUpdateOperationsInput | string | null
37526
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
37527
+ deviceType?: NullableStringFieldUpdateOperationsInput | string | null
37528
+ busy?: NullableBoolFieldUpdateOperationsInput | boolean | null
37529
+ userBlocked?: NullableBoolFieldUpdateOperationsInput | boolean | null
37530
+ realDevice?: NullableBoolFieldUpdateOperationsInput | boolean | null
37531
+ session_id?: NullableStringFieldUpdateOperationsInput | string | null
37532
+ offline?: NullableBoolFieldUpdateOperationsInput | boolean | null
37533
+ mjpegServerPort?: NullableIntFieldUpdateOperationsInput | number | null
37534
+ lastCmdExecutedAt?: NullableFloatFieldUpdateOperationsInput | number | null
37535
+ totalUtilizationTimeMilliSec?: FloatFieldUpdateOperationsInput | number
37536
+ sessionStartTime?: FloatFieldUpdateOperationsInput | number
37537
+ newCommandTimeout?: NullableIntFieldUpdateOperationsInput | number | null
37538
+ cloud?: NullableStringFieldUpdateOperationsInput | string | null
37539
+ derivedDataPath?: NullableStringFieldUpdateOperationsInput | string | null
37540
+ chromeDriverPath?: NullableStringFieldUpdateOperationsInput | string | null
37541
+ capability?: NullableStringFieldUpdateOperationsInput | string | null
37542
+ adbRemoteHost?: NullableStringFieldUpdateOperationsInput | string | null
37543
+ adbPort?: NullableIntFieldUpdateOperationsInput | number | null
37544
+ nodeId?: NullableStringFieldUpdateOperationsInput | string | null
37545
+ screenWidth?: NullableStringFieldUpdateOperationsInput | string | null
37546
+ screenHeight?: NullableStringFieldUpdateOperationsInput | string | null
37547
+ dashboard_link?: NullableStringFieldUpdateOperationsInput | string | null
37548
+ total_session_count?: NullableIntFieldUpdateOperationsInput | number | null
37549
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
37550
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
37551
+ healthCheckError?: NullableStringFieldUpdateOperationsInput | string | null
37552
+ healthStatus?: NullableStringFieldUpdateOperationsInput | string | null
37553
+ lastHealthCheckAt?: NullableFloatFieldUpdateOperationsInput | number | null
37554
+ batteryLevel?: NullableIntFieldUpdateOperationsInput | number | null
37555
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37556
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37557
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37558
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
37559
+ storageFree?: NullableStringFieldUpdateOperationsInput | string | null
37560
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37561
+ thermalStatus?: NullableStringFieldUpdateOperationsInput | string | null
37562
+ marketingName?: NullableStringFieldUpdateOperationsInput | string | null
37563
+ model?: NullableStringFieldUpdateOperationsInput | string | null
37564
+ manufacturer?: NullableStringFieldUpdateOperationsInput | string | null
37565
+ formFactor?: NullableStringFieldUpdateOperationsInput | string | null
37566
+ sessionProgress?: NullableStringFieldUpdateOperationsInput | string | null
37567
+ totalHealedCount?: NullableIntFieldUpdateOperationsInput | number | null
37568
+ ip?: NullableStringFieldUpdateOperationsInput | string | null
37569
+ cpuArchitecture?: NullableStringFieldUpdateOperationsInput | string | null
37570
+ owningSessionId?: NullableStringFieldUpdateOperationsInput | string | null
37571
+ lockedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36153
37572
  claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36154
37573
  claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36155
37574
  nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
36156
37575
  nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
36157
37576
  }
36158
37577
 
36159
- export type DeviceCreateManyInput = {
36160
- udid: string
36161
- host: string
36162
- systemPort?: number | null
36163
- proxyPort?: number | null
36164
- proxyHost?: string | null
36165
- wdaLocalPort?: number | null
36166
- name?: string | null
36167
- state?: string | null
36168
- sdk?: string | null
36169
- platform?: string | null
36170
- deviceType?: string | null
36171
- busy?: boolean | null
36172
- userBlocked?: boolean | null
36173
- realDevice?: boolean | null
36174
- session_id?: string | null
36175
- offline?: boolean | null
36176
- mjpegServerPort?: number | null
36177
- lastCmdExecutedAt?: number | null
36178
- totalUtilizationTimeMilliSec?: number
36179
- sessionStartTime?: number
36180
- newCommandTimeout?: number | null
36181
- cloud?: string | null
36182
- derivedDataPath?: string | null
36183
- chromeDriverPath?: string | null
36184
- capability?: string | null
36185
- adbRemoteHost?: string | null
36186
- adbPort?: number | null
36187
- nodeId?: string | null
36188
- screenWidth?: string | null
36189
- screenHeight?: string | null
36190
- dashboard_link?: string | null
36191
- total_session_count?: number | null
36192
- createdAt?: Date | string
36193
- updatedAt?: Date | string
36194
- healthCheckError?: string | null
36195
- healthStatus?: string | null
36196
- lastHealthCheckAt?: number | null
36197
- batteryLevel?: number | null
36198
- reservationReason?: string | null
36199
- reservedBy?: string | null
36200
- reservedByUserId?: string | null
36201
- reservedUntil?: number | null
36202
- storageFree?: string | null
36203
- tags?: string | null
36204
- thermalStatus?: string | null
36205
- marketingName?: string | null
36206
- model?: string | null
36207
- manufacturer?: string | null
36208
- formFactor?: string | null
36209
- sessionProgress?: string | null
36210
- totalHealedCount?: number | null
36211
- ip?: string | null
36212
- cpuArchitecture?: string | null
36213
- owningSessionId?: string | null
36214
- lockedAt?: number | null
36215
- teamId?: string | null
36216
- claimSessionId?: string | null
36217
- claimedAt?: number | null
36218
- nodeBusy?: boolean | null
36219
- nodeHold?: string | null
36220
- }
36221
-
36222
- export type DeviceUpdateManyMutationInput = {
37578
+ export type DeviceUncheckedUpdateManyInput = {
36223
37579
  udid?: StringFieldUpdateOperationsInput | string
36224
37580
  host?: StringFieldUpdateOperationsInput | string
36225
37581
  systemPort?: NullableIntFieldUpdateOperationsInput | number | null
@@ -36275,73 +37631,101 @@ export namespace Prisma {
36275
37631
  cpuArchitecture?: NullableStringFieldUpdateOperationsInput | string | null
36276
37632
  owningSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36277
37633
  lockedAt?: NullableFloatFieldUpdateOperationsInput | number | null
37634
+ teamId?: NullableStringFieldUpdateOperationsInput | string | null
36278
37635
  claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36279
37636
  claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36280
37637
  nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
36281
37638
  nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
36282
37639
  }
36283
37640
 
36284
- export type DeviceUncheckedUpdateManyInput = {
37641
+ export type DeviceSettingCreateInput = {
37642
+ udid: string
37643
+ host: string
37644
+ tags?: string | null
37645
+ userBlocked?: boolean
37646
+ reservationReason?: string | null
37647
+ reservedBy?: string | null
37648
+ reservedByUserId?: string | null
37649
+ reservedUntil?: number | null
37650
+ updatedAt?: Date | string
37651
+ team?: TeamCreateNestedOneWithoutDeviceSettingsInput
37652
+ }
37653
+
37654
+ export type DeviceSettingUncheckedCreateInput = {
37655
+ udid: string
37656
+ host: string
37657
+ teamId?: string | null
37658
+ tags?: string | null
37659
+ userBlocked?: boolean
37660
+ reservationReason?: string | null
37661
+ reservedBy?: string | null
37662
+ reservedByUserId?: string | null
37663
+ reservedUntil?: number | null
37664
+ updatedAt?: Date | string
37665
+ }
37666
+
37667
+ export type DeviceSettingUpdateInput = {
36285
37668
  udid?: StringFieldUpdateOperationsInput | string
36286
37669
  host?: StringFieldUpdateOperationsInput | string
36287
- systemPort?: NullableIntFieldUpdateOperationsInput | number | null
36288
- proxyPort?: NullableIntFieldUpdateOperationsInput | number | null
36289
- proxyHost?: NullableStringFieldUpdateOperationsInput | string | null
36290
- wdaLocalPort?: NullableIntFieldUpdateOperationsInput | number | null
36291
- name?: NullableStringFieldUpdateOperationsInput | string | null
36292
- state?: NullableStringFieldUpdateOperationsInput | string | null
36293
- sdk?: NullableStringFieldUpdateOperationsInput | string | null
36294
- platform?: NullableStringFieldUpdateOperationsInput | string | null
36295
- deviceType?: NullableStringFieldUpdateOperationsInput | string | null
36296
- busy?: NullableBoolFieldUpdateOperationsInput | boolean | null
36297
- userBlocked?: NullableBoolFieldUpdateOperationsInput | boolean | null
36298
- realDevice?: NullableBoolFieldUpdateOperationsInput | boolean | null
36299
- session_id?: NullableStringFieldUpdateOperationsInput | string | null
36300
- offline?: NullableBoolFieldUpdateOperationsInput | boolean | null
36301
- mjpegServerPort?: NullableIntFieldUpdateOperationsInput | number | null
36302
- lastCmdExecutedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36303
- totalUtilizationTimeMilliSec?: FloatFieldUpdateOperationsInput | number
36304
- sessionStartTime?: FloatFieldUpdateOperationsInput | number
36305
- newCommandTimeout?: NullableIntFieldUpdateOperationsInput | number | null
36306
- cloud?: NullableStringFieldUpdateOperationsInput | string | null
36307
- derivedDataPath?: NullableStringFieldUpdateOperationsInput | string | null
36308
- chromeDriverPath?: NullableStringFieldUpdateOperationsInput | string | null
36309
- capability?: NullableStringFieldUpdateOperationsInput | string | null
36310
- adbRemoteHost?: NullableStringFieldUpdateOperationsInput | string | null
36311
- adbPort?: NullableIntFieldUpdateOperationsInput | number | null
36312
- nodeId?: NullableStringFieldUpdateOperationsInput | string | null
36313
- screenWidth?: NullableStringFieldUpdateOperationsInput | string | null
36314
- screenHeight?: NullableStringFieldUpdateOperationsInput | string | null
36315
- dashboard_link?: NullableStringFieldUpdateOperationsInput | string | null
36316
- total_session_count?: NullableIntFieldUpdateOperationsInput | number | null
36317
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
37670
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37671
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
37672
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37673
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37674
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37675
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
36318
37676
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
36319
- healthCheckError?: NullableStringFieldUpdateOperationsInput | string | null
36320
- healthStatus?: NullableStringFieldUpdateOperationsInput | string | null
36321
- lastHealthCheckAt?: NullableFloatFieldUpdateOperationsInput | number | null
36322
- batteryLevel?: NullableIntFieldUpdateOperationsInput | number | null
37677
+ team?: TeamUpdateOneWithoutDeviceSettingsNestedInput
37678
+ }
37679
+
37680
+ export type DeviceSettingUncheckedUpdateInput = {
37681
+ udid?: StringFieldUpdateOperationsInput | string
37682
+ host?: StringFieldUpdateOperationsInput | string
37683
+ teamId?: NullableStringFieldUpdateOperationsInput | string | null
37684
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37685
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
36323
37686
  reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
36324
37687
  reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
36325
37688
  reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
36326
37689
  reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
36327
- storageFree?: NullableStringFieldUpdateOperationsInput | string | null
37690
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
37691
+ }
37692
+
37693
+ export type DeviceSettingCreateManyInput = {
37694
+ udid: string
37695
+ host: string
37696
+ teamId?: string | null
37697
+ tags?: string | null
37698
+ userBlocked?: boolean
37699
+ reservationReason?: string | null
37700
+ reservedBy?: string | null
37701
+ reservedByUserId?: string | null
37702
+ reservedUntil?: number | null
37703
+ updatedAt?: Date | string
37704
+ }
37705
+
37706
+ export type DeviceSettingUpdateManyMutationInput = {
37707
+ udid?: StringFieldUpdateOperationsInput | string
37708
+ host?: StringFieldUpdateOperationsInput | string
36328
37709
  tags?: NullableStringFieldUpdateOperationsInput | string | null
36329
- thermalStatus?: NullableStringFieldUpdateOperationsInput | string | null
36330
- marketingName?: NullableStringFieldUpdateOperationsInput | string | null
36331
- model?: NullableStringFieldUpdateOperationsInput | string | null
36332
- manufacturer?: NullableStringFieldUpdateOperationsInput | string | null
36333
- formFactor?: NullableStringFieldUpdateOperationsInput | string | null
36334
- sessionProgress?: NullableStringFieldUpdateOperationsInput | string | null
36335
- totalHealedCount?: NullableIntFieldUpdateOperationsInput | number | null
36336
- ip?: NullableStringFieldUpdateOperationsInput | string | null
36337
- cpuArchitecture?: NullableStringFieldUpdateOperationsInput | string | null
36338
- owningSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36339
- lockedAt?: NullableFloatFieldUpdateOperationsInput | number | null
37710
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
37711
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37712
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37713
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37714
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
37715
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
37716
+ }
37717
+
37718
+ export type DeviceSettingUncheckedUpdateManyInput = {
37719
+ udid?: StringFieldUpdateOperationsInput | string
37720
+ host?: StringFieldUpdateOperationsInput | string
36340
37721
  teamId?: NullableStringFieldUpdateOperationsInput | string | null
36341
- claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36342
- claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36343
- nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
36344
- nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
37722
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37723
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
37724
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37725
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37726
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37727
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
37728
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
36345
37729
  }
36346
37730
 
36347
37731
  export type PendingSessionCreateInput = {
@@ -36568,6 +37952,7 @@ export namespace Prisma {
36568
37952
  strategy: string
36569
37953
  attributes: string
36570
37954
  nodeName: string
37955
+ path?: string | null
36571
37956
  lastSeen?: Date | string
36572
37957
  createdAt?: Date | string
36573
37958
  updatedAt?: Date | string
@@ -36579,6 +37964,7 @@ export namespace Prisma {
36579
37964
  strategy: string
36580
37965
  attributes: string
36581
37966
  nodeName: string
37967
+ path?: string | null
36582
37968
  lastSeen?: Date | string
36583
37969
  createdAt?: Date | string
36584
37970
  updatedAt?: Date | string
@@ -36590,6 +37976,7 @@ export namespace Prisma {
36590
37976
  strategy?: StringFieldUpdateOperationsInput | string
36591
37977
  attributes?: StringFieldUpdateOperationsInput | string
36592
37978
  nodeName?: StringFieldUpdateOperationsInput | string
37979
+ path?: NullableStringFieldUpdateOperationsInput | string | null
36593
37980
  lastSeen?: DateTimeFieldUpdateOperationsInput | Date | string
36594
37981
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36595
37982
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -36601,6 +37988,7 @@ export namespace Prisma {
36601
37988
  strategy?: StringFieldUpdateOperationsInput | string
36602
37989
  attributes?: StringFieldUpdateOperationsInput | string
36603
37990
  nodeName?: StringFieldUpdateOperationsInput | string
37991
+ path?: NullableStringFieldUpdateOperationsInput | string | null
36604
37992
  lastSeen?: DateTimeFieldUpdateOperationsInput | Date | string
36605
37993
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36606
37994
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -36612,6 +38000,7 @@ export namespace Prisma {
36612
38000
  strategy: string
36613
38001
  attributes: string
36614
38002
  nodeName: string
38003
+ path?: string | null
36615
38004
  lastSeen?: Date | string
36616
38005
  createdAt?: Date | string
36617
38006
  updatedAt?: Date | string
@@ -36623,6 +38012,7 @@ export namespace Prisma {
36623
38012
  strategy?: StringFieldUpdateOperationsInput | string
36624
38013
  attributes?: StringFieldUpdateOperationsInput | string
36625
38014
  nodeName?: StringFieldUpdateOperationsInput | string
38015
+ path?: NullableStringFieldUpdateOperationsInput | string | null
36626
38016
  lastSeen?: DateTimeFieldUpdateOperationsInput | Date | string
36627
38017
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36628
38018
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -36634,6 +38024,7 @@ export namespace Prisma {
36634
38024
  strategy?: StringFieldUpdateOperationsInput | string
36635
38025
  attributes?: StringFieldUpdateOperationsInput | string
36636
38026
  nodeName?: StringFieldUpdateOperationsInput | string
38027
+ path?: NullableStringFieldUpdateOperationsInput | string | null
36637
38028
  lastSeen?: DateTimeFieldUpdateOperationsInput | Date | string
36638
38029
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36639
38030
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -36950,6 +38341,7 @@ export namespace Prisma {
36950
38341
  name: string
36951
38342
  createdAt?: Date | string
36952
38343
  devices?: DeviceCreateNestedManyWithoutTeamInput
38344
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
36953
38345
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
36954
38346
  members?: TeamMemberCreateNestedManyWithoutTeamInput
36955
38347
  apps?: AppCreateNestedManyWithoutTeamInput
@@ -36960,6 +38352,7 @@ export namespace Prisma {
36960
38352
  name: string
36961
38353
  createdAt?: Date | string
36962
38354
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
38355
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
36963
38356
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
36964
38357
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
36965
38358
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
@@ -36970,6 +38363,7 @@ export namespace Prisma {
36970
38363
  name?: StringFieldUpdateOperationsInput | string
36971
38364
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36972
38365
  devices?: DeviceUpdateManyWithoutTeamNestedInput
38366
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
36973
38367
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
36974
38368
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
36975
38369
  apps?: AppUpdateManyWithoutTeamNestedInput
@@ -36980,6 +38374,7 @@ export namespace Prisma {
36980
38374
  name?: StringFieldUpdateOperationsInput | string
36981
38375
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36982
38376
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
38377
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
36983
38378
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
36984
38379
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
36985
38380
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
@@ -38675,26 +40070,89 @@ export namespace Prisma {
38675
40070
  nodeHold?: SortOrder
38676
40071
  }
38677
40072
 
38678
- export type DeviceAvgOrderByAggregateInput = {
38679
- systemPort?: SortOrder
38680
- proxyPort?: SortOrder
38681
- wdaLocalPort?: SortOrder
38682
- mjpegServerPort?: SortOrder
38683
- lastCmdExecutedAt?: SortOrder
38684
- totalUtilizationTimeMilliSec?: SortOrder
38685
- sessionStartTime?: SortOrder
38686
- newCommandTimeout?: SortOrder
38687
- adbPort?: SortOrder
38688
- total_session_count?: SortOrder
38689
- lastHealthCheckAt?: SortOrder
38690
- batteryLevel?: SortOrder
38691
- reservedUntil?: SortOrder
38692
- totalHealedCount?: SortOrder
38693
- lockedAt?: SortOrder
38694
- claimedAt?: SortOrder
38695
- }
38696
-
38697
- export type DeviceMaxOrderByAggregateInput = {
40073
+ export type DeviceAvgOrderByAggregateInput = {
40074
+ systemPort?: SortOrder
40075
+ proxyPort?: SortOrder
40076
+ wdaLocalPort?: SortOrder
40077
+ mjpegServerPort?: SortOrder
40078
+ lastCmdExecutedAt?: SortOrder
40079
+ totalUtilizationTimeMilliSec?: SortOrder
40080
+ sessionStartTime?: SortOrder
40081
+ newCommandTimeout?: SortOrder
40082
+ adbPort?: SortOrder
40083
+ total_session_count?: SortOrder
40084
+ lastHealthCheckAt?: SortOrder
40085
+ batteryLevel?: SortOrder
40086
+ reservedUntil?: SortOrder
40087
+ totalHealedCount?: SortOrder
40088
+ lockedAt?: SortOrder
40089
+ claimedAt?: SortOrder
40090
+ }
40091
+
40092
+ export type DeviceMaxOrderByAggregateInput = {
40093
+ udid?: SortOrder
40094
+ host?: SortOrder
40095
+ systemPort?: SortOrder
40096
+ proxyPort?: SortOrder
40097
+ proxyHost?: SortOrder
40098
+ wdaLocalPort?: SortOrder
40099
+ name?: SortOrder
40100
+ state?: SortOrder
40101
+ sdk?: SortOrder
40102
+ platform?: SortOrder
40103
+ deviceType?: SortOrder
40104
+ busy?: SortOrder
40105
+ userBlocked?: SortOrder
40106
+ realDevice?: SortOrder
40107
+ session_id?: SortOrder
40108
+ offline?: SortOrder
40109
+ mjpegServerPort?: SortOrder
40110
+ lastCmdExecutedAt?: SortOrder
40111
+ totalUtilizationTimeMilliSec?: SortOrder
40112
+ sessionStartTime?: SortOrder
40113
+ newCommandTimeout?: SortOrder
40114
+ cloud?: SortOrder
40115
+ derivedDataPath?: SortOrder
40116
+ chromeDriverPath?: SortOrder
40117
+ capability?: SortOrder
40118
+ adbRemoteHost?: SortOrder
40119
+ adbPort?: SortOrder
40120
+ nodeId?: SortOrder
40121
+ screenWidth?: SortOrder
40122
+ screenHeight?: SortOrder
40123
+ dashboard_link?: SortOrder
40124
+ total_session_count?: SortOrder
40125
+ createdAt?: SortOrder
40126
+ updatedAt?: SortOrder
40127
+ healthCheckError?: SortOrder
40128
+ healthStatus?: SortOrder
40129
+ lastHealthCheckAt?: SortOrder
40130
+ batteryLevel?: SortOrder
40131
+ reservationReason?: SortOrder
40132
+ reservedBy?: SortOrder
40133
+ reservedByUserId?: SortOrder
40134
+ reservedUntil?: SortOrder
40135
+ storageFree?: SortOrder
40136
+ tags?: SortOrder
40137
+ thermalStatus?: SortOrder
40138
+ marketingName?: SortOrder
40139
+ model?: SortOrder
40140
+ manufacturer?: SortOrder
40141
+ formFactor?: SortOrder
40142
+ sessionProgress?: SortOrder
40143
+ totalHealedCount?: SortOrder
40144
+ ip?: SortOrder
40145
+ cpuArchitecture?: SortOrder
40146
+ owningSessionId?: SortOrder
40147
+ lockedAt?: SortOrder
40148
+ teamId?: SortOrder
40149
+ claimSessionId?: SortOrder
40150
+ claimedAt?: SortOrder
40151
+ nodeBusy?: SortOrder
40152
+ nodeHold?: SortOrder
40153
+ }
40154
+
40155
+ export type DeviceMinOrderByAggregateInput = {
38698
40156
  udid?: SortOrder
38699
40157
  host?: SortOrder
38700
40158
  systemPort?: SortOrder
@@ -38757,86 +40215,75 @@ export namespace Prisma {
38757
40215
  nodeHold?: SortOrder
38758
40216
  }
38759
40217
 
38760
- export type DeviceMinOrderByAggregateInput = {
38761
- udid?: SortOrder
38762
- host?: SortOrder
40218
+ export type DeviceSumOrderByAggregateInput = {
38763
40219
  systemPort?: SortOrder
38764
40220
  proxyPort?: SortOrder
38765
- proxyHost?: SortOrder
38766
40221
  wdaLocalPort?: SortOrder
38767
- name?: SortOrder
38768
- state?: SortOrder
38769
- sdk?: SortOrder
38770
- platform?: SortOrder
38771
- deviceType?: SortOrder
38772
- busy?: SortOrder
38773
- userBlocked?: SortOrder
38774
- realDevice?: SortOrder
38775
- session_id?: SortOrder
38776
- offline?: SortOrder
38777
40222
  mjpegServerPort?: SortOrder
38778
40223
  lastCmdExecutedAt?: SortOrder
38779
40224
  totalUtilizationTimeMilliSec?: SortOrder
38780
40225
  sessionStartTime?: SortOrder
38781
40226
  newCommandTimeout?: SortOrder
38782
- cloud?: SortOrder
38783
- derivedDataPath?: SortOrder
38784
- chromeDriverPath?: SortOrder
38785
- capability?: SortOrder
38786
- adbRemoteHost?: SortOrder
38787
40227
  adbPort?: SortOrder
38788
- nodeId?: SortOrder
38789
- screenWidth?: SortOrder
38790
- screenHeight?: SortOrder
38791
- dashboard_link?: SortOrder
38792
40228
  total_session_count?: SortOrder
38793
- createdAt?: SortOrder
38794
- updatedAt?: SortOrder
38795
- healthCheckError?: SortOrder
38796
- healthStatus?: SortOrder
38797
40229
  lastHealthCheckAt?: SortOrder
38798
40230
  batteryLevel?: SortOrder
40231
+ reservedUntil?: SortOrder
40232
+ totalHealedCount?: SortOrder
40233
+ lockedAt?: SortOrder
40234
+ claimedAt?: SortOrder
40235
+ }
40236
+
40237
+ export type DeviceSettingUdidHostCompoundUniqueInput = {
40238
+ udid: string
40239
+ host: string
40240
+ }
40241
+
40242
+ export type DeviceSettingCountOrderByAggregateInput = {
40243
+ udid?: SortOrder
40244
+ host?: SortOrder
40245
+ teamId?: SortOrder
40246
+ tags?: SortOrder
40247
+ userBlocked?: SortOrder
38799
40248
  reservationReason?: SortOrder
38800
40249
  reservedBy?: SortOrder
38801
40250
  reservedByUserId?: SortOrder
38802
40251
  reservedUntil?: SortOrder
38803
- storageFree?: SortOrder
40252
+ updatedAt?: SortOrder
40253
+ }
40254
+
40255
+ export type DeviceSettingAvgOrderByAggregateInput = {
40256
+ reservedUntil?: SortOrder
40257
+ }
40258
+
40259
+ export type DeviceSettingMaxOrderByAggregateInput = {
40260
+ udid?: SortOrder
40261
+ host?: SortOrder
40262
+ teamId?: SortOrder
38804
40263
  tags?: SortOrder
38805
- thermalStatus?: SortOrder
38806
- marketingName?: SortOrder
38807
- model?: SortOrder
38808
- manufacturer?: SortOrder
38809
- formFactor?: SortOrder
38810
- sessionProgress?: SortOrder
38811
- totalHealedCount?: SortOrder
38812
- ip?: SortOrder
38813
- cpuArchitecture?: SortOrder
38814
- owningSessionId?: SortOrder
38815
- lockedAt?: SortOrder
40264
+ userBlocked?: SortOrder
40265
+ reservationReason?: SortOrder
40266
+ reservedBy?: SortOrder
40267
+ reservedByUserId?: SortOrder
40268
+ reservedUntil?: SortOrder
40269
+ updatedAt?: SortOrder
40270
+ }
40271
+
40272
+ export type DeviceSettingMinOrderByAggregateInput = {
40273
+ udid?: SortOrder
40274
+ host?: SortOrder
38816
40275
  teamId?: SortOrder
38817
- claimSessionId?: SortOrder
38818
- claimedAt?: SortOrder
38819
- nodeBusy?: SortOrder
38820
- nodeHold?: SortOrder
40276
+ tags?: SortOrder
40277
+ userBlocked?: SortOrder
40278
+ reservationReason?: SortOrder
40279
+ reservedBy?: SortOrder
40280
+ reservedByUserId?: SortOrder
40281
+ reservedUntil?: SortOrder
40282
+ updatedAt?: SortOrder
38821
40283
  }
38822
40284
 
38823
- export type DeviceSumOrderByAggregateInput = {
38824
- systemPort?: SortOrder
38825
- proxyPort?: SortOrder
38826
- wdaLocalPort?: SortOrder
38827
- mjpegServerPort?: SortOrder
38828
- lastCmdExecutedAt?: SortOrder
38829
- totalUtilizationTimeMilliSec?: SortOrder
38830
- sessionStartTime?: SortOrder
38831
- newCommandTimeout?: SortOrder
38832
- adbPort?: SortOrder
38833
- total_session_count?: SortOrder
38834
- lastHealthCheckAt?: SortOrder
38835
- batteryLevel?: SortOrder
40285
+ export type DeviceSettingSumOrderByAggregateInput = {
38836
40286
  reservedUntil?: SortOrder
38837
- totalHealedCount?: SortOrder
38838
- lockedAt?: SortOrder
38839
- claimedAt?: SortOrder
38840
40287
  }
38841
40288
 
38842
40289
  export type PendingSessionCountOrderByAggregateInput = {
@@ -38959,6 +40406,7 @@ export namespace Prisma {
38959
40406
  strategy?: SortOrder
38960
40407
  attributes?: SortOrder
38961
40408
  nodeName?: SortOrder
40409
+ path?: SortOrder
38962
40410
  lastSeen?: SortOrder
38963
40411
  createdAt?: SortOrder
38964
40412
  updatedAt?: SortOrder
@@ -38970,6 +40418,7 @@ export namespace Prisma {
38970
40418
  strategy?: SortOrder
38971
40419
  attributes?: SortOrder
38972
40420
  nodeName?: SortOrder
40421
+ path?: SortOrder
38973
40422
  lastSeen?: SortOrder
38974
40423
  createdAt?: SortOrder
38975
40424
  updatedAt?: SortOrder
@@ -38981,6 +40430,7 @@ export namespace Prisma {
38981
40430
  strategy?: SortOrder
38982
40431
  attributes?: SortOrder
38983
40432
  nodeName?: SortOrder
40433
+ path?: SortOrder
38984
40434
  lastSeen?: SortOrder
38985
40435
  createdAt?: SortOrder
38986
40436
  updatedAt?: SortOrder
@@ -39163,6 +40613,12 @@ export namespace Prisma {
39163
40613
  none?: DeviceWhereInput
39164
40614
  }
39165
40615
 
40616
+ export type DeviceSettingListRelationFilter = {
40617
+ every?: DeviceSettingWhereInput
40618
+ some?: DeviceSettingWhereInput
40619
+ none?: DeviceSettingWhereInput
40620
+ }
40621
+
39166
40622
  export type ApiKeyListRelationFilter = {
39167
40623
  every?: ApiKeyWhereInput
39168
40624
  some?: ApiKeyWhereInput
@@ -39185,6 +40641,10 @@ export namespace Prisma {
39185
40641
  _count?: SortOrder
39186
40642
  }
39187
40643
 
40644
+ export type DeviceSettingOrderByRelationAggregateInput = {
40645
+ _count?: SortOrder
40646
+ }
40647
+
39188
40648
  export type ApiKeyOrderByRelationAggregateInput = {
39189
40649
  _count?: SortOrder
39190
40650
  }
@@ -40093,6 +41553,22 @@ export namespace Prisma {
40093
41553
  update?: XOR<XOR<TeamUpdateToOneWithWhereWithoutDevicesInput, TeamUpdateWithoutDevicesInput>, TeamUncheckedUpdateWithoutDevicesInput>
40094
41554
  }
40095
41555
 
41556
+ export type TeamCreateNestedOneWithoutDeviceSettingsInput = {
41557
+ create?: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
41558
+ connectOrCreate?: TeamCreateOrConnectWithoutDeviceSettingsInput
41559
+ connect?: TeamWhereUniqueInput
41560
+ }
41561
+
41562
+ export type TeamUpdateOneWithoutDeviceSettingsNestedInput = {
41563
+ create?: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
41564
+ connectOrCreate?: TeamCreateOrConnectWithoutDeviceSettingsInput
41565
+ upsert?: TeamUpsertWithoutDeviceSettingsInput
41566
+ disconnect?: TeamWhereInput | boolean
41567
+ delete?: TeamWhereInput | boolean
41568
+ connect?: TeamWhereUniqueInput
41569
+ update?: XOR<XOR<TeamUpdateToOneWithWhereWithoutDeviceSettingsInput, TeamUpdateWithoutDeviceSettingsInput>, TeamUncheckedUpdateWithoutDeviceSettingsInput>
41570
+ }
41571
+
40096
41572
  export type TeamCreateNestedOneWithoutApiKeysInput = {
40097
41573
  create?: XOR<TeamCreateWithoutApiKeysInput, TeamUncheckedCreateWithoutApiKeysInput>
40098
41574
  connectOrCreate?: TeamCreateOrConnectWithoutApiKeysInput
@@ -40130,6 +41606,13 @@ export namespace Prisma {
40130
41606
  connect?: DeviceWhereUniqueInput | DeviceWhereUniqueInput[]
40131
41607
  }
40132
41608
 
41609
+ export type DeviceSettingCreateNestedManyWithoutTeamInput = {
41610
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41611
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41612
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41613
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41614
+ }
41615
+
40133
41616
  export type ApiKeyCreateNestedManyWithoutTeamInput = {
40134
41617
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40135
41618
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -40158,6 +41641,13 @@ export namespace Prisma {
40158
41641
  connect?: DeviceWhereUniqueInput | DeviceWhereUniqueInput[]
40159
41642
  }
40160
41643
 
41644
+ export type DeviceSettingUncheckedCreateNestedManyWithoutTeamInput = {
41645
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41646
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41647
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41648
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41649
+ }
41650
+
40161
41651
  export type ApiKeyUncheckedCreateNestedManyWithoutTeamInput = {
40162
41652
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40163
41653
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -40193,6 +41683,20 @@ export namespace Prisma {
40193
41683
  deleteMany?: DeviceScalarWhereInput | DeviceScalarWhereInput[]
40194
41684
  }
40195
41685
 
41686
+ export type DeviceSettingUpdateManyWithoutTeamNestedInput = {
41687
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41688
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41689
+ upsert?: DeviceSettingUpsertWithWhereUniqueWithoutTeamInput | DeviceSettingUpsertWithWhereUniqueWithoutTeamInput[]
41690
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41691
+ set?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41692
+ disconnect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41693
+ delete?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41694
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41695
+ update?: DeviceSettingUpdateWithWhereUniqueWithoutTeamInput | DeviceSettingUpdateWithWhereUniqueWithoutTeamInput[]
41696
+ updateMany?: DeviceSettingUpdateManyWithWhereWithoutTeamInput | DeviceSettingUpdateManyWithWhereWithoutTeamInput[]
41697
+ deleteMany?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
41698
+ }
41699
+
40196
41700
  export type ApiKeyUpdateManyWithoutTeamNestedInput = {
40197
41701
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40198
41702
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -40249,6 +41753,20 @@ export namespace Prisma {
40249
41753
  deleteMany?: DeviceScalarWhereInput | DeviceScalarWhereInput[]
40250
41754
  }
40251
41755
 
41756
+ export type DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput = {
41757
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41758
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41759
+ upsert?: DeviceSettingUpsertWithWhereUniqueWithoutTeamInput | DeviceSettingUpsertWithWhereUniqueWithoutTeamInput[]
41760
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41761
+ set?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41762
+ disconnect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41763
+ delete?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41764
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41765
+ update?: DeviceSettingUpdateWithWhereUniqueWithoutTeamInput | DeviceSettingUpdateWithWhereUniqueWithoutTeamInput[]
41766
+ updateMany?: DeviceSettingUpdateManyWithWhereWithoutTeamInput | DeviceSettingUpdateManyWithWhereWithoutTeamInput[]
41767
+ deleteMany?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
41768
+ }
41769
+
40252
41770
  export type ApiKeyUncheckedUpdateManyWithoutTeamNestedInput = {
40253
41771
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40254
41772
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -42120,6 +43638,7 @@ export namespace Prisma {
42120
43638
  name: string
42121
43639
  createdAt?: Date | string
42122
43640
  devices?: DeviceCreateNestedManyWithoutTeamInput
43641
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
42123
43642
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
42124
43643
  members?: TeamMemberCreateNestedManyWithoutTeamInput
42125
43644
  }
@@ -42129,6 +43648,7 @@ export namespace Prisma {
42129
43648
  name: string
42130
43649
  createdAt?: Date | string
42131
43650
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
43651
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
42132
43652
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
42133
43653
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
42134
43654
  }
@@ -42154,6 +43674,7 @@ export namespace Prisma {
42154
43674
  name?: StringFieldUpdateOperationsInput | string
42155
43675
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42156
43676
  devices?: DeviceUpdateManyWithoutTeamNestedInput
43677
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
42157
43678
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
42158
43679
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
42159
43680
  }
@@ -42163,6 +43684,7 @@ export namespace Prisma {
42163
43684
  name?: StringFieldUpdateOperationsInput | string
42164
43685
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42165
43686
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
43687
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
42166
43688
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
42167
43689
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
42168
43690
  }
@@ -42171,6 +43693,7 @@ export namespace Prisma {
42171
43693
  id?: string
42172
43694
  name: string
42173
43695
  createdAt?: Date | string
43696
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
42174
43697
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
42175
43698
  members?: TeamMemberCreateNestedManyWithoutTeamInput
42176
43699
  apps?: AppCreateNestedManyWithoutTeamInput
@@ -42180,6 +43703,7 @@ export namespace Prisma {
42180
43703
  id?: string
42181
43704
  name: string
42182
43705
  createdAt?: Date | string
43706
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
42183
43707
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
42184
43708
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
42185
43709
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
@@ -42205,6 +43729,7 @@ export namespace Prisma {
42205
43729
  id?: StringFieldUpdateOperationsInput | string
42206
43730
  name?: StringFieldUpdateOperationsInput | string
42207
43731
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43732
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
42208
43733
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
42209
43734
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
42210
43735
  apps?: AppUpdateManyWithoutTeamNestedInput
@@ -42214,6 +43739,63 @@ export namespace Prisma {
42214
43739
  id?: StringFieldUpdateOperationsInput | string
42215
43740
  name?: StringFieldUpdateOperationsInput | string
42216
43741
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43742
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
43743
+ apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
43744
+ members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
43745
+ apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
43746
+ }
43747
+
43748
+ export type TeamCreateWithoutDeviceSettingsInput = {
43749
+ id?: string
43750
+ name: string
43751
+ createdAt?: Date | string
43752
+ devices?: DeviceCreateNestedManyWithoutTeamInput
43753
+ apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
43754
+ members?: TeamMemberCreateNestedManyWithoutTeamInput
43755
+ apps?: AppCreateNestedManyWithoutTeamInput
43756
+ }
43757
+
43758
+ export type TeamUncheckedCreateWithoutDeviceSettingsInput = {
43759
+ id?: string
43760
+ name: string
43761
+ createdAt?: Date | string
43762
+ devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
43763
+ apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
43764
+ members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
43765
+ apps?: AppUncheckedCreateNestedManyWithoutTeamInput
43766
+ }
43767
+
43768
+ export type TeamCreateOrConnectWithoutDeviceSettingsInput = {
43769
+ where: TeamWhereUniqueInput
43770
+ create: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
43771
+ }
43772
+
43773
+ export type TeamUpsertWithoutDeviceSettingsInput = {
43774
+ update: XOR<TeamUpdateWithoutDeviceSettingsInput, TeamUncheckedUpdateWithoutDeviceSettingsInput>
43775
+ create: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
43776
+ where?: TeamWhereInput
43777
+ }
43778
+
43779
+ export type TeamUpdateToOneWithWhereWithoutDeviceSettingsInput = {
43780
+ where?: TeamWhereInput
43781
+ data: XOR<TeamUpdateWithoutDeviceSettingsInput, TeamUncheckedUpdateWithoutDeviceSettingsInput>
43782
+ }
43783
+
43784
+ export type TeamUpdateWithoutDeviceSettingsInput = {
43785
+ id?: StringFieldUpdateOperationsInput | string
43786
+ name?: StringFieldUpdateOperationsInput | string
43787
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43788
+ devices?: DeviceUpdateManyWithoutTeamNestedInput
43789
+ apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
43790
+ members?: TeamMemberUpdateManyWithoutTeamNestedInput
43791
+ apps?: AppUpdateManyWithoutTeamNestedInput
43792
+ }
43793
+
43794
+ export type TeamUncheckedUpdateWithoutDeviceSettingsInput = {
43795
+ id?: StringFieldUpdateOperationsInput | string
43796
+ name?: StringFieldUpdateOperationsInput | string
43797
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43798
+ devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
42217
43799
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
42218
43800
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
42219
43801
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
@@ -42224,6 +43806,7 @@ export namespace Prisma {
42224
43806
  name: string
42225
43807
  createdAt?: Date | string
42226
43808
  devices?: DeviceCreateNestedManyWithoutTeamInput
43809
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
42227
43810
  members?: TeamMemberCreateNestedManyWithoutTeamInput
42228
43811
  apps?: AppCreateNestedManyWithoutTeamInput
42229
43812
  }
@@ -42233,6 +43816,7 @@ export namespace Prisma {
42233
43816
  name: string
42234
43817
  createdAt?: Date | string
42235
43818
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
43819
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
42236
43820
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
42237
43821
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
42238
43822
  }
@@ -42297,6 +43881,7 @@ export namespace Prisma {
42297
43881
  name?: StringFieldUpdateOperationsInput | string
42298
43882
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42299
43883
  devices?: DeviceUpdateManyWithoutTeamNestedInput
43884
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
42300
43885
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
42301
43886
  apps?: AppUpdateManyWithoutTeamNestedInput
42302
43887
  }
@@ -42306,6 +43891,7 @@ export namespace Prisma {
42306
43891
  name?: StringFieldUpdateOperationsInput | string
42307
43892
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42308
43893
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
43894
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
42309
43895
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
42310
43896
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
42311
43897
  }
@@ -42488,6 +44074,39 @@ export namespace Prisma {
42488
44074
  data: DeviceCreateManyTeamInput | DeviceCreateManyTeamInput[]
42489
44075
  }
42490
44076
 
44077
+ export type DeviceSettingCreateWithoutTeamInput = {
44078
+ udid: string
44079
+ host: string
44080
+ tags?: string | null
44081
+ userBlocked?: boolean
44082
+ reservationReason?: string | null
44083
+ reservedBy?: string | null
44084
+ reservedByUserId?: string | null
44085
+ reservedUntil?: number | null
44086
+ updatedAt?: Date | string
44087
+ }
44088
+
44089
+ export type DeviceSettingUncheckedCreateWithoutTeamInput = {
44090
+ udid: string
44091
+ host: string
44092
+ tags?: string | null
44093
+ userBlocked?: boolean
44094
+ reservationReason?: string | null
44095
+ reservedBy?: string | null
44096
+ reservedByUserId?: string | null
44097
+ reservedUntil?: number | null
44098
+ updatedAt?: Date | string
44099
+ }
44100
+
44101
+ export type DeviceSettingCreateOrConnectWithoutTeamInput = {
44102
+ where: DeviceSettingWhereUniqueInput
44103
+ create: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput>
44104
+ }
44105
+
44106
+ export type DeviceSettingCreateManyTeamInputEnvelope = {
44107
+ data: DeviceSettingCreateManyTeamInput | DeviceSettingCreateManyTeamInput[]
44108
+ }
44109
+
42491
44110
  export type ApiKeyCreateWithoutTeamInput = {
42492
44111
  id?: string
42493
44112
  name: string
@@ -42665,6 +44284,38 @@ export namespace Prisma {
42665
44284
  nodeHold?: StringNullableFilter<"Device"> | string | null
42666
44285
  }
42667
44286
 
44287
+ export type DeviceSettingUpsertWithWhereUniqueWithoutTeamInput = {
44288
+ where: DeviceSettingWhereUniqueInput
44289
+ update: XOR<DeviceSettingUpdateWithoutTeamInput, DeviceSettingUncheckedUpdateWithoutTeamInput>
44290
+ create: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput>
44291
+ }
44292
+
44293
+ export type DeviceSettingUpdateWithWhereUniqueWithoutTeamInput = {
44294
+ where: DeviceSettingWhereUniqueInput
44295
+ data: XOR<DeviceSettingUpdateWithoutTeamInput, DeviceSettingUncheckedUpdateWithoutTeamInput>
44296
+ }
44297
+
44298
+ export type DeviceSettingUpdateManyWithWhereWithoutTeamInput = {
44299
+ where: DeviceSettingScalarWhereInput
44300
+ data: XOR<DeviceSettingUpdateManyMutationInput, DeviceSettingUncheckedUpdateManyWithoutTeamInput>
44301
+ }
44302
+
44303
+ export type DeviceSettingScalarWhereInput = {
44304
+ AND?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
44305
+ OR?: DeviceSettingScalarWhereInput[]
44306
+ NOT?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
44307
+ udid?: StringFilter<"DeviceSetting"> | string
44308
+ host?: StringFilter<"DeviceSetting"> | string
44309
+ teamId?: StringNullableFilter<"DeviceSetting"> | string | null
44310
+ tags?: StringNullableFilter<"DeviceSetting"> | string | null
44311
+ userBlocked?: BoolFilter<"DeviceSetting"> | boolean
44312
+ reservationReason?: StringNullableFilter<"DeviceSetting"> | string | null
44313
+ reservedBy?: StringNullableFilter<"DeviceSetting"> | string | null
44314
+ reservedByUserId?: StringNullableFilter<"DeviceSetting"> | string | null
44315
+ reservedUntil?: FloatNullableFilter<"DeviceSetting"> | number | null
44316
+ updatedAt?: DateTimeFilter<"DeviceSetting"> | Date | string
44317
+ }
44318
+
42668
44319
  export type ApiKeyUpsertWithWhereUniqueWithoutTeamInput = {
42669
44320
  where: ApiKeyWhereUniqueInput
42670
44321
  update: XOR<ApiKeyUpdateWithoutTeamInput, ApiKeyUncheckedUpdateWithoutTeamInput>
@@ -43591,6 +45242,7 @@ export namespace Prisma {
43591
45242
  name: string
43592
45243
  createdAt?: Date | string
43593
45244
  devices?: DeviceCreateNestedManyWithoutTeamInput
45245
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
43594
45246
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
43595
45247
  apps?: AppCreateNestedManyWithoutTeamInput
43596
45248
  }
@@ -43600,6 +45252,7 @@ export namespace Prisma {
43600
45252
  name: string
43601
45253
  createdAt?: Date | string
43602
45254
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
45255
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
43603
45256
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
43604
45257
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
43605
45258
  }
@@ -43664,6 +45317,7 @@ export namespace Prisma {
43664
45317
  name?: StringFieldUpdateOperationsInput | string
43665
45318
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43666
45319
  devices?: DeviceUpdateManyWithoutTeamNestedInput
45320
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
43667
45321
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
43668
45322
  apps?: AppUpdateManyWithoutTeamNestedInput
43669
45323
  }
@@ -43673,6 +45327,7 @@ export namespace Prisma {
43673
45327
  name?: StringFieldUpdateOperationsInput | string
43674
45328
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43675
45329
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
45330
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
43676
45331
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
43677
45332
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
43678
45333
  }
@@ -44228,6 +45883,18 @@ export namespace Prisma {
44228
45883
  nodeHold?: string | null
44229
45884
  }
44230
45885
 
45886
+ export type DeviceSettingCreateManyTeamInput = {
45887
+ udid: string
45888
+ host: string
45889
+ tags?: string | null
45890
+ userBlocked?: boolean
45891
+ reservationReason?: string | null
45892
+ reservedBy?: string | null
45893
+ reservedByUserId?: string | null
45894
+ reservedUntil?: number | null
45895
+ updatedAt?: Date | string
45896
+ }
45897
+
44231
45898
  export type ApiKeyCreateManyTeamInput = {
44232
45899
  id?: string
44233
45900
  name: string
@@ -44448,6 +46115,42 @@ export namespace Prisma {
44448
46115
  nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
44449
46116
  }
44450
46117
 
46118
+ export type DeviceSettingUpdateWithoutTeamInput = {
46119
+ udid?: StringFieldUpdateOperationsInput | string
46120
+ host?: StringFieldUpdateOperationsInput | string
46121
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
46122
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
46123
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
46124
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
46125
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
46126
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
46127
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
46128
+ }
46129
+
46130
+ export type DeviceSettingUncheckedUpdateWithoutTeamInput = {
46131
+ udid?: StringFieldUpdateOperationsInput | string
46132
+ host?: StringFieldUpdateOperationsInput | string
46133
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
46134
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
46135
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
46136
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
46137
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
46138
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
46139
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
46140
+ }
46141
+
46142
+ export type DeviceSettingUncheckedUpdateManyWithoutTeamInput = {
46143
+ udid?: StringFieldUpdateOperationsInput | string
46144
+ host?: StringFieldUpdateOperationsInput | string
46145
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
46146
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
46147
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
46148
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
46149
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
46150
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
46151
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
46152
+ }
46153
+
44451
46154
  export type ApiKeyUpdateWithoutTeamInput = {
44452
46155
  id?: StringFieldUpdateOperationsInput | string
44453
46156
  name?: StringFieldUpdateOperationsInput | string
@@ -44831,6 +46534,10 @@ export namespace Prisma {
44831
46534
  * @deprecated Use DeviceDefaultArgs instead
44832
46535
  */
44833
46536
  export type DeviceArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeviceDefaultArgs<ExtArgs>
46537
+ /**
46538
+ * @deprecated Use DeviceSettingDefaultArgs instead
46539
+ */
46540
+ export type DeviceSettingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeviceSettingDefaultArgs<ExtArgs>
44834
46541
  /**
44835
46542
  * @deprecated Use PendingSessionDefaultArgs instead
44836
46543
  */