@xenon-device-management/xenon 2.13.1 → 2.14.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 (223) hide show
  1. package/README.md +11 -5
  2. package/lib/package.json +1 -1
  3. package/lib/public/assets/{AnnotationOverlay-Cvpkk4r9.js → AnnotationOverlay-B_VNtKBH.js} +1 -1
  4. package/lib/public/assets/{ApiKeyGate-Bhn5ZtVM.js → ApiKeyGate-BwuaMjkX.js} +1 -1
  5. package/lib/public/assets/{BugReportButton-BA6aEjTC.js → BugReportButton-BAt0_pzq.js} +1 -1
  6. package/lib/public/assets/DeviceMosaicView-BYaQHhTf.js +2 -0
  7. package/lib/public/assets/{EmptyState-CgzbuUvO.js → EmptyState-BSjhk_IV.js} +1 -1
  8. package/lib/public/assets/{FieldGroup-BHc_5qNc.js → FieldGroup-Cb5QZsE1.js} +1 -1
  9. package/lib/public/assets/{FilterMenu-D7OMGuRc.js → FilterMenu-BAaSlWbW.js} +1 -1
  10. package/lib/public/assets/{Menu-C173JJ0l.js → Menu-JGGYrSQQ.js} +1 -1
  11. package/lib/public/assets/{Modal-ChvVUI3B.js → Modal-CFCp3n9d.js} +1 -1
  12. package/lib/public/assets/{RecordingPage-Dhw4d_O6.js → RecordingPage-CbJj_EBT.js} +1 -1
  13. package/lib/public/assets/{RecordingsPage-z97ftGK-.js → RecordingsPage-BJeYnygR.js} +2 -2
  14. package/lib/public/assets/{SegmentedControl-DbXhBGZC.js → SegmentedControl-Bg42Atjy.js} +1 -1
  15. package/lib/public/assets/{SettingCard-C908GgiI.js → SettingCard-Njz1pUIJ.js} +1 -1
  16. package/lib/public/assets/{Table-B1DB_ZN-.js → Table-BcTm5xV2.js} +1 -1
  17. package/lib/public/assets/{activity-Css0xNvp.js → activity-DOVdsfMQ.js} +1 -1
  18. package/lib/public/assets/{ai-settings-BMQK3-yN.js → ai-settings-CsuJroRf.js} +2 -2
  19. package/lib/public/assets/{api-keys-CbJ42eDQ.js → api-keys-BKnNSTw9.js} +1 -1
  20. package/lib/public/assets/{apps-DW1pw2re.js → apps-D0SC6uw6.js} +2 -2
  21. package/lib/public/assets/{arrow-left-Dpog9L0F.js → arrow-left-MMbTmgoE.js} +1 -1
  22. package/lib/public/assets/{arrow-right-CsBIlSIw.js → arrow-right-BMfnGmxW.js} +1 -1
  23. package/lib/public/assets/{arrow-up-right-z1tRQE4R.js → arrow-up-right-DuAftMWB.js} +1 -1
  24. package/lib/public/assets/{auth-shell-mXiX5vNk.js → auth-shell-nZC2JNDO.js} +2 -2
  25. package/lib/public/assets/{builds-page-BcFn23bE.js → builds-page-hDCgTwkS.js} +1 -1
  26. package/lib/public/assets/{button-Cq_zHETv.js → button-Dda4irn_.js} +1 -1
  27. package/lib/public/assets/{calendar-CKxABX9q.js → calendar-BMr0Q62v.js} +1 -1
  28. package/lib/public/assets/{check-C7xu-hGU.js → check-CZ9iw9-e.js} +1 -1
  29. package/lib/public/assets/{chevron-right-BiqfdCGA.js → chevron-right-BRYJJVC9.js} +1 -1
  30. package/lib/public/assets/{circle-check-CyBjjPxR.js → circle-check-CqAJjQ5O.js} +1 -1
  31. package/lib/public/assets/{circle-x-6gMRcx6z.js → circle-x-DlDJtnVz.js} +1 -1
  32. package/lib/public/assets/{clock-U1rDTT1h.js → clock-CpuDKysU.js} +1 -1
  33. package/lib/public/assets/{copy-BIM0ZX0L.js → copy-CAQydNFe.js} +1 -1
  34. package/lib/public/assets/device-explorer-CdO6_nrn.js +282 -0
  35. package/lib/public/assets/{download-DDBRXnAZ.js → download-C9XG6lLv.js} +1 -1
  36. package/lib/public/assets/{forgot-password-Dpg7yxM8.js → forgot-password-CGnkRgE9.js} +1 -1
  37. package/lib/public/assets/h264Stream-VQBphYhg.js +26 -0
  38. package/lib/public/assets/{index-BGBqohfQ.js → index-BbKEXUFH.js} +5 -5
  39. package/lib/public/assets/{index-BTYMAqNW.css → index-Bxoxt9sV.css} +1 -1
  40. package/lib/public/assets/{index-BQ2luT7L.js → index-DJGc1M2f.js} +1 -1
  41. package/lib/public/assets/{input-BvB1cjHE.js → input-Cm0tmSoc.js} +1 -1
  42. package/lib/public/assets/{line-chart-m78VggnW.js → line-chart-D2DyJCml.js} +1 -1
  43. package/lib/public/assets/{list-checks-cY7o1QTL.js → list-checks-UWf1GY99.js} +1 -1
  44. package/lib/public/assets/{lock-loz8txQm.js → lock-CCJv9m_I.js} +1 -1
  45. package/lib/public/assets/{login-BYOvz4lx.js → login-f8vOVW-U.js} +1 -1
  46. package/lib/public/assets/maintenance-settings-C1PrkuAH.js +6 -0
  47. package/lib/public/assets/{monitor-C4HPHb6s.js → monitor-B2jDgwm7.js} +1 -1
  48. package/lib/public/assets/{mouse-pointer-2-BkdKtCzi.js → mouse-pointer-2-DLI1RtzU.js} +1 -1
  49. package/lib/public/assets/{network-C5e0MIWo.js → network-ebT86qoi.js} +1 -1
  50. package/lib/public/assets/{overview-tlu8ijGd.js → overview-C0aykVrd.js} +1 -1
  51. package/lib/public/assets/{page-header-FXPlo6az.js → page-header-BjzgWz-T.js} +1 -1
  52. package/lib/public/assets/{play-CWdk0_Sy.js → play-DLG9t8FU.js} +1 -1
  53. package/lib/public/assets/{plus-B2xCnntV.js → plus-nBFSMu_X.js} +1 -1
  54. package/lib/public/assets/{profile-page-D080qzr4.js → profile-page-CSl0UYlv.js} +1 -1
  55. package/lib/public/assets/{reset-password-D3u4Mbvn.js → reset-password-LeOuHqmB.js} +1 -1
  56. package/lib/public/assets/{runbook-page-hPRZMy7s.js → runbook-page-CMMeQml9.js} +1 -1
  57. package/lib/public/assets/{select-12RThAXc.js → select-88jHcl-Z.js} +1 -1
  58. package/lib/public/assets/{selector-detail-redirect-uQwvV7EQ.js → selector-detail-redirect-BbXKJjZM.js} +1 -1
  59. package/lib/public/assets/{selector-health-page-CThoxDFO.js → selector-health-page-B4rA1Xkv.js} +2 -2
  60. package/lib/public/assets/session-detail-page-COL_RZxw.js +4 -0
  61. package/lib/public/assets/settings-GF6ZMSQ6.js +6 -0
  62. package/lib/public/assets/{stat-tile-B02WEte8.js → stat-tile-BV98e_Sv.js} +1 -1
  63. package/lib/public/assets/{tablet-Dj30VGZl.js → tablet-BiAsnFDj.js} +1 -1
  64. package/lib/public/assets/{teams-uL4fjTDR.js → teams-B4-jrr-1.js} +1 -1
  65. package/lib/public/assets/{trash-2-B54e-TfY.js → trash-2-C5RSuX0e.js} +1 -1
  66. package/lib/public/assets/{upload-B3k8WCSP.js → upload-BG7_rMXK.js} +1 -1
  67. package/lib/public/assets/{use-builds-data-BFn90NH3.js → use-builds-data-J-riQYyC.js} +1 -1
  68. package/lib/public/assets/{use-password-reset-mode-DL2TmWZ0.js → use-password-reset-mode-C8-eH-UG.js} +1 -1
  69. package/lib/public/assets/{users-CqBuxMlX.js → users-CFba5TSy.js} +1 -1
  70. package/lib/public/assets/{users-DjQSucKb.js → users-Cp0beJm3.js} +1 -1
  71. package/lib/public/assets/{video-off-T0rlt0GA.js → video-off-DDsEISjV.js} +1 -1
  72. package/lib/public/assets/webhook-settings-BGu32vSB.js +1 -0
  73. package/lib/public/assets/{zap-gBHqutZV.js → zap-l4VaXzq8.js} +1 -1
  74. package/lib/public/index.html +2 -2
  75. package/lib/schema.json +19 -46
  76. package/lib/src/XenonCapabilityManager.js +22 -5
  77. package/lib/src/app/openapi/control.yaml +71 -20
  78. package/lib/src/app/openapi/grid.yaml +23 -5
  79. package/lib/src/app/openapi/platform.yaml +136 -28
  80. package/lib/src/app/routers/control.js +30 -5
  81. package/lib/src/app/routers/dashboard.js +29 -1
  82. package/lib/src/app/routers/grid.js +32 -10
  83. package/lib/src/app/routers/streamStartConflict.js +3 -0
  84. package/lib/src/app/routers/streamType.js +7 -2
  85. package/lib/src/app/routers/webhook.js +8 -4
  86. package/lib/src/config.js +50 -5
  87. package/lib/src/dashboard/commands.js +185 -141
  88. package/lib/src/dashboard/event-manager.js +39 -6
  89. package/lib/src/data-service/appleFamily.js +43 -0
  90. package/lib/src/data-service/db.js +11 -0
  91. package/lib/src/data-service/device-service.js +46 -1
  92. package/lib/src/data-service/device-store.js +66 -3
  93. package/lib/src/data-service/deviceClaims.js +37 -0
  94. package/lib/src/data-service/deviceFieldOwners.js +25 -11
  95. package/lib/src/data-service/deviceSettings.js +79 -0
  96. package/lib/src/data-service/prisma-store.js +152 -9
  97. package/lib/src/data-service/web-config-service.js +43 -92
  98. package/lib/src/device-managers/AndroidDeviceManager.js +9 -31
  99. package/lib/src/device-managers/ios/WDAClient.js +44 -43
  100. package/lib/src/device-managers/shellCommands.js +96 -0
  101. package/lib/src/device-utils.js +143 -37
  102. package/lib/src/generated/client/edge.js +17 -3
  103. package/lib/src/generated/client/index-browser.js +14 -0
  104. package/lib/src/generated/client/index.d.ts +2054 -379
  105. package/lib/src/generated/client/index.js +17 -3
  106. package/lib/src/generated/client/package.json +1 -1
  107. package/lib/src/generated/client/schema.prisma +35 -7
  108. package/lib/src/generated/client/wasm.js +14 -0
  109. package/lib/src/interceptors/CommandInterceptor.js +29 -8
  110. package/lib/src/interceptors/xenonScripts.js +55 -0
  111. package/lib/src/interfaces/IPluginArgs.js +1 -2
  112. package/lib/src/middleware/deviceAccessGuard.js +63 -9
  113. package/lib/src/plugin.js +15 -1
  114. package/lib/src/prisma.js +1 -1
  115. package/lib/src/scripts/database-check.js +124 -0
  116. package/lib/src/services/AIService.js +99 -0
  117. package/lib/src/services/CleanupService.js +6 -1
  118. package/lib/src/services/InterceptorService.js +70 -13
  119. package/lib/src/services/NetworkConditioningService.js +85 -88
  120. package/lib/src/services/NotificationService.js +36 -29
  121. package/lib/src/services/OrphanSweeper.js +5 -0
  122. package/lib/src/services/PortAllocator.js +5 -0
  123. package/lib/src/services/ServerManager.js +97 -8
  124. package/lib/src/services/SessionLifecycleService.js +63 -53
  125. package/lib/src/services/ShutdownCoordinator.js +33 -0
  126. package/lib/src/services/TeamService.js +20 -3
  127. package/lib/src/services/device-access/SessionOwnerResolver.js +26 -0
  128. package/lib/src/services/device-access/deviceAccessPolicy.js +38 -6
  129. package/lib/src/services/device-access/leaseHold.js +26 -0
  130. package/lib/src/services/device-access/ticketActorAccess.js +6 -0
  131. package/lib/src/services/healing/HealingOrchestrator.js +32 -1
  132. package/lib/src/services/interceptor/AndroidProxyAdapter.js +18 -0
  133. package/lib/src/services/interceptor/interceptorOptions.js +44 -0
  134. package/lib/src/services/lease/activeLeases.js +37 -0
  135. package/lib/src/services/network/AndroidRadios.js +71 -0
  136. package/lib/src/services/network/PhoneNetworkLedger.js +184 -0
  137. package/lib/src/services/network/PhoneNetworkRestore.js +330 -0
  138. package/lib/src/services/network/adbForPhone.js +60 -0
  139. package/lib/src/services/network/phoneNetworkLock.js +20 -0
  140. package/lib/src/services/network/xenonProxy.js +107 -0
  141. package/lib/src/services/omni-vision/OmniVisionService.js +53 -43
  142. package/lib/src/services/omni-vision/VisionAssertionService.js +28 -25
  143. package/lib/src/services/omni-vision/ocrTextMatch.js +105 -0
  144. package/lib/src/services/omni-vision/screenScale.js +68 -0
  145. package/lib/src/services/recording/busy-precheck.js +24 -3
  146. package/lib/src/services/recording/concurrency-gate.js +12 -3
  147. package/lib/src/services/settings/SelfHealingSwitch.js +70 -0
  148. package/lib/src/services/settings/labSettings.js +149 -0
  149. package/lib/src/services/webhookEvents.js +173 -0
  150. package/lib/test/helpers/fake-adb.js +58 -0
  151. package/lib/test/helpers/fake-device-table.js +63 -24
  152. package/lib/test/helpers/scratch-database.js +1 -0
  153. package/lib/test/unit/TeamService.test.js +3 -0
  154. package/lib/test/unit/XenonCapabilityManager.spec.js +4 -2
  155. package/lib/test/unit/apple-family.spec.js +36 -0
  156. package/lib/test/unit/cleanup-settings-db.spec.js +103 -0
  157. package/lib/test/unit/cleanup-settings.spec.js +244 -0
  158. package/lib/test/unit/dashboard-api-paths.spec.js +101 -0
  159. package/lib/test/unit/dashboard-commands.spec.js +249 -0
  160. package/lib/test/unit/dashboard-events-team-scope.spec.js +9 -6
  161. package/lib/test/unit/database-check.spec.js +108 -0
  162. package/lib/test/unit/default-plugin-args.spec.js +33 -0
  163. package/lib/test/unit/device-access-lease.spec.js +270 -0
  164. package/lib/test/unit/device-offline-webhook.spec.js +81 -0
  165. package/lib/test/unit/device-setting-columns.spec.js +66 -0
  166. package/lib/test/unit/device-settings-loki.spec.js +87 -0
  167. package/lib/test/unit/device-settings-survive.spec.js +555 -0
  168. package/lib/test/unit/device-sync-lost-update.spec.js +5 -0
  169. package/lib/test/unit/emulator-boot.spec.js +91 -0
  170. package/lib/test/unit/hub-node-gateway-appium-server.spec.js +48 -0
  171. package/lib/test/unit/hub-node-same-host.spec.js +5 -0
  172. package/lib/test/unit/iphone-ipad-only.spec.js +132 -0
  173. package/lib/test/unit/json-logging-option.spec.js +74 -0
  174. package/lib/test/unit/lab-settings.spec.js +218 -0
  175. package/lib/test/unit/lease/allocate-lease-branch.spec.js +22 -0
  176. package/lib/test/unit/lease/session-lease-proof.spec.js +59 -0
  177. package/lib/test/unit/lease-held-phone.spec.js +196 -0
  178. package/lib/test/unit/max-sessions.spec.js +240 -0
  179. package/lib/test/unit/ocr-text-match.spec.js +44 -0
  180. package/lib/test/unit/omni-vision-analyze-screen.spec.js +72 -0
  181. package/lib/test/unit/omni-vision-ios-points.spec.js +161 -0
  182. package/lib/test/unit/omni-vision-tap-text.spec.js +129 -0
  183. package/lib/test/unit/omni-vision.spec.js +1 -1
  184. package/lib/test/unit/partial-config-file.spec.js +114 -0
  185. package/lib/test/unit/phone-network/boot-clean-up.spec.js +64 -0
  186. package/lib/test/unit/phone-network/interceptor-options.spec.js +77 -0
  187. package/lib/test/unit/phone-network/interceptor-proxy-restore.spec.js +145 -0
  188. package/lib/test/unit/phone-network/network-conditioning.spec.js +145 -0
  189. package/lib/test/unit/phone-network/phone-network-restore.spec.js +246 -0
  190. package/lib/test/unit/phone-network/session-end-paths.spec.js +182 -0
  191. package/lib/test/unit/phone-network/session-start.spec.js +110 -0
  192. package/lib/test/unit/phone-network/xenon-proxy.spec.js +69 -0
  193. package/lib/test/unit/plugin.spec.js +3 -3
  194. package/lib/test/unit/recording-options.spec.js +181 -0
  195. package/lib/test/unit/schema-required-args.spec.js +21 -16
  196. package/lib/test/unit/self-healing-boot.spec.js +75 -0
  197. package/lib/test/unit/self-healing-setting.spec.js +272 -0
  198. package/lib/test/unit/session-failed-webhook.spec.js +170 -0
  199. package/lib/test/unit/shell-commands.spec.js +133 -0
  200. package/lib/test/unit/socketServer.scopedEmit.spec.js +2 -0
  201. package/lib/test/unit/stream-start-pipelines.spec.js +210 -0
  202. package/lib/test/unit/stream-status-type.spec.js +4 -0
  203. package/lib/test/unit/vision-assertion.spec.js +118 -0
  204. package/lib/test/unit/wda-client-shell.spec.js +133 -0
  205. package/lib/test/unit/web-config-service.spec.js +79 -0
  206. package/lib/test/unit/webhook-delivery.spec.js +24 -0
  207. package/lib/test/unit/webhook-payloads.spec.js +273 -0
  208. package/lib/test/unit/xenon-execute-scripts.spec.js +138 -0
  209. package/lib/tsconfig.tsbuildinfo +1 -1
  210. package/lib/web/src/components/webhook-settings/webhookEventVariables.json +30 -0
  211. package/package.json +1 -1
  212. package/prisma/migrations/20261004140000_keep_device_settings/migration.sql +19 -0
  213. package/prisma/schema.prisma +35 -7
  214. package/schema.json +19 -46
  215. package/scripts/generate-types-from-schema.js +7 -2
  216. package/scripts/lib/always-present-plugin-args.js +42 -0
  217. package/lib/public/assets/DeviceMosaicView-ChhHnpFQ.js +0 -2
  218. package/lib/public/assets/device-explorer-DSpAA_t9.js +0 -279
  219. package/lib/public/assets/maintenance-settings-BxbA7SkB.js +0 -6
  220. package/lib/public/assets/recording-group-store-B75435xR.js +0 -26
  221. package/lib/public/assets/session-detail-page-Bc02YjMm.js +0 -4
  222. package/lib/public/assets/settings-C1VIluuT.js +0 -6
  223. package/lib/public/assets/webhook-settings-DAHgnJyZ.js +0 -1
@@ -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
 
@@ -20480,6 +21626,7 @@ export namespace Prisma {
20480
21626
  name?: boolean
20481
21627
  createdAt?: boolean
20482
21628
  devices?: boolean | Team$devicesArgs<ExtArgs>
21629
+ deviceSettings?: boolean | Team$deviceSettingsArgs<ExtArgs>
20483
21630
  apiKeys?: boolean | Team$apiKeysArgs<ExtArgs>
20484
21631
  members?: boolean | Team$membersArgs<ExtArgs>
20485
21632
  apps?: boolean | Team$appsArgs<ExtArgs>
@@ -20500,6 +21647,7 @@ export namespace Prisma {
20500
21647
 
20501
21648
  export type TeamInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
20502
21649
  devices?: boolean | Team$devicesArgs<ExtArgs>
21650
+ deviceSettings?: boolean | Team$deviceSettingsArgs<ExtArgs>
20503
21651
  apiKeys?: boolean | Team$apiKeysArgs<ExtArgs>
20504
21652
  members?: boolean | Team$membersArgs<ExtArgs>
20505
21653
  apps?: boolean | Team$appsArgs<ExtArgs>
@@ -20511,6 +21659,7 @@ export namespace Prisma {
20511
21659
  name: "Team"
20512
21660
  objects: {
20513
21661
  devices: Prisma.$DevicePayload<ExtArgs>[]
21662
+ deviceSettings: Prisma.$DeviceSettingPayload<ExtArgs>[]
20514
21663
  apiKeys: Prisma.$ApiKeyPayload<ExtArgs>[]
20515
21664
  members: Prisma.$TeamMemberPayload<ExtArgs>[]
20516
21665
  apps: Prisma.$AppPayload<ExtArgs>[]
@@ -20884,6 +22033,7 @@ export namespace Prisma {
20884
22033
  export interface Prisma__TeamClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
20885
22034
  readonly [Symbol.toStringTag]: "PrismaPromise"
20886
22035
  devices<T extends Team$devicesArgs<ExtArgs> = {}>(args?: Subset<T, Team$devicesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findMany"> | Null>
22036
+ deviceSettings<T extends Team$deviceSettingsArgs<ExtArgs> = {}>(args?: Subset<T, Team$deviceSettingsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$DeviceSettingPayload<ExtArgs>, T, "findMany"> | Null>
20887
22037
  apiKeys<T extends Team$apiKeysArgs<ExtArgs> = {}>(args?: Subset<T, Team$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany"> | Null>
20888
22038
  members<T extends Team$membersArgs<ExtArgs> = {}>(args?: Subset<T, Team$membersArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$TeamMemberPayload<ExtArgs>, T, "findMany"> | Null>
20889
22039
  apps<T extends Team$appsArgs<ExtArgs> = {}>(args?: Subset<T, Team$appsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppPayload<ExtArgs>, T, "findMany"> | Null>
@@ -21250,6 +22400,26 @@ export namespace Prisma {
21250
22400
  distinct?: DeviceScalarFieldEnum | DeviceScalarFieldEnum[]
21251
22401
  }
21252
22402
 
22403
+ /**
22404
+ * Team.deviceSettings
22405
+ */
22406
+ export type Team$deviceSettingsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
22407
+ /**
22408
+ * Select specific fields to fetch from the DeviceSetting
22409
+ */
22410
+ select?: DeviceSettingSelect<ExtArgs> | null
22411
+ /**
22412
+ * Choose, which related nodes to fetch as well
22413
+ */
22414
+ include?: DeviceSettingInclude<ExtArgs> | null
22415
+ where?: DeviceSettingWhereInput
22416
+ orderBy?: DeviceSettingOrderByWithRelationInput | DeviceSettingOrderByWithRelationInput[]
22417
+ cursor?: DeviceSettingWhereUniqueInput
22418
+ take?: number
22419
+ skip?: number
22420
+ distinct?: DeviceSettingScalarFieldEnum | DeviceSettingScalarFieldEnum[]
22421
+ }
22422
+
21253
22423
  /**
21254
22424
  * Team.apiKeys
21255
22425
  */
@@ -32269,6 +33439,22 @@ export namespace Prisma {
32269
33439
  export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof DeviceScalarFieldEnum]
32270
33440
 
32271
33441
 
33442
+ export const DeviceSettingScalarFieldEnum: {
33443
+ udid: 'udid',
33444
+ host: 'host',
33445
+ teamId: 'teamId',
33446
+ tags: 'tags',
33447
+ userBlocked: 'userBlocked',
33448
+ reservationReason: 'reservationReason',
33449
+ reservedBy: 'reservedBy',
33450
+ reservedByUserId: 'reservedByUserId',
33451
+ reservedUntil: 'reservedUntil',
33452
+ updatedAt: 'updatedAt'
33453
+ };
33454
+
33455
+ export type DeviceSettingScalarFieldEnum = (typeof DeviceSettingScalarFieldEnum)[keyof typeof DeviceSettingScalarFieldEnum]
33456
+
33457
+
32272
33458
  export const PendingSessionScalarFieldEnum: {
32273
33459
  id: 'id',
32274
33460
  capability_id: 'capability_id',
@@ -33665,6 +34851,89 @@ export namespace Prisma {
33665
34851
  nodeHold?: StringNullableWithAggregatesFilter<"Device"> | string | null
33666
34852
  }
33667
34853
 
34854
+ export type DeviceSettingWhereInput = {
34855
+ AND?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34856
+ OR?: DeviceSettingWhereInput[]
34857
+ NOT?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34858
+ udid?: StringFilter<"DeviceSetting"> | string
34859
+ host?: StringFilter<"DeviceSetting"> | string
34860
+ teamId?: StringNullableFilter<"DeviceSetting"> | string | null
34861
+ tags?: StringNullableFilter<"DeviceSetting"> | string | null
34862
+ userBlocked?: BoolFilter<"DeviceSetting"> | boolean
34863
+ reservationReason?: StringNullableFilter<"DeviceSetting"> | string | null
34864
+ reservedBy?: StringNullableFilter<"DeviceSetting"> | string | null
34865
+ reservedByUserId?: StringNullableFilter<"DeviceSetting"> | string | null
34866
+ reservedUntil?: FloatNullableFilter<"DeviceSetting"> | number | null
34867
+ updatedAt?: DateTimeFilter<"DeviceSetting"> | Date | string
34868
+ team?: XOR<TeamNullableRelationFilter, TeamWhereInput> | null
34869
+ }
34870
+
34871
+ export type DeviceSettingOrderByWithRelationInput = {
34872
+ udid?: SortOrder
34873
+ host?: SortOrder
34874
+ teamId?: SortOrderInput | SortOrder
34875
+ tags?: SortOrderInput | SortOrder
34876
+ userBlocked?: SortOrder
34877
+ reservationReason?: SortOrderInput | SortOrder
34878
+ reservedBy?: SortOrderInput | SortOrder
34879
+ reservedByUserId?: SortOrderInput | SortOrder
34880
+ reservedUntil?: SortOrderInput | SortOrder
34881
+ updatedAt?: SortOrder
34882
+ team?: TeamOrderByWithRelationInput
34883
+ }
34884
+
34885
+ export type DeviceSettingWhereUniqueInput = Prisma.AtLeast<{
34886
+ udid_host?: DeviceSettingUdidHostCompoundUniqueInput
34887
+ AND?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34888
+ OR?: DeviceSettingWhereInput[]
34889
+ NOT?: DeviceSettingWhereInput | DeviceSettingWhereInput[]
34890
+ udid?: StringFilter<"DeviceSetting"> | string
34891
+ host?: StringFilter<"DeviceSetting"> | string
34892
+ teamId?: StringNullableFilter<"DeviceSetting"> | string | null
34893
+ tags?: StringNullableFilter<"DeviceSetting"> | string | null
34894
+ userBlocked?: BoolFilter<"DeviceSetting"> | boolean
34895
+ reservationReason?: StringNullableFilter<"DeviceSetting"> | string | null
34896
+ reservedBy?: StringNullableFilter<"DeviceSetting"> | string | null
34897
+ reservedByUserId?: StringNullableFilter<"DeviceSetting"> | string | null
34898
+ reservedUntil?: FloatNullableFilter<"DeviceSetting"> | number | null
34899
+ updatedAt?: DateTimeFilter<"DeviceSetting"> | Date | string
34900
+ team?: XOR<TeamNullableRelationFilter, TeamWhereInput> | null
34901
+ }, "udid_host">
34902
+
34903
+ export type DeviceSettingOrderByWithAggregationInput = {
34904
+ udid?: SortOrder
34905
+ host?: SortOrder
34906
+ teamId?: SortOrderInput | SortOrder
34907
+ tags?: SortOrderInput | SortOrder
34908
+ userBlocked?: SortOrder
34909
+ reservationReason?: SortOrderInput | SortOrder
34910
+ reservedBy?: SortOrderInput | SortOrder
34911
+ reservedByUserId?: SortOrderInput | SortOrder
34912
+ reservedUntil?: SortOrderInput | SortOrder
34913
+ updatedAt?: SortOrder
34914
+ _count?: DeviceSettingCountOrderByAggregateInput
34915
+ _avg?: DeviceSettingAvgOrderByAggregateInput
34916
+ _max?: DeviceSettingMaxOrderByAggregateInput
34917
+ _min?: DeviceSettingMinOrderByAggregateInput
34918
+ _sum?: DeviceSettingSumOrderByAggregateInput
34919
+ }
34920
+
34921
+ export type DeviceSettingScalarWhereWithAggregatesInput = {
34922
+ AND?: DeviceSettingScalarWhereWithAggregatesInput | DeviceSettingScalarWhereWithAggregatesInput[]
34923
+ OR?: DeviceSettingScalarWhereWithAggregatesInput[]
34924
+ NOT?: DeviceSettingScalarWhereWithAggregatesInput | DeviceSettingScalarWhereWithAggregatesInput[]
34925
+ udid?: StringWithAggregatesFilter<"DeviceSetting"> | string
34926
+ host?: StringWithAggregatesFilter<"DeviceSetting"> | string
34927
+ teamId?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34928
+ tags?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34929
+ userBlocked?: BoolWithAggregatesFilter<"DeviceSetting"> | boolean
34930
+ reservationReason?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34931
+ reservedBy?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34932
+ reservedByUserId?: StringNullableWithAggregatesFilter<"DeviceSetting"> | string | null
34933
+ reservedUntil?: FloatNullableWithAggregatesFilter<"DeviceSetting"> | number | null
34934
+ updatedAt?: DateTimeWithAggregatesFilter<"DeviceSetting"> | Date | string
34935
+ }
34936
+
33668
34937
  export type PendingSessionWhereInput = {
33669
34938
  AND?: PendingSessionWhereInput | PendingSessionWhereInput[]
33670
34939
  OR?: PendingSessionWhereInput[]
@@ -34220,6 +35489,7 @@ export namespace Prisma {
34220
35489
  name?: StringFilter<"Team"> | string
34221
35490
  createdAt?: DateTimeFilter<"Team"> | Date | string
34222
35491
  devices?: DeviceListRelationFilter
35492
+ deviceSettings?: DeviceSettingListRelationFilter
34223
35493
  apiKeys?: ApiKeyListRelationFilter
34224
35494
  members?: TeamMemberListRelationFilter
34225
35495
  apps?: AppListRelationFilter
@@ -34230,6 +35500,7 @@ export namespace Prisma {
34230
35500
  name?: SortOrder
34231
35501
  createdAt?: SortOrder
34232
35502
  devices?: DeviceOrderByRelationAggregateInput
35503
+ deviceSettings?: DeviceSettingOrderByRelationAggregateInput
34233
35504
  apiKeys?: ApiKeyOrderByRelationAggregateInput
34234
35505
  members?: TeamMemberOrderByRelationAggregateInput
34235
35506
  apps?: AppOrderByRelationAggregateInput
@@ -34243,6 +35514,7 @@ export namespace Prisma {
34243
35514
  NOT?: TeamWhereInput | TeamWhereInput[]
34244
35515
  createdAt?: DateTimeFilter<"Team"> | Date | string
34245
35516
  devices?: DeviceListRelationFilter
35517
+ deviceSettings?: DeviceSettingListRelationFilter
34246
35518
  apiKeys?: ApiKeyListRelationFilter
34247
35519
  members?: TeamMemberListRelationFilter
34248
35520
  apps?: AppListRelationFilter
@@ -36149,77 +37421,139 @@ export namespace Prisma {
36149
37421
  cpuArchitecture?: NullableStringFieldUpdateOperationsInput | string | null
36150
37422
  owningSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36151
37423
  lockedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36152
- teamId?: NullableStringFieldUpdateOperationsInput | string | null
37424
+ teamId?: NullableStringFieldUpdateOperationsInput | string | null
37425
+ claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
37426
+ claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
37427
+ nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
37428
+ nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
37429
+ }
37430
+
37431
+ export type DeviceCreateManyInput = {
37432
+ udid: string
37433
+ host: string
37434
+ systemPort?: number | null
37435
+ proxyPort?: number | null
37436
+ proxyHost?: string | null
37437
+ wdaLocalPort?: number | null
37438
+ name?: string | null
37439
+ state?: string | null
37440
+ sdk?: string | null
37441
+ platform?: string | null
37442
+ deviceType?: string | null
37443
+ busy?: boolean | null
37444
+ userBlocked?: boolean | null
37445
+ realDevice?: boolean | null
37446
+ session_id?: string | null
37447
+ offline?: boolean | null
37448
+ mjpegServerPort?: number | null
37449
+ lastCmdExecutedAt?: number | null
37450
+ totalUtilizationTimeMilliSec?: number
37451
+ sessionStartTime?: number
37452
+ newCommandTimeout?: number | null
37453
+ cloud?: string | null
37454
+ derivedDataPath?: string | null
37455
+ chromeDriverPath?: string | null
37456
+ capability?: string | null
37457
+ adbRemoteHost?: string | null
37458
+ adbPort?: number | null
37459
+ nodeId?: string | null
37460
+ screenWidth?: string | null
37461
+ screenHeight?: string | null
37462
+ dashboard_link?: string | null
37463
+ total_session_count?: number | null
37464
+ createdAt?: Date | string
37465
+ updatedAt?: Date | string
37466
+ healthCheckError?: string | null
37467
+ healthStatus?: string | null
37468
+ lastHealthCheckAt?: number | null
37469
+ batteryLevel?: number | null
37470
+ reservationReason?: string | null
37471
+ reservedBy?: string | null
37472
+ reservedByUserId?: string | null
37473
+ reservedUntil?: number | null
37474
+ storageFree?: string | null
37475
+ tags?: string | null
37476
+ thermalStatus?: string | null
37477
+ marketingName?: string | null
37478
+ model?: string | null
37479
+ manufacturer?: string | null
37480
+ formFactor?: string | null
37481
+ sessionProgress?: string | null
37482
+ totalHealedCount?: number | null
37483
+ ip?: string | null
37484
+ cpuArchitecture?: string | null
37485
+ owningSessionId?: string | null
37486
+ lockedAt?: number | null
37487
+ teamId?: string | null
37488
+ claimSessionId?: string | null
37489
+ claimedAt?: number | null
37490
+ nodeBusy?: boolean | null
37491
+ nodeHold?: string | null
37492
+ }
37493
+
37494
+ export type DeviceUpdateManyMutationInput = {
37495
+ udid?: StringFieldUpdateOperationsInput | string
37496
+ host?: StringFieldUpdateOperationsInput | string
37497
+ systemPort?: NullableIntFieldUpdateOperationsInput | number | null
37498
+ proxyPort?: NullableIntFieldUpdateOperationsInput | number | null
37499
+ proxyHost?: NullableStringFieldUpdateOperationsInput | string | null
37500
+ wdaLocalPort?: NullableIntFieldUpdateOperationsInput | number | null
37501
+ name?: NullableStringFieldUpdateOperationsInput | string | null
37502
+ state?: NullableStringFieldUpdateOperationsInput | string | null
37503
+ sdk?: NullableStringFieldUpdateOperationsInput | string | null
37504
+ platform?: NullableStringFieldUpdateOperationsInput | string | null
37505
+ deviceType?: NullableStringFieldUpdateOperationsInput | string | null
37506
+ busy?: NullableBoolFieldUpdateOperationsInput | boolean | null
37507
+ userBlocked?: NullableBoolFieldUpdateOperationsInput | boolean | null
37508
+ realDevice?: NullableBoolFieldUpdateOperationsInput | boolean | null
37509
+ session_id?: NullableStringFieldUpdateOperationsInput | string | null
37510
+ offline?: NullableBoolFieldUpdateOperationsInput | boolean | null
37511
+ mjpegServerPort?: NullableIntFieldUpdateOperationsInput | number | null
37512
+ lastCmdExecutedAt?: NullableFloatFieldUpdateOperationsInput | number | null
37513
+ totalUtilizationTimeMilliSec?: FloatFieldUpdateOperationsInput | number
37514
+ sessionStartTime?: FloatFieldUpdateOperationsInput | number
37515
+ newCommandTimeout?: NullableIntFieldUpdateOperationsInput | number | null
37516
+ cloud?: NullableStringFieldUpdateOperationsInput | string | null
37517
+ derivedDataPath?: NullableStringFieldUpdateOperationsInput | string | null
37518
+ chromeDriverPath?: NullableStringFieldUpdateOperationsInput | string | null
37519
+ capability?: NullableStringFieldUpdateOperationsInput | string | null
37520
+ adbRemoteHost?: NullableStringFieldUpdateOperationsInput | string | null
37521
+ adbPort?: NullableIntFieldUpdateOperationsInput | number | null
37522
+ nodeId?: NullableStringFieldUpdateOperationsInput | string | null
37523
+ screenWidth?: NullableStringFieldUpdateOperationsInput | string | null
37524
+ screenHeight?: NullableStringFieldUpdateOperationsInput | string | null
37525
+ dashboard_link?: NullableStringFieldUpdateOperationsInput | string | null
37526
+ total_session_count?: NullableIntFieldUpdateOperationsInput | number | null
37527
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
37528
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
37529
+ healthCheckError?: NullableStringFieldUpdateOperationsInput | string | null
37530
+ healthStatus?: NullableStringFieldUpdateOperationsInput | string | null
37531
+ lastHealthCheckAt?: NullableFloatFieldUpdateOperationsInput | number | null
37532
+ batteryLevel?: NullableIntFieldUpdateOperationsInput | number | null
37533
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37534
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37535
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37536
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
37537
+ storageFree?: NullableStringFieldUpdateOperationsInput | string | null
37538
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37539
+ thermalStatus?: NullableStringFieldUpdateOperationsInput | string | null
37540
+ marketingName?: NullableStringFieldUpdateOperationsInput | string | null
37541
+ model?: NullableStringFieldUpdateOperationsInput | string | null
37542
+ manufacturer?: NullableStringFieldUpdateOperationsInput | string | null
37543
+ formFactor?: NullableStringFieldUpdateOperationsInput | string | null
37544
+ sessionProgress?: NullableStringFieldUpdateOperationsInput | string | null
37545
+ totalHealedCount?: NullableIntFieldUpdateOperationsInput | number | null
37546
+ ip?: NullableStringFieldUpdateOperationsInput | string | null
37547
+ cpuArchitecture?: NullableStringFieldUpdateOperationsInput | string | null
37548
+ owningSessionId?: NullableStringFieldUpdateOperationsInput | string | null
37549
+ lockedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36153
37550
  claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36154
37551
  claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36155
37552
  nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
36156
37553
  nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
36157
37554
  }
36158
37555
 
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 = {
37556
+ export type DeviceUncheckedUpdateManyInput = {
36223
37557
  udid?: StringFieldUpdateOperationsInput | string
36224
37558
  host?: StringFieldUpdateOperationsInput | string
36225
37559
  systemPort?: NullableIntFieldUpdateOperationsInput | number | null
@@ -36275,73 +37609,101 @@ export namespace Prisma {
36275
37609
  cpuArchitecture?: NullableStringFieldUpdateOperationsInput | string | null
36276
37610
  owningSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36277
37611
  lockedAt?: NullableFloatFieldUpdateOperationsInput | number | null
37612
+ teamId?: NullableStringFieldUpdateOperationsInput | string | null
36278
37613
  claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36279
37614
  claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36280
37615
  nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
36281
37616
  nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
36282
37617
  }
36283
37618
 
36284
- export type DeviceUncheckedUpdateManyInput = {
37619
+ export type DeviceSettingCreateInput = {
37620
+ udid: string
37621
+ host: string
37622
+ tags?: string | null
37623
+ userBlocked?: boolean
37624
+ reservationReason?: string | null
37625
+ reservedBy?: string | null
37626
+ reservedByUserId?: string | null
37627
+ reservedUntil?: number | null
37628
+ updatedAt?: Date | string
37629
+ team?: TeamCreateNestedOneWithoutDeviceSettingsInput
37630
+ }
37631
+
37632
+ export type DeviceSettingUncheckedCreateInput = {
37633
+ udid: string
37634
+ host: string
37635
+ teamId?: string | null
37636
+ tags?: string | null
37637
+ userBlocked?: boolean
37638
+ reservationReason?: string | null
37639
+ reservedBy?: string | null
37640
+ reservedByUserId?: string | null
37641
+ reservedUntil?: number | null
37642
+ updatedAt?: Date | string
37643
+ }
37644
+
37645
+ export type DeviceSettingUpdateInput = {
36285
37646
  udid?: StringFieldUpdateOperationsInput | string
36286
37647
  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
37648
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37649
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
37650
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37651
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37652
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37653
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
36318
37654
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
36319
- healthCheckError?: NullableStringFieldUpdateOperationsInput | string | null
36320
- healthStatus?: NullableStringFieldUpdateOperationsInput | string | null
36321
- lastHealthCheckAt?: NullableFloatFieldUpdateOperationsInput | number | null
36322
- batteryLevel?: NullableIntFieldUpdateOperationsInput | number | null
37655
+ team?: TeamUpdateOneWithoutDeviceSettingsNestedInput
37656
+ }
37657
+
37658
+ export type DeviceSettingUncheckedUpdateInput = {
37659
+ udid?: StringFieldUpdateOperationsInput | string
37660
+ host?: StringFieldUpdateOperationsInput | string
37661
+ teamId?: NullableStringFieldUpdateOperationsInput | string | null
37662
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37663
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
36323
37664
  reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
36324
37665
  reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
36325
37666
  reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
36326
37667
  reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
36327
- storageFree?: NullableStringFieldUpdateOperationsInput | string | null
37668
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
37669
+ }
37670
+
37671
+ export type DeviceSettingCreateManyInput = {
37672
+ udid: string
37673
+ host: string
37674
+ teamId?: string | null
37675
+ tags?: string | null
37676
+ userBlocked?: boolean
37677
+ reservationReason?: string | null
37678
+ reservedBy?: string | null
37679
+ reservedByUserId?: string | null
37680
+ reservedUntil?: number | null
37681
+ updatedAt?: Date | string
37682
+ }
37683
+
37684
+ export type DeviceSettingUpdateManyMutationInput = {
37685
+ udid?: StringFieldUpdateOperationsInput | string
37686
+ host?: StringFieldUpdateOperationsInput | string
36328
37687
  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
37688
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
37689
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37690
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37691
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37692
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
37693
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
37694
+ }
37695
+
37696
+ export type DeviceSettingUncheckedUpdateManyInput = {
37697
+ udid?: StringFieldUpdateOperationsInput | string
37698
+ host?: StringFieldUpdateOperationsInput | string
36340
37699
  teamId?: NullableStringFieldUpdateOperationsInput | string | null
36341
- claimSessionId?: NullableStringFieldUpdateOperationsInput | string | null
36342
- claimedAt?: NullableFloatFieldUpdateOperationsInput | number | null
36343
- nodeBusy?: NullableBoolFieldUpdateOperationsInput | boolean | null
36344
- nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
37700
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
37701
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
37702
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
37703
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
37704
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
37705
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
37706
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
36345
37707
  }
36346
37708
 
36347
37709
  export type PendingSessionCreateInput = {
@@ -36950,6 +38312,7 @@ export namespace Prisma {
36950
38312
  name: string
36951
38313
  createdAt?: Date | string
36952
38314
  devices?: DeviceCreateNestedManyWithoutTeamInput
38315
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
36953
38316
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
36954
38317
  members?: TeamMemberCreateNestedManyWithoutTeamInput
36955
38318
  apps?: AppCreateNestedManyWithoutTeamInput
@@ -36960,6 +38323,7 @@ export namespace Prisma {
36960
38323
  name: string
36961
38324
  createdAt?: Date | string
36962
38325
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
38326
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
36963
38327
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
36964
38328
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
36965
38329
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
@@ -36970,6 +38334,7 @@ export namespace Prisma {
36970
38334
  name?: StringFieldUpdateOperationsInput | string
36971
38335
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36972
38336
  devices?: DeviceUpdateManyWithoutTeamNestedInput
38337
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
36973
38338
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
36974
38339
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
36975
38340
  apps?: AppUpdateManyWithoutTeamNestedInput
@@ -36980,6 +38345,7 @@ export namespace Prisma {
36980
38345
  name?: StringFieldUpdateOperationsInput | string
36981
38346
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
36982
38347
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
38348
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
36983
38349
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
36984
38350
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
36985
38351
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
@@ -38675,26 +40041,89 @@ export namespace Prisma {
38675
40041
  nodeHold?: SortOrder
38676
40042
  }
38677
40043
 
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 = {
40044
+ export type DeviceAvgOrderByAggregateInput = {
40045
+ systemPort?: SortOrder
40046
+ proxyPort?: SortOrder
40047
+ wdaLocalPort?: SortOrder
40048
+ mjpegServerPort?: SortOrder
40049
+ lastCmdExecutedAt?: SortOrder
40050
+ totalUtilizationTimeMilliSec?: SortOrder
40051
+ sessionStartTime?: SortOrder
40052
+ newCommandTimeout?: SortOrder
40053
+ adbPort?: SortOrder
40054
+ total_session_count?: SortOrder
40055
+ lastHealthCheckAt?: SortOrder
40056
+ batteryLevel?: SortOrder
40057
+ reservedUntil?: SortOrder
40058
+ totalHealedCount?: SortOrder
40059
+ lockedAt?: SortOrder
40060
+ claimedAt?: SortOrder
40061
+ }
40062
+
40063
+ export type DeviceMaxOrderByAggregateInput = {
40064
+ udid?: SortOrder
40065
+ host?: SortOrder
40066
+ systemPort?: SortOrder
40067
+ proxyPort?: SortOrder
40068
+ proxyHost?: SortOrder
40069
+ wdaLocalPort?: SortOrder
40070
+ name?: SortOrder
40071
+ state?: SortOrder
40072
+ sdk?: SortOrder
40073
+ platform?: SortOrder
40074
+ deviceType?: SortOrder
40075
+ busy?: SortOrder
40076
+ userBlocked?: SortOrder
40077
+ realDevice?: SortOrder
40078
+ session_id?: SortOrder
40079
+ offline?: SortOrder
40080
+ mjpegServerPort?: SortOrder
40081
+ lastCmdExecutedAt?: SortOrder
40082
+ totalUtilizationTimeMilliSec?: SortOrder
40083
+ sessionStartTime?: SortOrder
40084
+ newCommandTimeout?: SortOrder
40085
+ cloud?: SortOrder
40086
+ derivedDataPath?: SortOrder
40087
+ chromeDriverPath?: SortOrder
40088
+ capability?: SortOrder
40089
+ adbRemoteHost?: SortOrder
40090
+ adbPort?: SortOrder
40091
+ nodeId?: SortOrder
40092
+ screenWidth?: SortOrder
40093
+ screenHeight?: SortOrder
40094
+ dashboard_link?: SortOrder
40095
+ total_session_count?: SortOrder
40096
+ createdAt?: SortOrder
40097
+ updatedAt?: SortOrder
40098
+ healthCheckError?: SortOrder
40099
+ healthStatus?: SortOrder
40100
+ lastHealthCheckAt?: SortOrder
40101
+ batteryLevel?: SortOrder
40102
+ reservationReason?: SortOrder
40103
+ reservedBy?: SortOrder
40104
+ reservedByUserId?: SortOrder
40105
+ reservedUntil?: SortOrder
40106
+ storageFree?: SortOrder
40107
+ tags?: SortOrder
40108
+ thermalStatus?: SortOrder
40109
+ marketingName?: SortOrder
40110
+ model?: SortOrder
40111
+ manufacturer?: SortOrder
40112
+ formFactor?: SortOrder
40113
+ sessionProgress?: SortOrder
40114
+ totalHealedCount?: SortOrder
40115
+ ip?: SortOrder
40116
+ cpuArchitecture?: SortOrder
40117
+ owningSessionId?: SortOrder
40118
+ lockedAt?: SortOrder
40119
+ teamId?: SortOrder
40120
+ claimSessionId?: SortOrder
40121
+ claimedAt?: SortOrder
40122
+ nodeBusy?: SortOrder
40123
+ nodeHold?: SortOrder
40124
+ }
40125
+
40126
+ export type DeviceMinOrderByAggregateInput = {
38698
40127
  udid?: SortOrder
38699
40128
  host?: SortOrder
38700
40129
  systemPort?: SortOrder
@@ -38757,86 +40186,75 @@ export namespace Prisma {
38757
40186
  nodeHold?: SortOrder
38758
40187
  }
38759
40188
 
38760
- export type DeviceMinOrderByAggregateInput = {
38761
- udid?: SortOrder
38762
- host?: SortOrder
40189
+ export type DeviceSumOrderByAggregateInput = {
38763
40190
  systemPort?: SortOrder
38764
40191
  proxyPort?: SortOrder
38765
- proxyHost?: SortOrder
38766
40192
  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
40193
  mjpegServerPort?: SortOrder
38778
40194
  lastCmdExecutedAt?: SortOrder
38779
40195
  totalUtilizationTimeMilliSec?: SortOrder
38780
40196
  sessionStartTime?: SortOrder
38781
40197
  newCommandTimeout?: SortOrder
38782
- cloud?: SortOrder
38783
- derivedDataPath?: SortOrder
38784
- chromeDriverPath?: SortOrder
38785
- capability?: SortOrder
38786
- adbRemoteHost?: SortOrder
38787
40198
  adbPort?: SortOrder
38788
- nodeId?: SortOrder
38789
- screenWidth?: SortOrder
38790
- screenHeight?: SortOrder
38791
- dashboard_link?: SortOrder
38792
40199
  total_session_count?: SortOrder
38793
- createdAt?: SortOrder
38794
- updatedAt?: SortOrder
38795
- healthCheckError?: SortOrder
38796
- healthStatus?: SortOrder
38797
40200
  lastHealthCheckAt?: SortOrder
38798
40201
  batteryLevel?: SortOrder
40202
+ reservedUntil?: SortOrder
40203
+ totalHealedCount?: SortOrder
40204
+ lockedAt?: SortOrder
40205
+ claimedAt?: SortOrder
40206
+ }
40207
+
40208
+ export type DeviceSettingUdidHostCompoundUniqueInput = {
40209
+ udid: string
40210
+ host: string
40211
+ }
40212
+
40213
+ export type DeviceSettingCountOrderByAggregateInput = {
40214
+ udid?: SortOrder
40215
+ host?: SortOrder
40216
+ teamId?: SortOrder
40217
+ tags?: SortOrder
40218
+ userBlocked?: SortOrder
38799
40219
  reservationReason?: SortOrder
38800
40220
  reservedBy?: SortOrder
38801
40221
  reservedByUserId?: SortOrder
38802
40222
  reservedUntil?: SortOrder
38803
- storageFree?: SortOrder
40223
+ updatedAt?: SortOrder
40224
+ }
40225
+
40226
+ export type DeviceSettingAvgOrderByAggregateInput = {
40227
+ reservedUntil?: SortOrder
40228
+ }
40229
+
40230
+ export type DeviceSettingMaxOrderByAggregateInput = {
40231
+ udid?: SortOrder
40232
+ host?: SortOrder
40233
+ teamId?: SortOrder
38804
40234
  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
40235
+ userBlocked?: SortOrder
40236
+ reservationReason?: SortOrder
40237
+ reservedBy?: SortOrder
40238
+ reservedByUserId?: SortOrder
40239
+ reservedUntil?: SortOrder
40240
+ updatedAt?: SortOrder
40241
+ }
40242
+
40243
+ export type DeviceSettingMinOrderByAggregateInput = {
40244
+ udid?: SortOrder
40245
+ host?: SortOrder
38816
40246
  teamId?: SortOrder
38817
- claimSessionId?: SortOrder
38818
- claimedAt?: SortOrder
38819
- nodeBusy?: SortOrder
38820
- nodeHold?: SortOrder
40247
+ tags?: SortOrder
40248
+ userBlocked?: SortOrder
40249
+ reservationReason?: SortOrder
40250
+ reservedBy?: SortOrder
40251
+ reservedByUserId?: SortOrder
40252
+ reservedUntil?: SortOrder
40253
+ updatedAt?: SortOrder
38821
40254
  }
38822
40255
 
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
40256
+ export type DeviceSettingSumOrderByAggregateInput = {
38836
40257
  reservedUntil?: SortOrder
38837
- totalHealedCount?: SortOrder
38838
- lockedAt?: SortOrder
38839
- claimedAt?: SortOrder
38840
40258
  }
38841
40259
 
38842
40260
  export type PendingSessionCountOrderByAggregateInput = {
@@ -39163,6 +40581,12 @@ export namespace Prisma {
39163
40581
  none?: DeviceWhereInput
39164
40582
  }
39165
40583
 
40584
+ export type DeviceSettingListRelationFilter = {
40585
+ every?: DeviceSettingWhereInput
40586
+ some?: DeviceSettingWhereInput
40587
+ none?: DeviceSettingWhereInput
40588
+ }
40589
+
39166
40590
  export type ApiKeyListRelationFilter = {
39167
40591
  every?: ApiKeyWhereInput
39168
40592
  some?: ApiKeyWhereInput
@@ -39185,6 +40609,10 @@ export namespace Prisma {
39185
40609
  _count?: SortOrder
39186
40610
  }
39187
40611
 
40612
+ export type DeviceSettingOrderByRelationAggregateInput = {
40613
+ _count?: SortOrder
40614
+ }
40615
+
39188
40616
  export type ApiKeyOrderByRelationAggregateInput = {
39189
40617
  _count?: SortOrder
39190
40618
  }
@@ -40093,6 +41521,22 @@ export namespace Prisma {
40093
41521
  update?: XOR<XOR<TeamUpdateToOneWithWhereWithoutDevicesInput, TeamUpdateWithoutDevicesInput>, TeamUncheckedUpdateWithoutDevicesInput>
40094
41522
  }
40095
41523
 
41524
+ export type TeamCreateNestedOneWithoutDeviceSettingsInput = {
41525
+ create?: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
41526
+ connectOrCreate?: TeamCreateOrConnectWithoutDeviceSettingsInput
41527
+ connect?: TeamWhereUniqueInput
41528
+ }
41529
+
41530
+ export type TeamUpdateOneWithoutDeviceSettingsNestedInput = {
41531
+ create?: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
41532
+ connectOrCreate?: TeamCreateOrConnectWithoutDeviceSettingsInput
41533
+ upsert?: TeamUpsertWithoutDeviceSettingsInput
41534
+ disconnect?: TeamWhereInput | boolean
41535
+ delete?: TeamWhereInput | boolean
41536
+ connect?: TeamWhereUniqueInput
41537
+ update?: XOR<XOR<TeamUpdateToOneWithWhereWithoutDeviceSettingsInput, TeamUpdateWithoutDeviceSettingsInput>, TeamUncheckedUpdateWithoutDeviceSettingsInput>
41538
+ }
41539
+
40096
41540
  export type TeamCreateNestedOneWithoutApiKeysInput = {
40097
41541
  create?: XOR<TeamCreateWithoutApiKeysInput, TeamUncheckedCreateWithoutApiKeysInput>
40098
41542
  connectOrCreate?: TeamCreateOrConnectWithoutApiKeysInput
@@ -40130,6 +41574,13 @@ export namespace Prisma {
40130
41574
  connect?: DeviceWhereUniqueInput | DeviceWhereUniqueInput[]
40131
41575
  }
40132
41576
 
41577
+ export type DeviceSettingCreateNestedManyWithoutTeamInput = {
41578
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41579
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41580
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41581
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41582
+ }
41583
+
40133
41584
  export type ApiKeyCreateNestedManyWithoutTeamInput = {
40134
41585
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40135
41586
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -40158,6 +41609,13 @@ export namespace Prisma {
40158
41609
  connect?: DeviceWhereUniqueInput | DeviceWhereUniqueInput[]
40159
41610
  }
40160
41611
 
41612
+ export type DeviceSettingUncheckedCreateNestedManyWithoutTeamInput = {
41613
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41614
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41615
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41616
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41617
+ }
41618
+
40161
41619
  export type ApiKeyUncheckedCreateNestedManyWithoutTeamInput = {
40162
41620
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40163
41621
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -40193,6 +41651,20 @@ export namespace Prisma {
40193
41651
  deleteMany?: DeviceScalarWhereInput | DeviceScalarWhereInput[]
40194
41652
  }
40195
41653
 
41654
+ export type DeviceSettingUpdateManyWithoutTeamNestedInput = {
41655
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41656
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41657
+ upsert?: DeviceSettingUpsertWithWhereUniqueWithoutTeamInput | DeviceSettingUpsertWithWhereUniqueWithoutTeamInput[]
41658
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41659
+ set?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41660
+ disconnect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41661
+ delete?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41662
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41663
+ update?: DeviceSettingUpdateWithWhereUniqueWithoutTeamInput | DeviceSettingUpdateWithWhereUniqueWithoutTeamInput[]
41664
+ updateMany?: DeviceSettingUpdateManyWithWhereWithoutTeamInput | DeviceSettingUpdateManyWithWhereWithoutTeamInput[]
41665
+ deleteMany?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
41666
+ }
41667
+
40196
41668
  export type ApiKeyUpdateManyWithoutTeamNestedInput = {
40197
41669
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40198
41670
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -40249,6 +41721,20 @@ export namespace Prisma {
40249
41721
  deleteMany?: DeviceScalarWhereInput | DeviceScalarWhereInput[]
40250
41722
  }
40251
41723
 
41724
+ export type DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput = {
41725
+ create?: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput> | DeviceSettingCreateWithoutTeamInput[] | DeviceSettingUncheckedCreateWithoutTeamInput[]
41726
+ connectOrCreate?: DeviceSettingCreateOrConnectWithoutTeamInput | DeviceSettingCreateOrConnectWithoutTeamInput[]
41727
+ upsert?: DeviceSettingUpsertWithWhereUniqueWithoutTeamInput | DeviceSettingUpsertWithWhereUniqueWithoutTeamInput[]
41728
+ createMany?: DeviceSettingCreateManyTeamInputEnvelope
41729
+ set?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41730
+ disconnect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41731
+ delete?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41732
+ connect?: DeviceSettingWhereUniqueInput | DeviceSettingWhereUniqueInput[]
41733
+ update?: DeviceSettingUpdateWithWhereUniqueWithoutTeamInput | DeviceSettingUpdateWithWhereUniqueWithoutTeamInput[]
41734
+ updateMany?: DeviceSettingUpdateManyWithWhereWithoutTeamInput | DeviceSettingUpdateManyWithWhereWithoutTeamInput[]
41735
+ deleteMany?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
41736
+ }
41737
+
40252
41738
  export type ApiKeyUncheckedUpdateManyWithoutTeamNestedInput = {
40253
41739
  create?: XOR<ApiKeyCreateWithoutTeamInput, ApiKeyUncheckedCreateWithoutTeamInput> | ApiKeyCreateWithoutTeamInput[] | ApiKeyUncheckedCreateWithoutTeamInput[]
40254
41740
  connectOrCreate?: ApiKeyCreateOrConnectWithoutTeamInput | ApiKeyCreateOrConnectWithoutTeamInput[]
@@ -42120,6 +43606,7 @@ export namespace Prisma {
42120
43606
  name: string
42121
43607
  createdAt?: Date | string
42122
43608
  devices?: DeviceCreateNestedManyWithoutTeamInput
43609
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
42123
43610
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
42124
43611
  members?: TeamMemberCreateNestedManyWithoutTeamInput
42125
43612
  }
@@ -42129,6 +43616,7 @@ export namespace Prisma {
42129
43616
  name: string
42130
43617
  createdAt?: Date | string
42131
43618
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
43619
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
42132
43620
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
42133
43621
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
42134
43622
  }
@@ -42154,6 +43642,7 @@ export namespace Prisma {
42154
43642
  name?: StringFieldUpdateOperationsInput | string
42155
43643
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42156
43644
  devices?: DeviceUpdateManyWithoutTeamNestedInput
43645
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
42157
43646
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
42158
43647
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
42159
43648
  }
@@ -42163,6 +43652,7 @@ export namespace Prisma {
42163
43652
  name?: StringFieldUpdateOperationsInput | string
42164
43653
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42165
43654
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
43655
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
42166
43656
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
42167
43657
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
42168
43658
  }
@@ -42171,6 +43661,7 @@ export namespace Prisma {
42171
43661
  id?: string
42172
43662
  name: string
42173
43663
  createdAt?: Date | string
43664
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
42174
43665
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
42175
43666
  members?: TeamMemberCreateNestedManyWithoutTeamInput
42176
43667
  apps?: AppCreateNestedManyWithoutTeamInput
@@ -42180,6 +43671,7 @@ export namespace Prisma {
42180
43671
  id?: string
42181
43672
  name: string
42182
43673
  createdAt?: Date | string
43674
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
42183
43675
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
42184
43676
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
42185
43677
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
@@ -42205,6 +43697,7 @@ export namespace Prisma {
42205
43697
  id?: StringFieldUpdateOperationsInput | string
42206
43698
  name?: StringFieldUpdateOperationsInput | string
42207
43699
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43700
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
42208
43701
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
42209
43702
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
42210
43703
  apps?: AppUpdateManyWithoutTeamNestedInput
@@ -42214,6 +43707,63 @@ export namespace Prisma {
42214
43707
  id?: StringFieldUpdateOperationsInput | string
42215
43708
  name?: StringFieldUpdateOperationsInput | string
42216
43709
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43710
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
43711
+ apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
43712
+ members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
43713
+ apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
43714
+ }
43715
+
43716
+ export type TeamCreateWithoutDeviceSettingsInput = {
43717
+ id?: string
43718
+ name: string
43719
+ createdAt?: Date | string
43720
+ devices?: DeviceCreateNestedManyWithoutTeamInput
43721
+ apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
43722
+ members?: TeamMemberCreateNestedManyWithoutTeamInput
43723
+ apps?: AppCreateNestedManyWithoutTeamInput
43724
+ }
43725
+
43726
+ export type TeamUncheckedCreateWithoutDeviceSettingsInput = {
43727
+ id?: string
43728
+ name: string
43729
+ createdAt?: Date | string
43730
+ devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
43731
+ apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
43732
+ members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
43733
+ apps?: AppUncheckedCreateNestedManyWithoutTeamInput
43734
+ }
43735
+
43736
+ export type TeamCreateOrConnectWithoutDeviceSettingsInput = {
43737
+ where: TeamWhereUniqueInput
43738
+ create: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
43739
+ }
43740
+
43741
+ export type TeamUpsertWithoutDeviceSettingsInput = {
43742
+ update: XOR<TeamUpdateWithoutDeviceSettingsInput, TeamUncheckedUpdateWithoutDeviceSettingsInput>
43743
+ create: XOR<TeamCreateWithoutDeviceSettingsInput, TeamUncheckedCreateWithoutDeviceSettingsInput>
43744
+ where?: TeamWhereInput
43745
+ }
43746
+
43747
+ export type TeamUpdateToOneWithWhereWithoutDeviceSettingsInput = {
43748
+ where?: TeamWhereInput
43749
+ data: XOR<TeamUpdateWithoutDeviceSettingsInput, TeamUncheckedUpdateWithoutDeviceSettingsInput>
43750
+ }
43751
+
43752
+ export type TeamUpdateWithoutDeviceSettingsInput = {
43753
+ id?: StringFieldUpdateOperationsInput | string
43754
+ name?: StringFieldUpdateOperationsInput | string
43755
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43756
+ devices?: DeviceUpdateManyWithoutTeamNestedInput
43757
+ apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
43758
+ members?: TeamMemberUpdateManyWithoutTeamNestedInput
43759
+ apps?: AppUpdateManyWithoutTeamNestedInput
43760
+ }
43761
+
43762
+ export type TeamUncheckedUpdateWithoutDeviceSettingsInput = {
43763
+ id?: StringFieldUpdateOperationsInput | string
43764
+ name?: StringFieldUpdateOperationsInput | string
43765
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43766
+ devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
42217
43767
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
42218
43768
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
42219
43769
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
@@ -42224,6 +43774,7 @@ export namespace Prisma {
42224
43774
  name: string
42225
43775
  createdAt?: Date | string
42226
43776
  devices?: DeviceCreateNestedManyWithoutTeamInput
43777
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
42227
43778
  members?: TeamMemberCreateNestedManyWithoutTeamInput
42228
43779
  apps?: AppCreateNestedManyWithoutTeamInput
42229
43780
  }
@@ -42233,6 +43784,7 @@ export namespace Prisma {
42233
43784
  name: string
42234
43785
  createdAt?: Date | string
42235
43786
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
43787
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
42236
43788
  members?: TeamMemberUncheckedCreateNestedManyWithoutTeamInput
42237
43789
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
42238
43790
  }
@@ -42297,6 +43849,7 @@ export namespace Prisma {
42297
43849
  name?: StringFieldUpdateOperationsInput | string
42298
43850
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42299
43851
  devices?: DeviceUpdateManyWithoutTeamNestedInput
43852
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
42300
43853
  members?: TeamMemberUpdateManyWithoutTeamNestedInput
42301
43854
  apps?: AppUpdateManyWithoutTeamNestedInput
42302
43855
  }
@@ -42306,6 +43859,7 @@ export namespace Prisma {
42306
43859
  name?: StringFieldUpdateOperationsInput | string
42307
43860
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
42308
43861
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
43862
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
42309
43863
  members?: TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
42310
43864
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
42311
43865
  }
@@ -42488,6 +44042,39 @@ export namespace Prisma {
42488
44042
  data: DeviceCreateManyTeamInput | DeviceCreateManyTeamInput[]
42489
44043
  }
42490
44044
 
44045
+ export type DeviceSettingCreateWithoutTeamInput = {
44046
+ udid: string
44047
+ host: string
44048
+ tags?: string | null
44049
+ userBlocked?: boolean
44050
+ reservationReason?: string | null
44051
+ reservedBy?: string | null
44052
+ reservedByUserId?: string | null
44053
+ reservedUntil?: number | null
44054
+ updatedAt?: Date | string
44055
+ }
44056
+
44057
+ export type DeviceSettingUncheckedCreateWithoutTeamInput = {
44058
+ udid: string
44059
+ host: string
44060
+ tags?: string | null
44061
+ userBlocked?: boolean
44062
+ reservationReason?: string | null
44063
+ reservedBy?: string | null
44064
+ reservedByUserId?: string | null
44065
+ reservedUntil?: number | null
44066
+ updatedAt?: Date | string
44067
+ }
44068
+
44069
+ export type DeviceSettingCreateOrConnectWithoutTeamInput = {
44070
+ where: DeviceSettingWhereUniqueInput
44071
+ create: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput>
44072
+ }
44073
+
44074
+ export type DeviceSettingCreateManyTeamInputEnvelope = {
44075
+ data: DeviceSettingCreateManyTeamInput | DeviceSettingCreateManyTeamInput[]
44076
+ }
44077
+
42491
44078
  export type ApiKeyCreateWithoutTeamInput = {
42492
44079
  id?: string
42493
44080
  name: string
@@ -42665,6 +44252,38 @@ export namespace Prisma {
42665
44252
  nodeHold?: StringNullableFilter<"Device"> | string | null
42666
44253
  }
42667
44254
 
44255
+ export type DeviceSettingUpsertWithWhereUniqueWithoutTeamInput = {
44256
+ where: DeviceSettingWhereUniqueInput
44257
+ update: XOR<DeviceSettingUpdateWithoutTeamInput, DeviceSettingUncheckedUpdateWithoutTeamInput>
44258
+ create: XOR<DeviceSettingCreateWithoutTeamInput, DeviceSettingUncheckedCreateWithoutTeamInput>
44259
+ }
44260
+
44261
+ export type DeviceSettingUpdateWithWhereUniqueWithoutTeamInput = {
44262
+ where: DeviceSettingWhereUniqueInput
44263
+ data: XOR<DeviceSettingUpdateWithoutTeamInput, DeviceSettingUncheckedUpdateWithoutTeamInput>
44264
+ }
44265
+
44266
+ export type DeviceSettingUpdateManyWithWhereWithoutTeamInput = {
44267
+ where: DeviceSettingScalarWhereInput
44268
+ data: XOR<DeviceSettingUpdateManyMutationInput, DeviceSettingUncheckedUpdateManyWithoutTeamInput>
44269
+ }
44270
+
44271
+ export type DeviceSettingScalarWhereInput = {
44272
+ AND?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
44273
+ OR?: DeviceSettingScalarWhereInput[]
44274
+ NOT?: DeviceSettingScalarWhereInput | DeviceSettingScalarWhereInput[]
44275
+ udid?: StringFilter<"DeviceSetting"> | string
44276
+ host?: StringFilter<"DeviceSetting"> | string
44277
+ teamId?: StringNullableFilter<"DeviceSetting"> | string | null
44278
+ tags?: StringNullableFilter<"DeviceSetting"> | string | null
44279
+ userBlocked?: BoolFilter<"DeviceSetting"> | boolean
44280
+ reservationReason?: StringNullableFilter<"DeviceSetting"> | string | null
44281
+ reservedBy?: StringNullableFilter<"DeviceSetting"> | string | null
44282
+ reservedByUserId?: StringNullableFilter<"DeviceSetting"> | string | null
44283
+ reservedUntil?: FloatNullableFilter<"DeviceSetting"> | number | null
44284
+ updatedAt?: DateTimeFilter<"DeviceSetting"> | Date | string
44285
+ }
44286
+
42668
44287
  export type ApiKeyUpsertWithWhereUniqueWithoutTeamInput = {
42669
44288
  where: ApiKeyWhereUniqueInput
42670
44289
  update: XOR<ApiKeyUpdateWithoutTeamInput, ApiKeyUncheckedUpdateWithoutTeamInput>
@@ -43591,6 +45210,7 @@ export namespace Prisma {
43591
45210
  name: string
43592
45211
  createdAt?: Date | string
43593
45212
  devices?: DeviceCreateNestedManyWithoutTeamInput
45213
+ deviceSettings?: DeviceSettingCreateNestedManyWithoutTeamInput
43594
45214
  apiKeys?: ApiKeyCreateNestedManyWithoutTeamInput
43595
45215
  apps?: AppCreateNestedManyWithoutTeamInput
43596
45216
  }
@@ -43600,6 +45220,7 @@ export namespace Prisma {
43600
45220
  name: string
43601
45221
  createdAt?: Date | string
43602
45222
  devices?: DeviceUncheckedCreateNestedManyWithoutTeamInput
45223
+ deviceSettings?: DeviceSettingUncheckedCreateNestedManyWithoutTeamInput
43603
45224
  apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutTeamInput
43604
45225
  apps?: AppUncheckedCreateNestedManyWithoutTeamInput
43605
45226
  }
@@ -43664,6 +45285,7 @@ export namespace Prisma {
43664
45285
  name?: StringFieldUpdateOperationsInput | string
43665
45286
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43666
45287
  devices?: DeviceUpdateManyWithoutTeamNestedInput
45288
+ deviceSettings?: DeviceSettingUpdateManyWithoutTeamNestedInput
43667
45289
  apiKeys?: ApiKeyUpdateManyWithoutTeamNestedInput
43668
45290
  apps?: AppUpdateManyWithoutTeamNestedInput
43669
45291
  }
@@ -43673,6 +45295,7 @@ export namespace Prisma {
43673
45295
  name?: StringFieldUpdateOperationsInput | string
43674
45296
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
43675
45297
  devices?: DeviceUncheckedUpdateManyWithoutTeamNestedInput
45298
+ deviceSettings?: DeviceSettingUncheckedUpdateManyWithoutTeamNestedInput
43676
45299
  apiKeys?: ApiKeyUncheckedUpdateManyWithoutTeamNestedInput
43677
45300
  apps?: AppUncheckedUpdateManyWithoutTeamNestedInput
43678
45301
  }
@@ -44228,6 +45851,18 @@ export namespace Prisma {
44228
45851
  nodeHold?: string | null
44229
45852
  }
44230
45853
 
45854
+ export type DeviceSettingCreateManyTeamInput = {
45855
+ udid: string
45856
+ host: string
45857
+ tags?: string | null
45858
+ userBlocked?: boolean
45859
+ reservationReason?: string | null
45860
+ reservedBy?: string | null
45861
+ reservedByUserId?: string | null
45862
+ reservedUntil?: number | null
45863
+ updatedAt?: Date | string
45864
+ }
45865
+
44231
45866
  export type ApiKeyCreateManyTeamInput = {
44232
45867
  id?: string
44233
45868
  name: string
@@ -44448,6 +46083,42 @@ export namespace Prisma {
44448
46083
  nodeHold?: NullableStringFieldUpdateOperationsInput | string | null
44449
46084
  }
44450
46085
 
46086
+ export type DeviceSettingUpdateWithoutTeamInput = {
46087
+ udid?: StringFieldUpdateOperationsInput | string
46088
+ host?: StringFieldUpdateOperationsInput | string
46089
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
46090
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
46091
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
46092
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
46093
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
46094
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
46095
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
46096
+ }
46097
+
46098
+ export type DeviceSettingUncheckedUpdateWithoutTeamInput = {
46099
+ udid?: StringFieldUpdateOperationsInput | string
46100
+ host?: StringFieldUpdateOperationsInput | string
46101
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
46102
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
46103
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
46104
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
46105
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
46106
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
46107
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
46108
+ }
46109
+
46110
+ export type DeviceSettingUncheckedUpdateManyWithoutTeamInput = {
46111
+ udid?: StringFieldUpdateOperationsInput | string
46112
+ host?: StringFieldUpdateOperationsInput | string
46113
+ tags?: NullableStringFieldUpdateOperationsInput | string | null
46114
+ userBlocked?: BoolFieldUpdateOperationsInput | boolean
46115
+ reservationReason?: NullableStringFieldUpdateOperationsInput | string | null
46116
+ reservedBy?: NullableStringFieldUpdateOperationsInput | string | null
46117
+ reservedByUserId?: NullableStringFieldUpdateOperationsInput | string | null
46118
+ reservedUntil?: NullableFloatFieldUpdateOperationsInput | number | null
46119
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
46120
+ }
46121
+
44451
46122
  export type ApiKeyUpdateWithoutTeamInput = {
44452
46123
  id?: StringFieldUpdateOperationsInput | string
44453
46124
  name?: StringFieldUpdateOperationsInput | string
@@ -44831,6 +46502,10 @@ export namespace Prisma {
44831
46502
  * @deprecated Use DeviceDefaultArgs instead
44832
46503
  */
44833
46504
  export type DeviceArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeviceDefaultArgs<ExtArgs>
46505
+ /**
46506
+ * @deprecated Use DeviceSettingDefaultArgs instead
46507
+ */
46508
+ export type DeviceSettingArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = DeviceSettingDefaultArgs<ExtArgs>
44834
46509
  /**
44835
46510
  * @deprecated Use PendingSessionDefaultArgs instead
44836
46511
  */