@aeolus-fleet/core 0.30.1 → 0.32.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 (323) hide show
  1. package/README.md +1 -1
  2. package/dist/adapters/prisma/defined-scopes.d.ts +4 -0
  3. package/dist/adapters/prisma/defined-scopes.js +23 -0
  4. package/dist/adapters/prisma/defined-scopes.js.map +1 -0
  5. package/dist/adapters/prisma/delivery-notices.d.ts +3 -0
  6. package/dist/adapters/prisma/delivery-notices.js +7 -2
  7. package/dist/adapters/prisma/delivery-notices.js.map +1 -1
  8. package/dist/adapters/prisma/fleet-limit-settings.d.ts +6 -0
  9. package/dist/adapters/prisma/fleet-limit-settings.js +17 -0
  10. package/dist/adapters/prisma/fleet-limit-settings.js.map +1 -0
  11. package/dist/adapters/prisma/generated/browser.d.ts +35 -4
  12. package/dist/adapters/prisma/generated/client.d.ts +35 -4
  13. package/dist/adapters/prisma/generated/commonInputTypes.d.ts +226 -46
  14. package/dist/adapters/prisma/generated/enums.d.ts +38 -0
  15. package/dist/adapters/prisma/generated/enums.js +33 -1
  16. package/dist/adapters/prisma/generated/enums.js.map +1 -1
  17. package/dist/adapters/prisma/generated/internal/class.d.ts +55 -0
  18. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  19. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  20. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +524 -1
  21. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +96 -1
  22. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  23. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +100 -0
  24. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +96 -1
  25. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  26. package/dist/adapters/prisma/generated/models/DefinedScope.d.ts +1110 -0
  27. package/dist/adapters/prisma/generated/models/DefinedScope.js +2 -0
  28. package/dist/adapters/prisma/generated/models/DefinedScope.js.map +1 -0
  29. package/dist/adapters/prisma/generated/models/Delivery.d.ts +1 -10
  30. package/dist/adapters/prisma/generated/models/Fleet.d.ts +3291 -100
  31. package/dist/adapters/prisma/generated/models/InstallationSettings.d.ts +108 -4
  32. package/dist/adapters/prisma/generated/models/Meeting.d.ts +2520 -0
  33. package/dist/adapters/prisma/generated/models/Meeting.js +2 -0
  34. package/dist/adapters/prisma/generated/models/Meeting.js.map +1 -0
  35. package/dist/adapters/prisma/generated/models/MeetingMicRequest.d.ts +1398 -0
  36. package/dist/adapters/prisma/generated/models/MeetingMicRequest.js +2 -0
  37. package/dist/adapters/prisma/generated/models/MeetingMicRequest.js.map +1 -0
  38. package/dist/adapters/prisma/generated/models/MeetingParticipant.d.ts +1630 -0
  39. package/dist/adapters/prisma/generated/models/MeetingParticipant.js +2 -0
  40. package/dist/adapters/prisma/generated/models/MeetingParticipant.js.map +1 -0
  41. package/dist/adapters/prisma/generated/models/Message.d.ts +664 -350
  42. package/dist/adapters/prisma/generated/models/Schedule.d.ts +3925 -0
  43. package/dist/adapters/prisma/generated/models/Schedule.js +2 -0
  44. package/dist/adapters/prisma/generated/models/Schedule.js.map +1 -0
  45. package/dist/adapters/prisma/generated/models/Ship.d.ts +2497 -67
  46. package/dist/adapters/prisma/generated/models.d.ts +5 -0
  47. package/dist/adapters/prisma/history-pruner.d.ts +3 -0
  48. package/dist/adapters/prisma/history-pruner.js +232 -0
  49. package/dist/adapters/prisma/history-pruner.js.map +1 -0
  50. package/dist/adapters/prisma/history.js +72 -17
  51. package/dist/adapters/prisma/history.js.map +1 -1
  52. package/dist/adapters/prisma/installation.js +27 -8
  53. package/dist/adapters/prisma/installation.js.map +1 -1
  54. package/dist/adapters/prisma/meetings.d.ts +4 -0
  55. package/dist/adapters/prisma/meetings.js +103 -0
  56. package/dist/adapters/prisma/meetings.js.map +1 -0
  57. package/dist/adapters/prisma/messaging.js +8 -3
  58. package/dist/adapters/prisma/messaging.js.map +1 -1
  59. package/dist/adapters/prisma/registry.js +35 -9
  60. package/dist/adapters/prisma/registry.js.map +1 -1
  61. package/dist/adapters/prisma/rows.js +14 -1
  62. package/dist/adapters/prisma/rows.js.map +1 -1
  63. package/dist/adapters/prisma/schedules.d.ts +12 -0
  64. package/dist/adapters/prisma/schedules.js +255 -0
  65. package/dist/adapters/prisma/schedules.js.map +1 -0
  66. package/dist/adapters/prisma/unit-of-work.d.ts +8 -2
  67. package/dist/adapters/prisma/unit-of-work.js +9 -0
  68. package/dist/adapters/prisma/unit-of-work.js.map +1 -1
  69. package/dist/adapters/trpc/console.d.ts +1 -1
  70. package/dist/adapters/trpc/console.js +3 -6
  71. package/dist/adapters/trpc/console.js.map +1 -1
  72. package/dist/adapters/trpc/context.d.ts +30 -0
  73. package/dist/adapters/trpc/fleet.d.ts +233 -19
  74. package/dist/adapters/trpc/fleet.js +111 -11
  75. package/dist/adapters/trpc/fleet.js.map +1 -1
  76. package/dist/adapters/trpc/installation.d.ts +139 -4
  77. package/dist/adapters/trpc/installation.js +4 -4
  78. package/dist/adapters/trpc/installation.js.map +1 -1
  79. package/dist/adapters/trpc/router.d.ts +718 -19
  80. package/dist/adapters/trpc/schedule-output.d.ts +74 -0
  81. package/dist/adapters/trpc/schedule-output.js +71 -0
  82. package/dist/adapters/trpc/schedule-output.js.map +1 -0
  83. package/dist/adapters/trpc/ship-contract.js +7 -0
  84. package/dist/adapters/trpc/ship-contract.js.map +1 -1
  85. package/dist/adapters/trpc/ship-protocol.js +2 -1
  86. package/dist/adapters/trpc/ship-protocol.js.map +1 -1
  87. package/dist/adapters/trpc/ship.d.ts +397 -3
  88. package/dist/adapters/trpc/ship.js +323 -11
  89. package/dist/adapters/trpc/ship.js.map +1 -1
  90. package/dist/adapters/trpc/starting-prompt-text.js +5 -5
  91. package/dist/adapters/trpc/starting-prompt-text.js.map +1 -1
  92. package/dist/adapters/trpc/trpc.d.ts +8 -0
  93. package/dist/adapters/trpc/trpc.js +38 -2
  94. package/dist/adapters/trpc/trpc.js.map +1 -1
  95. package/dist/app.d.ts +5 -3
  96. package/dist/app.js +33 -5
  97. package/dist/app.js.map +1 -1
  98. package/dist/domain/messaging/add-to-meeting.d.ts +41 -0
  99. package/dist/domain/messaging/add-to-meeting.js +76 -0
  100. package/dist/domain/messaging/add-to-meeting.js.map +1 -0
  101. package/dist/domain/messaging/answer.d.ts +2 -1
  102. package/dist/domain/messaging/answer.js +3 -2
  103. package/dist/domain/messaging/answer.js.map +1 -1
  104. package/dist/domain/messaging/cancel-schedule.d.ts +35 -0
  105. package/dist/domain/messaging/cancel-schedule.js +45 -0
  106. package/dist/domain/messaging/cancel-schedule.js.map +1 -0
  107. package/dist/domain/messaging/change-meeting.d.ts +32 -0
  108. package/dist/domain/messaging/change-meeting.js +35 -0
  109. package/dist/domain/messaging/change-meeting.js.map +1 -0
  110. package/dist/domain/messaging/change-mic.d.ts +30 -0
  111. package/dist/domain/messaging/change-mic.js +27 -0
  112. package/dist/domain/messaging/change-mic.js.map +1 -0
  113. package/dist/domain/messaging/check-reach-to-each.d.ts +25 -0
  114. package/dist/domain/messaging/check-reach-to-each.js +21 -0
  115. package/dist/domain/messaging/check-reach-to-each.js.map +1 -0
  116. package/dist/domain/messaging/cron.d.ts +46 -0
  117. package/dist/domain/messaging/cron.js +164 -0
  118. package/dist/domain/messaging/cron.js.map +1 -0
  119. package/dist/domain/messaging/daily-message-limit.d.ts +7 -5
  120. package/dist/domain/messaging/daily-message-limit.js +8 -7
  121. package/dist/domain/messaging/daily-message-limit.js.map +1 -1
  122. package/dist/domain/messaging/dismiss-delivery.js +2 -1
  123. package/dist/domain/messaging/dismiss-delivery.js.map +1 -1
  124. package/dist/domain/messaging/list-schedules.d.ts +38 -0
  125. package/dist/domain/messaging/list-schedules.js +33 -0
  126. package/dist/domain/messaging/list-schedules.js.map +1 -0
  127. package/dist/domain/messaging/meeting-life.d.ts +76 -0
  128. package/dist/domain/messaging/meeting-life.js +136 -0
  129. package/dist/domain/messaging/meeting-life.js.map +1 -0
  130. package/dist/domain/messaging/meeting-notice.d.ts +58 -0
  131. package/dist/domain/messaging/meeting-notice.js +87 -0
  132. package/dist/domain/messaging/meeting-notice.js.map +1 -0
  133. package/dist/domain/messaging/meeting.d.ts +103 -0
  134. package/dist/domain/messaging/meeting.js +106 -0
  135. package/dist/domain/messaging/meeting.js.map +1 -0
  136. package/dist/domain/messaging/message.d.ts +68 -4
  137. package/dist/domain/messaging/message.js +163 -10
  138. package/dist/domain/messaging/message.js.map +1 -1
  139. package/dist/domain/messaging/mic.d.ts +64 -0
  140. package/dist/domain/messaging/mic.js +130 -0
  141. package/dist/domain/messaging/mic.js.map +1 -0
  142. package/dist/domain/messaging/open-meeting.d.ts +61 -0
  143. package/dist/domain/messaging/open-meeting.js +98 -0
  144. package/dist/domain/messaging/open-meeting.js.map +1 -0
  145. package/dist/domain/messaging/pause-schedule.d.ts +34 -0
  146. package/dist/domain/messaging/pause-schedule.js +44 -0
  147. package/dist/domain/messaging/pause-schedule.js.map +1 -0
  148. package/dist/domain/messaging/ports.d.ts +121 -3
  149. package/dist/domain/messaging/public.d.ts +4 -0
  150. package/dist/domain/messaging/public.js +2 -0
  151. package/dist/domain/messaging/public.js.map +1 -1
  152. package/dist/domain/messaging/push-receive-deliveries.d.ts +4 -1
  153. package/dist/domain/messaging/push-receive-deliveries.js +5 -2
  154. package/dist/domain/messaging/push-receive-deliveries.js.map +1 -1
  155. package/dist/domain/messaging/read-meeting.d.ts +67 -0
  156. package/dist/domain/messaging/read-meeting.js +61 -0
  157. package/dist/domain/messaging/read-meeting.js.map +1 -0
  158. package/dist/domain/messaging/receive-deliveries.d.ts +6 -1
  159. package/dist/domain/messaging/receive-deliveries.js +3 -0
  160. package/dist/domain/messaging/receive-deliveries.js.map +1 -1
  161. package/dist/domain/messaging/resend-delivery.js +5 -4
  162. package/dist/domain/messaging/resend-delivery.js.map +1 -1
  163. package/dist/domain/messaging/resume-schedule.d.ts +34 -0
  164. package/dist/domain/messaging/resume-schedule.js +37 -0
  165. package/dist/domain/messaging/resume-schedule.js.map +1 -0
  166. package/dist/domain/messaging/retired-participant.d.ts +36 -0
  167. package/dist/domain/messaging/retired-participant.js +38 -0
  168. package/dist/domain/messaging/retired-participant.js.map +1 -0
  169. package/dist/domain/messaging/retired-scheduler.d.ts +31 -0
  170. package/dist/domain/messaging/retired-scheduler.js +30 -0
  171. package/dist/domain/messaging/retired-scheduler.js.map +1 -0
  172. package/dist/domain/messaging/schedule-access.d.ts +20 -0
  173. package/dist/domain/messaging/schedule-access.js +21 -0
  174. package/dist/domain/messaging/schedule-access.js.map +1 -0
  175. package/dist/domain/messaging/schedule-limits.d.ts +25 -0
  176. package/dist/domain/messaging/schedule-limits.js +51 -0
  177. package/dist/domain/messaging/schedule-limits.js.map +1 -0
  178. package/dist/domain/messaging/schedule-message.d.ts +65 -0
  179. package/dist/domain/messaging/schedule-message.js +151 -0
  180. package/dist/domain/messaging/schedule-message.js.map +1 -0
  181. package/dist/domain/messaging/schedule.d.ts +238 -0
  182. package/dist/domain/messaging/schedule.js +316 -0
  183. package/dist/domain/messaging/schedule.js.map +1 -0
  184. package/dist/domain/messaging/send-due-schedules.d.ts +40 -0
  185. package/dist/domain/messaging/send-due-schedules.js +141 -0
  186. package/dist/domain/messaging/send-due-schedules.js.map +1 -0
  187. package/dist/domain/messaging/send-message.d.ts +18 -5
  188. package/dist/domain/messaging/send-message.js +149 -4
  189. package/dist/domain/messaging/send-message.js.map +1 -1
  190. package/dist/domain/messaging/send-request.d.ts +3 -2
  191. package/dist/domain/messaging/send-request.js +7 -2
  192. package/dist/domain/messaging/send-request.js.map +1 -1
  193. package/dist/domain/registry/applied-limits.d.ts +5 -7
  194. package/dist/domain/registry/applied-limits.js +5 -9
  195. package/dist/domain/registry/applied-limits.js.map +1 -1
  196. package/dist/domain/registry/check-manage.d.ts +23 -0
  197. package/dist/domain/registry/check-manage.js +19 -0
  198. package/dist/domain/registry/check-manage.js.map +1 -0
  199. package/dist/domain/registry/commission-ship.js +3 -3
  200. package/dist/domain/registry/commission-ship.js.map +1 -1
  201. package/dist/domain/registry/declare-scopes.d.ts +5 -3
  202. package/dist/domain/registry/declare-scopes.js +4 -2
  203. package/dist/domain/registry/declare-scopes.js.map +1 -1
  204. package/dist/domain/registry/define-scope.d.ts +33 -0
  205. package/dist/domain/registry/define-scope.js +30 -0
  206. package/dist/domain/registry/define-scope.js.map +1 -0
  207. package/dist/domain/registry/defined-scope.d.ts +68 -0
  208. package/dist/domain/registry/defined-scope.js +83 -0
  209. package/dist/domain/registry/defined-scope.js.map +1 -0
  210. package/dist/domain/registry/describe-scope.d.ts +31 -0
  211. package/dist/domain/registry/describe-scope.js +28 -0
  212. package/dist/domain/registry/describe-scope.js.map +1 -0
  213. package/dist/domain/registry/get-fleet-limits.d.ts +1 -1
  214. package/dist/domain/registry/get-fleet-limits.js +1 -1
  215. package/dist/domain/registry/get-fleet-limits.js.map +1 -1
  216. package/dist/domain/registry/grant-scopes.d.ts +4 -3
  217. package/dist/domain/registry/grant-scopes.js +4 -4
  218. package/dist/domain/registry/grant-scopes.js.map +1 -1
  219. package/dist/domain/registry/installation-fleet.d.ts +4 -1
  220. package/dist/domain/registry/installation-fleet.js +9 -2
  221. package/dist/domain/registry/installation-fleet.js.map +1 -1
  222. package/dist/domain/registry/label-value-texts.d.ts +16 -0
  223. package/dist/domain/registry/label-value-texts.js +15 -0
  224. package/dist/domain/registry/label-value-texts.js.map +1 -0
  225. package/dist/domain/registry/limits.d.ts +42 -7
  226. package/dist/domain/registry/limits.js +41 -6
  227. package/dist/domain/registry/limits.js.map +1 -1
  228. package/dist/domain/registry/list-scopes.d.ts +13 -6
  229. package/dist/domain/registry/list-scopes.js +15 -6
  230. package/dist/domain/registry/list-scopes.js.map +1 -1
  231. package/dist/domain/registry/named-namespaces.d.ts +18 -8
  232. package/dist/domain/registry/named-namespaces.js +11 -3
  233. package/dist/domain/registry/named-namespaces.js.map +1 -1
  234. package/dist/domain/registry/ports.d.ts +22 -0
  235. package/dist/domain/registry/public.d.ts +4 -1
  236. package/dist/domain/registry/public.js +4 -1
  237. package/dist/domain/registry/public.js.map +1 -1
  238. package/dist/domain/registry/read-built-in-rules.d.ts +2 -1
  239. package/dist/domain/registry/read-built-in-rules.js +3 -1
  240. package/dist/domain/registry/read-built-in-rules.js.map +1 -1
  241. package/dist/domain/registry/remove-scope.d.ts +29 -0
  242. package/dist/domain/registry/remove-scope.js +32 -0
  243. package/dist/domain/registry/remove-scope.js.map +1 -0
  244. package/dist/domain/registry/resolve-invitees.d.ts +27 -0
  245. package/dist/domain/registry/resolve-invitees.js +27 -0
  246. package/dist/domain/registry/resolve-invitees.js.map +1 -0
  247. package/dist/domain/registry/resolve-label-selection.d.ts +20 -0
  248. package/dist/domain/registry/resolve-label-selection.js +26 -0
  249. package/dist/domain/registry/resolve-label-selection.js.map +1 -0
  250. package/dist/domain/registry/resolve-selector.d.ts +2 -2
  251. package/dist/domain/registry/resolve-selector.js.map +1 -1
  252. package/dist/domain/registry/retire-ship.d.ts +11 -3
  253. package/dist/domain/registry/retire-ship.js +15 -1
  254. package/dist/domain/registry/retire-ship.js.map +1 -1
  255. package/dist/domain/registry/scope-grant.d.ts +6 -2
  256. package/dist/domain/registry/scope-grant.js +9 -5
  257. package/dist/domain/registry/scope-grant.js.map +1 -1
  258. package/dist/domain/registry/scope-namespace.d.ts +5 -1
  259. package/dist/domain/registry/scope-namespace.js +9 -2
  260. package/dist/domain/registry/scope-namespace.js.map +1 -1
  261. package/dist/domain/registry/set-fleet-limits.d.ts +8 -5
  262. package/dist/domain/registry/set-fleet-limits.js +38 -6
  263. package/dist/domain/registry/set-fleet-limits.js.map +1 -1
  264. package/dist/domain/registry/set-installation-settings.d.ts +4 -4
  265. package/dist/domain/registry/set-installation-settings.js +21 -15
  266. package/dist/domain/registry/set-installation-settings.js.map +1 -1
  267. package/dist/domain/registry/ship.d.ts +2 -0
  268. package/dist/domain/registry/ship.js +1 -1
  269. package/dist/domain/registry/ship.js.map +1 -1
  270. package/dist/domain/shared/close-health-snapshots.d.ts +5 -2
  271. package/dist/domain/shared/close-health-snapshots.js +12 -6
  272. package/dist/domain/shared/close-health-snapshots.js.map +1 -1
  273. package/dist/domain/shared/delivery-way.d.ts +4 -0
  274. package/dist/domain/shared/delivery-way.js +5 -2
  275. package/dist/domain/shared/delivery-way.js.map +1 -1
  276. package/dist/domain/shared/errors.d.ts +1 -1
  277. package/dist/domain/shared/errors.js.map +1 -1
  278. package/dist/domain/shared/history-pruning.d.ts +130 -0
  279. package/dist/domain/shared/history-pruning.js +74 -0
  280. package/dist/domain/shared/history-pruning.js.map +1 -0
  281. package/dist/domain/shared/history.d.ts +41 -5
  282. package/dist/domain/shared/history.js +19 -2
  283. package/dist/domain/shared/history.js.map +1 -1
  284. package/dist/domain/shared/prune-history.d.ts +39 -0
  285. package/dist/domain/shared/prune-history.js +98 -0
  286. package/dist/domain/shared/prune-history.js.map +1 -0
  287. package/dist/domain/shared/read-fleet-limits.d.ts +14 -4
  288. package/dist/domain/shared/read-fleet-limits.js +8 -4
  289. package/dist/domain/shared/read-fleet-limits.js.map +1 -1
  290. package/dist/domain/shared/read-message-deliveries.d.ts +30 -0
  291. package/dist/domain/shared/read-message-deliveries.js +24 -0
  292. package/dist/domain/shared/read-message-deliveries.js.map +1 -0
  293. package/dist/domain/shared/read-message.d.ts +4 -1
  294. package/dist/domain/shared/read-message.js +3 -2
  295. package/dist/domain/shared/read-message.js.map +1 -1
  296. package/dist/domain/shared/read-sent-message.d.ts +21 -7
  297. package/dist/domain/shared/read-sent-message.js +19 -6
  298. package/dist/domain/shared/read-sent-message.js.map +1 -1
  299. package/dist/domain/shared/selector.d.ts +32 -11
  300. package/dist/schedule-timer.d.ts +22 -0
  301. package/dist/schedule-timer.js +78 -0
  302. package/dist/schedule-timer.js.map +1 -0
  303. package/dist/wiring.d.ts +36 -0
  304. package/dist/wiring.js +38 -2
  305. package/dist/wiring.js.map +1 -1
  306. package/package.json +2 -2
  307. package/src/adapters/prisma/migrations/20261024160000_meetings/migration.sql +86 -0
  308. package/src/adapters/prisma/migrations/20261024160100_meetings_open_scope/migration.sql +64 -0
  309. package/src/adapters/prisma/migrations/20261024160200_meetings_mic/migration.sql +35 -0
  310. package/src/adapters/prisma/migrations/20261024160300_meetings_life/migration.sql +6 -0
  311. package/src/adapters/prisma/migrations/20261025090000_scheduled_messages_envelope/migration.sql +5 -0
  312. package/src/adapters/prisma/migrations/20261025090100_schedules/migration.sql +109 -0
  313. package/src/adapters/prisma/migrations/20261025120000_repeating_schedules/migration.sql +40 -0
  314. package/src/adapters/prisma/migrations/20261025130000_schedule_limits/migration.sql +11 -0
  315. package/src/adapters/prisma/migrations/20261025140000_send_to_a_label/migration.sql +16 -0
  316. package/src/adapters/prisma/migrations/20261025150000_define_scope/migration.sql +64 -0
  317. package/src/adapters/prisma/migrations/20261025150100_defined_scopes/migration.sql +15 -0
  318. package/src/adapters/prisma/migrations/20261025160000_retention/migration.sql +7 -0
  319. package/src/adapters/prisma/migrations/20261025170000_message_deliveries_page/migration.sql +7 -0
  320. package/src/adapters/prisma/migrations/20261025180000_history_pruning/migration.sql +25 -0
  321. package/src/adapters/prisma/migrations/20261025190000_history_pruning_crew_events/migration.sql +2 -0
  322. package/src/adapters/prisma/migrations/20261025200000_schedule_to_a_label/migration.sql +12 -0
  323. package/src/adapters/prisma/schema.prisma +383 -131
@@ -0,0 +1,3925 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as $Enums from "../enums.js";
3
+ import type * as Prisma from "../internal/prismaNamespace.js";
4
+ /**
5
+ * Model Schedule
6
+ * How a meeting's free mic passes (decision 0061, M9): the moderator's pick, or the oldest request.
7
+ * A ship's scheduled message (decision 0062): its send input as given, its timing and
8
+ * refusal strategy, its state, next send time and attempt, and its last outcome.
9
+ */
10
+ export type ScheduleModel = runtime.Types.Result.DefaultSelection<Prisma.$SchedulePayload>;
11
+ export type AggregateSchedule = {
12
+ _count: ScheduleCountAggregateOutputType | null;
13
+ _avg: ScheduleAvgAggregateOutputType | null;
14
+ _sum: ScheduleSumAggregateOutputType | null;
15
+ _min: ScheduleMinAggregateOutputType | null;
16
+ _max: ScheduleMaxAggregateOutputType | null;
17
+ };
18
+ export type ScheduleAvgAggregateOutputType = {
19
+ count: number | null;
20
+ };
21
+ export type ScheduleSumAggregateOutputType = {
22
+ count: number | null;
23
+ };
24
+ export type ScheduleMinAggregateOutputType = {
25
+ id: string | null;
26
+ fleetId: string | null;
27
+ shipId: string | null;
28
+ selectorKind: $Enums.SelectorKind | null;
29
+ selectorShipId: string | null;
30
+ selectorShipName: string | null;
31
+ selectorType: string | null;
32
+ payload: string | null;
33
+ contentType: string | null;
34
+ model: string | null;
35
+ inReplyToMessageId: string | null;
36
+ isForced: boolean | null;
37
+ timingKind: $Enums.ScheduleTimingKind | null;
38
+ onceAt: Date | null;
39
+ every: string | null;
40
+ cron: string | null;
41
+ timeZone: string | null;
42
+ start: Date | null;
43
+ end: Date | null;
44
+ count: number | null;
45
+ onRefused: $Enums.RefusalStrategy | null;
46
+ retryWindow: string | null;
47
+ onMissed: $Enums.MissedStrategy | null;
48
+ grace: string | null;
49
+ idempotencyKey: string | null;
50
+ requestHash: string | null;
51
+ state: $Enums.ScheduleState | null;
52
+ nextSendTime: Date | null;
53
+ nextAttemptAt: Date | null;
54
+ lastOutcomeKind: $Enums.ScheduleOutcomeKind | null;
55
+ lastMessageId: string | null;
56
+ lastRefusalCode: string | null;
57
+ lastSendTime: Date | null;
58
+ lastOutcomeAt: Date | null;
59
+ createdAt: Date | null;
60
+ endedAt: Date | null;
61
+ cancelledAt: Date | null;
62
+ };
63
+ export type ScheduleMaxAggregateOutputType = {
64
+ id: string | null;
65
+ fleetId: string | null;
66
+ shipId: string | null;
67
+ selectorKind: $Enums.SelectorKind | null;
68
+ selectorShipId: string | null;
69
+ selectorShipName: string | null;
70
+ selectorType: string | null;
71
+ payload: string | null;
72
+ contentType: string | null;
73
+ model: string | null;
74
+ inReplyToMessageId: string | null;
75
+ isForced: boolean | null;
76
+ timingKind: $Enums.ScheduleTimingKind | null;
77
+ onceAt: Date | null;
78
+ every: string | null;
79
+ cron: string | null;
80
+ timeZone: string | null;
81
+ start: Date | null;
82
+ end: Date | null;
83
+ count: number | null;
84
+ onRefused: $Enums.RefusalStrategy | null;
85
+ retryWindow: string | null;
86
+ onMissed: $Enums.MissedStrategy | null;
87
+ grace: string | null;
88
+ idempotencyKey: string | null;
89
+ requestHash: string | null;
90
+ state: $Enums.ScheduleState | null;
91
+ nextSendTime: Date | null;
92
+ nextAttemptAt: Date | null;
93
+ lastOutcomeKind: $Enums.ScheduleOutcomeKind | null;
94
+ lastMessageId: string | null;
95
+ lastRefusalCode: string | null;
96
+ lastSendTime: Date | null;
97
+ lastOutcomeAt: Date | null;
98
+ createdAt: Date | null;
99
+ endedAt: Date | null;
100
+ cancelledAt: Date | null;
101
+ };
102
+ export type ScheduleCountAggregateOutputType = {
103
+ id: number;
104
+ fleetId: number;
105
+ shipId: number;
106
+ selectorKind: number;
107
+ selectorShipId: number;
108
+ selectorShipName: number;
109
+ selectorType: number;
110
+ selectorValueIds: number;
111
+ payload: number;
112
+ contentType: number;
113
+ model: number;
114
+ inReplyToMessageId: number;
115
+ isForced: number;
116
+ timingKind: number;
117
+ onceAt: number;
118
+ every: number;
119
+ cron: number;
120
+ timeZone: number;
121
+ start: number;
122
+ end: number;
123
+ count: number;
124
+ onRefused: number;
125
+ retryWindow: number;
126
+ onMissed: number;
127
+ grace: number;
128
+ idempotencyKey: number;
129
+ requestHash: number;
130
+ state: number;
131
+ nextSendTime: number;
132
+ nextAttemptAt: number;
133
+ lastOutcomeKind: number;
134
+ lastMessageId: number;
135
+ lastRefusalCode: number;
136
+ lastSendTime: number;
137
+ lastOutcomeAt: number;
138
+ createdAt: number;
139
+ endedAt: number;
140
+ cancelledAt: number;
141
+ _all: number;
142
+ };
143
+ export type ScheduleAvgAggregateInputType = {
144
+ count?: true;
145
+ };
146
+ export type ScheduleSumAggregateInputType = {
147
+ count?: true;
148
+ };
149
+ export type ScheduleMinAggregateInputType = {
150
+ id?: true;
151
+ fleetId?: true;
152
+ shipId?: true;
153
+ selectorKind?: true;
154
+ selectorShipId?: true;
155
+ selectorShipName?: true;
156
+ selectorType?: true;
157
+ payload?: true;
158
+ contentType?: true;
159
+ model?: true;
160
+ inReplyToMessageId?: true;
161
+ isForced?: true;
162
+ timingKind?: true;
163
+ onceAt?: true;
164
+ every?: true;
165
+ cron?: true;
166
+ timeZone?: true;
167
+ start?: true;
168
+ end?: true;
169
+ count?: true;
170
+ onRefused?: true;
171
+ retryWindow?: true;
172
+ onMissed?: true;
173
+ grace?: true;
174
+ idempotencyKey?: true;
175
+ requestHash?: true;
176
+ state?: true;
177
+ nextSendTime?: true;
178
+ nextAttemptAt?: true;
179
+ lastOutcomeKind?: true;
180
+ lastMessageId?: true;
181
+ lastRefusalCode?: true;
182
+ lastSendTime?: true;
183
+ lastOutcomeAt?: true;
184
+ createdAt?: true;
185
+ endedAt?: true;
186
+ cancelledAt?: true;
187
+ };
188
+ export type ScheduleMaxAggregateInputType = {
189
+ id?: true;
190
+ fleetId?: true;
191
+ shipId?: true;
192
+ selectorKind?: true;
193
+ selectorShipId?: true;
194
+ selectorShipName?: true;
195
+ selectorType?: true;
196
+ payload?: true;
197
+ contentType?: true;
198
+ model?: true;
199
+ inReplyToMessageId?: true;
200
+ isForced?: true;
201
+ timingKind?: true;
202
+ onceAt?: true;
203
+ every?: true;
204
+ cron?: true;
205
+ timeZone?: true;
206
+ start?: true;
207
+ end?: true;
208
+ count?: true;
209
+ onRefused?: true;
210
+ retryWindow?: true;
211
+ onMissed?: true;
212
+ grace?: true;
213
+ idempotencyKey?: true;
214
+ requestHash?: true;
215
+ state?: true;
216
+ nextSendTime?: true;
217
+ nextAttemptAt?: true;
218
+ lastOutcomeKind?: true;
219
+ lastMessageId?: true;
220
+ lastRefusalCode?: true;
221
+ lastSendTime?: true;
222
+ lastOutcomeAt?: true;
223
+ createdAt?: true;
224
+ endedAt?: true;
225
+ cancelledAt?: true;
226
+ };
227
+ export type ScheduleCountAggregateInputType = {
228
+ id?: true;
229
+ fleetId?: true;
230
+ shipId?: true;
231
+ selectorKind?: true;
232
+ selectorShipId?: true;
233
+ selectorShipName?: true;
234
+ selectorType?: true;
235
+ selectorValueIds?: true;
236
+ payload?: true;
237
+ contentType?: true;
238
+ model?: true;
239
+ inReplyToMessageId?: true;
240
+ isForced?: true;
241
+ timingKind?: true;
242
+ onceAt?: true;
243
+ every?: true;
244
+ cron?: true;
245
+ timeZone?: true;
246
+ start?: true;
247
+ end?: true;
248
+ count?: true;
249
+ onRefused?: true;
250
+ retryWindow?: true;
251
+ onMissed?: true;
252
+ grace?: true;
253
+ idempotencyKey?: true;
254
+ requestHash?: true;
255
+ state?: true;
256
+ nextSendTime?: true;
257
+ nextAttemptAt?: true;
258
+ lastOutcomeKind?: true;
259
+ lastMessageId?: true;
260
+ lastRefusalCode?: true;
261
+ lastSendTime?: true;
262
+ lastOutcomeAt?: true;
263
+ createdAt?: true;
264
+ endedAt?: true;
265
+ cancelledAt?: true;
266
+ _all?: true;
267
+ };
268
+ export type ScheduleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
269
+ /**
270
+ * Filter which Schedule to aggregate.
271
+ */
272
+ where?: Prisma.ScheduleWhereInput;
273
+ /**
274
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
275
+ *
276
+ * Determine the order of Schedules to fetch.
277
+ */
278
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
279
+ /**
280
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
281
+ *
282
+ * Sets the start position
283
+ */
284
+ cursor?: Prisma.ScheduleWhereUniqueInput;
285
+ /**
286
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
287
+ *
288
+ * Take `±n` Schedules from the position of the cursor.
289
+ */
290
+ take?: number;
291
+ /**
292
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
293
+ *
294
+ * Skip the first `n` Schedules.
295
+ */
296
+ skip?: number;
297
+ /**
298
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
299
+ *
300
+ * Count returned Schedules
301
+ **/
302
+ _count?: true | ScheduleCountAggregateInputType;
303
+ /**
304
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
305
+ *
306
+ * Select which fields to average
307
+ **/
308
+ _avg?: ScheduleAvgAggregateInputType;
309
+ /**
310
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
311
+ *
312
+ * Select which fields to sum
313
+ **/
314
+ _sum?: ScheduleSumAggregateInputType;
315
+ /**
316
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
317
+ *
318
+ * Select which fields to find the minimum value
319
+ **/
320
+ _min?: ScheduleMinAggregateInputType;
321
+ /**
322
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
323
+ *
324
+ * Select which fields to find the maximum value
325
+ **/
326
+ _max?: ScheduleMaxAggregateInputType;
327
+ };
328
+ export type GetScheduleAggregateType<T extends ScheduleAggregateArgs> = {
329
+ [P in keyof T & keyof AggregateSchedule]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSchedule[P]> : Prisma.GetScalarType<T[P], AggregateSchedule[P]>;
330
+ };
331
+ export type ScheduleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
332
+ where?: Prisma.ScheduleWhereInput;
333
+ orderBy?: Prisma.ScheduleOrderByWithAggregationInput | Prisma.ScheduleOrderByWithAggregationInput[];
334
+ by: Prisma.ScheduleScalarFieldEnum[] | Prisma.ScheduleScalarFieldEnum;
335
+ having?: Prisma.ScheduleScalarWhereWithAggregatesInput;
336
+ take?: number;
337
+ skip?: number;
338
+ _count?: ScheduleCountAggregateInputType | true;
339
+ _avg?: ScheduleAvgAggregateInputType;
340
+ _sum?: ScheduleSumAggregateInputType;
341
+ _min?: ScheduleMinAggregateInputType;
342
+ _max?: ScheduleMaxAggregateInputType;
343
+ };
344
+ export type ScheduleGroupByOutputType = {
345
+ id: string;
346
+ fleetId: string;
347
+ shipId: string;
348
+ selectorKind: $Enums.SelectorKind;
349
+ selectorShipId: string | null;
350
+ selectorShipName: string | null;
351
+ selectorType: string | null;
352
+ selectorValueIds: string[];
353
+ payload: string;
354
+ contentType: string;
355
+ model: string | null;
356
+ inReplyToMessageId: string | null;
357
+ isForced: boolean;
358
+ timingKind: $Enums.ScheduleTimingKind;
359
+ onceAt: Date | null;
360
+ every: string | null;
361
+ cron: string | null;
362
+ timeZone: string | null;
363
+ start: Date | null;
364
+ end: Date | null;
365
+ count: number | null;
366
+ onRefused: $Enums.RefusalStrategy;
367
+ retryWindow: string;
368
+ onMissed: $Enums.MissedStrategy;
369
+ grace: string;
370
+ idempotencyKey: string;
371
+ requestHash: string;
372
+ state: $Enums.ScheduleState;
373
+ nextSendTime: Date | null;
374
+ nextAttemptAt: Date | null;
375
+ lastOutcomeKind: $Enums.ScheduleOutcomeKind | null;
376
+ lastMessageId: string | null;
377
+ lastRefusalCode: string | null;
378
+ lastSendTime: Date | null;
379
+ lastOutcomeAt: Date | null;
380
+ createdAt: Date;
381
+ endedAt: Date | null;
382
+ cancelledAt: Date | null;
383
+ _count: ScheduleCountAggregateOutputType | null;
384
+ _avg: ScheduleAvgAggregateOutputType | null;
385
+ _sum: ScheduleSumAggregateOutputType | null;
386
+ _min: ScheduleMinAggregateOutputType | null;
387
+ _max: ScheduleMaxAggregateOutputType | null;
388
+ };
389
+ export type GetScheduleGroupByPayload<T extends ScheduleGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ScheduleGroupByOutputType, T['by']> & {
390
+ [P in ((keyof T) & (keyof ScheduleGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ScheduleGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ScheduleGroupByOutputType[P]>;
391
+ }>>;
392
+ export type ScheduleWhereInput = {
393
+ AND?: Prisma.ScheduleWhereInput | Prisma.ScheduleWhereInput[];
394
+ OR?: Prisma.ScheduleWhereInput[];
395
+ NOT?: Prisma.ScheduleWhereInput | Prisma.ScheduleWhereInput[];
396
+ id?: Prisma.StringFilter<"Schedule"> | string;
397
+ fleetId?: Prisma.StringFilter<"Schedule"> | string;
398
+ shipId?: Prisma.StringFilter<"Schedule"> | string;
399
+ selectorKind?: Prisma.EnumSelectorKindFilter<"Schedule"> | $Enums.SelectorKind;
400
+ selectorShipId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
401
+ selectorShipName?: Prisma.StringNullableFilter<"Schedule"> | string | null;
402
+ selectorType?: Prisma.StringNullableFilter<"Schedule"> | string | null;
403
+ selectorValueIds?: Prisma.StringNullableListFilter<"Schedule">;
404
+ payload?: Prisma.StringFilter<"Schedule"> | string;
405
+ contentType?: Prisma.StringFilter<"Schedule"> | string;
406
+ model?: Prisma.StringNullableFilter<"Schedule"> | string | null;
407
+ inReplyToMessageId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
408
+ isForced?: Prisma.BoolFilter<"Schedule"> | boolean;
409
+ timingKind?: Prisma.EnumScheduleTimingKindFilter<"Schedule"> | $Enums.ScheduleTimingKind;
410
+ onceAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
411
+ every?: Prisma.StringNullableFilter<"Schedule"> | string | null;
412
+ cron?: Prisma.StringNullableFilter<"Schedule"> | string | null;
413
+ timeZone?: Prisma.StringNullableFilter<"Schedule"> | string | null;
414
+ start?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
415
+ end?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
416
+ count?: Prisma.IntNullableFilter<"Schedule"> | number | null;
417
+ onRefused?: Prisma.EnumRefusalStrategyFilter<"Schedule"> | $Enums.RefusalStrategy;
418
+ retryWindow?: Prisma.StringFilter<"Schedule"> | string;
419
+ onMissed?: Prisma.EnumMissedStrategyFilter<"Schedule"> | $Enums.MissedStrategy;
420
+ grace?: Prisma.StringFilter<"Schedule"> | string;
421
+ idempotencyKey?: Prisma.StringFilter<"Schedule"> | string;
422
+ requestHash?: Prisma.StringFilter<"Schedule"> | string;
423
+ state?: Prisma.EnumScheduleStateFilter<"Schedule"> | $Enums.ScheduleState;
424
+ nextSendTime?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
425
+ nextAttemptAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
426
+ lastOutcomeKind?: Prisma.EnumScheduleOutcomeKindNullableFilter<"Schedule"> | $Enums.ScheduleOutcomeKind | null;
427
+ lastMessageId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
428
+ lastRefusalCode?: Prisma.StringNullableFilter<"Schedule"> | string | null;
429
+ lastSendTime?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
430
+ lastOutcomeAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
431
+ createdAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string;
432
+ endedAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
433
+ cancelledAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
434
+ fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
435
+ ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
436
+ selectorShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
437
+ inReplyTo?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
438
+ lastMessage?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
439
+ messages?: Prisma.MessageListRelationFilter;
440
+ };
441
+ export type ScheduleOrderByWithRelationInput = {
442
+ id?: Prisma.SortOrder;
443
+ fleetId?: Prisma.SortOrder;
444
+ shipId?: Prisma.SortOrder;
445
+ selectorKind?: Prisma.SortOrder;
446
+ selectorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
447
+ selectorShipName?: Prisma.SortOrderInput | Prisma.SortOrder;
448
+ selectorType?: Prisma.SortOrderInput | Prisma.SortOrder;
449
+ selectorValueIds?: Prisma.SortOrder;
450
+ payload?: Prisma.SortOrder;
451
+ contentType?: Prisma.SortOrder;
452
+ model?: Prisma.SortOrderInput | Prisma.SortOrder;
453
+ inReplyToMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
454
+ isForced?: Prisma.SortOrder;
455
+ timingKind?: Prisma.SortOrder;
456
+ onceAt?: Prisma.SortOrderInput | Prisma.SortOrder;
457
+ every?: Prisma.SortOrderInput | Prisma.SortOrder;
458
+ cron?: Prisma.SortOrderInput | Prisma.SortOrder;
459
+ timeZone?: Prisma.SortOrderInput | Prisma.SortOrder;
460
+ start?: Prisma.SortOrderInput | Prisma.SortOrder;
461
+ end?: Prisma.SortOrderInput | Prisma.SortOrder;
462
+ count?: Prisma.SortOrderInput | Prisma.SortOrder;
463
+ onRefused?: Prisma.SortOrder;
464
+ retryWindow?: Prisma.SortOrder;
465
+ onMissed?: Prisma.SortOrder;
466
+ grace?: Prisma.SortOrder;
467
+ idempotencyKey?: Prisma.SortOrder;
468
+ requestHash?: Prisma.SortOrder;
469
+ state?: Prisma.SortOrder;
470
+ nextSendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
471
+ nextAttemptAt?: Prisma.SortOrderInput | Prisma.SortOrder;
472
+ lastOutcomeKind?: Prisma.SortOrderInput | Prisma.SortOrder;
473
+ lastMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
474
+ lastRefusalCode?: Prisma.SortOrderInput | Prisma.SortOrder;
475
+ lastSendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
476
+ lastOutcomeAt?: Prisma.SortOrderInput | Prisma.SortOrder;
477
+ createdAt?: Prisma.SortOrder;
478
+ endedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
479
+ cancelledAt?: Prisma.SortOrderInput | Prisma.SortOrder;
480
+ fleet?: Prisma.FleetOrderByWithRelationInput;
481
+ ship?: Prisma.ShipOrderByWithRelationInput;
482
+ selectorShip?: Prisma.ShipOrderByWithRelationInput;
483
+ inReplyTo?: Prisma.MessageOrderByWithRelationInput;
484
+ lastMessage?: Prisma.MessageOrderByWithRelationInput;
485
+ messages?: Prisma.MessageOrderByRelationAggregateInput;
486
+ };
487
+ export type ScheduleWhereUniqueInput = Prisma.AtLeast<{
488
+ id?: string;
489
+ fleetId_id?: Prisma.ScheduleFleetIdIdCompoundUniqueInput;
490
+ fleetId_shipId_idempotencyKey?: Prisma.ScheduleFleetIdShipIdIdempotencyKeyCompoundUniqueInput;
491
+ AND?: Prisma.ScheduleWhereInput | Prisma.ScheduleWhereInput[];
492
+ OR?: Prisma.ScheduleWhereInput[];
493
+ NOT?: Prisma.ScheduleWhereInput | Prisma.ScheduleWhereInput[];
494
+ fleetId?: Prisma.StringFilter<"Schedule"> | string;
495
+ shipId?: Prisma.StringFilter<"Schedule"> | string;
496
+ selectorKind?: Prisma.EnumSelectorKindFilter<"Schedule"> | $Enums.SelectorKind;
497
+ selectorShipId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
498
+ selectorShipName?: Prisma.StringNullableFilter<"Schedule"> | string | null;
499
+ selectorType?: Prisma.StringNullableFilter<"Schedule"> | string | null;
500
+ selectorValueIds?: Prisma.StringNullableListFilter<"Schedule">;
501
+ payload?: Prisma.StringFilter<"Schedule"> | string;
502
+ contentType?: Prisma.StringFilter<"Schedule"> | string;
503
+ model?: Prisma.StringNullableFilter<"Schedule"> | string | null;
504
+ inReplyToMessageId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
505
+ isForced?: Prisma.BoolFilter<"Schedule"> | boolean;
506
+ timingKind?: Prisma.EnumScheduleTimingKindFilter<"Schedule"> | $Enums.ScheduleTimingKind;
507
+ onceAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
508
+ every?: Prisma.StringNullableFilter<"Schedule"> | string | null;
509
+ cron?: Prisma.StringNullableFilter<"Schedule"> | string | null;
510
+ timeZone?: Prisma.StringNullableFilter<"Schedule"> | string | null;
511
+ start?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
512
+ end?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
513
+ count?: Prisma.IntNullableFilter<"Schedule"> | number | null;
514
+ onRefused?: Prisma.EnumRefusalStrategyFilter<"Schedule"> | $Enums.RefusalStrategy;
515
+ retryWindow?: Prisma.StringFilter<"Schedule"> | string;
516
+ onMissed?: Prisma.EnumMissedStrategyFilter<"Schedule"> | $Enums.MissedStrategy;
517
+ grace?: Prisma.StringFilter<"Schedule"> | string;
518
+ idempotencyKey?: Prisma.StringFilter<"Schedule"> | string;
519
+ requestHash?: Prisma.StringFilter<"Schedule"> | string;
520
+ state?: Prisma.EnumScheduleStateFilter<"Schedule"> | $Enums.ScheduleState;
521
+ nextSendTime?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
522
+ nextAttemptAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
523
+ lastOutcomeKind?: Prisma.EnumScheduleOutcomeKindNullableFilter<"Schedule"> | $Enums.ScheduleOutcomeKind | null;
524
+ lastMessageId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
525
+ lastRefusalCode?: Prisma.StringNullableFilter<"Schedule"> | string | null;
526
+ lastSendTime?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
527
+ lastOutcomeAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
528
+ createdAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string;
529
+ endedAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
530
+ cancelledAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
531
+ fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
532
+ ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
533
+ selectorShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
534
+ inReplyTo?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
535
+ lastMessage?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
536
+ messages?: Prisma.MessageListRelationFilter;
537
+ }, "id" | "fleetId_id" | "fleetId_shipId_idempotencyKey">;
538
+ export type ScheduleOrderByWithAggregationInput = {
539
+ id?: Prisma.SortOrder;
540
+ fleetId?: Prisma.SortOrder;
541
+ shipId?: Prisma.SortOrder;
542
+ selectorKind?: Prisma.SortOrder;
543
+ selectorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
544
+ selectorShipName?: Prisma.SortOrderInput | Prisma.SortOrder;
545
+ selectorType?: Prisma.SortOrderInput | Prisma.SortOrder;
546
+ selectorValueIds?: Prisma.SortOrder;
547
+ payload?: Prisma.SortOrder;
548
+ contentType?: Prisma.SortOrder;
549
+ model?: Prisma.SortOrderInput | Prisma.SortOrder;
550
+ inReplyToMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
551
+ isForced?: Prisma.SortOrder;
552
+ timingKind?: Prisma.SortOrder;
553
+ onceAt?: Prisma.SortOrderInput | Prisma.SortOrder;
554
+ every?: Prisma.SortOrderInput | Prisma.SortOrder;
555
+ cron?: Prisma.SortOrderInput | Prisma.SortOrder;
556
+ timeZone?: Prisma.SortOrderInput | Prisma.SortOrder;
557
+ start?: Prisma.SortOrderInput | Prisma.SortOrder;
558
+ end?: Prisma.SortOrderInput | Prisma.SortOrder;
559
+ count?: Prisma.SortOrderInput | Prisma.SortOrder;
560
+ onRefused?: Prisma.SortOrder;
561
+ retryWindow?: Prisma.SortOrder;
562
+ onMissed?: Prisma.SortOrder;
563
+ grace?: Prisma.SortOrder;
564
+ idempotencyKey?: Prisma.SortOrder;
565
+ requestHash?: Prisma.SortOrder;
566
+ state?: Prisma.SortOrder;
567
+ nextSendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
568
+ nextAttemptAt?: Prisma.SortOrderInput | Prisma.SortOrder;
569
+ lastOutcomeKind?: Prisma.SortOrderInput | Prisma.SortOrder;
570
+ lastMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
571
+ lastRefusalCode?: Prisma.SortOrderInput | Prisma.SortOrder;
572
+ lastSendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
573
+ lastOutcomeAt?: Prisma.SortOrderInput | Prisma.SortOrder;
574
+ createdAt?: Prisma.SortOrder;
575
+ endedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
576
+ cancelledAt?: Prisma.SortOrderInput | Prisma.SortOrder;
577
+ _count?: Prisma.ScheduleCountOrderByAggregateInput;
578
+ _avg?: Prisma.ScheduleAvgOrderByAggregateInput;
579
+ _max?: Prisma.ScheduleMaxOrderByAggregateInput;
580
+ _min?: Prisma.ScheduleMinOrderByAggregateInput;
581
+ _sum?: Prisma.ScheduleSumOrderByAggregateInput;
582
+ };
583
+ export type ScheduleScalarWhereWithAggregatesInput = {
584
+ AND?: Prisma.ScheduleScalarWhereWithAggregatesInput | Prisma.ScheduleScalarWhereWithAggregatesInput[];
585
+ OR?: Prisma.ScheduleScalarWhereWithAggregatesInput[];
586
+ NOT?: Prisma.ScheduleScalarWhereWithAggregatesInput | Prisma.ScheduleScalarWhereWithAggregatesInput[];
587
+ id?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
588
+ fleetId?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
589
+ shipId?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
590
+ selectorKind?: Prisma.EnumSelectorKindWithAggregatesFilter<"Schedule"> | $Enums.SelectorKind;
591
+ selectorShipId?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
592
+ selectorShipName?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
593
+ selectorType?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
594
+ selectorValueIds?: Prisma.StringNullableListFilter<"Schedule">;
595
+ payload?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
596
+ contentType?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
597
+ model?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
598
+ inReplyToMessageId?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
599
+ isForced?: Prisma.BoolWithAggregatesFilter<"Schedule"> | boolean;
600
+ timingKind?: Prisma.EnumScheduleTimingKindWithAggregatesFilter<"Schedule"> | $Enums.ScheduleTimingKind;
601
+ onceAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
602
+ every?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
603
+ cron?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
604
+ timeZone?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
605
+ start?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
606
+ end?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
607
+ count?: Prisma.IntNullableWithAggregatesFilter<"Schedule"> | number | null;
608
+ onRefused?: Prisma.EnumRefusalStrategyWithAggregatesFilter<"Schedule"> | $Enums.RefusalStrategy;
609
+ retryWindow?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
610
+ onMissed?: Prisma.EnumMissedStrategyWithAggregatesFilter<"Schedule"> | $Enums.MissedStrategy;
611
+ grace?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
612
+ idempotencyKey?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
613
+ requestHash?: Prisma.StringWithAggregatesFilter<"Schedule"> | string;
614
+ state?: Prisma.EnumScheduleStateWithAggregatesFilter<"Schedule"> | $Enums.ScheduleState;
615
+ nextSendTime?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
616
+ nextAttemptAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
617
+ lastOutcomeKind?: Prisma.EnumScheduleOutcomeKindNullableWithAggregatesFilter<"Schedule"> | $Enums.ScheduleOutcomeKind | null;
618
+ lastMessageId?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
619
+ lastRefusalCode?: Prisma.StringNullableWithAggregatesFilter<"Schedule"> | string | null;
620
+ lastSendTime?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
621
+ lastOutcomeAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
622
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Schedule"> | Date | string;
623
+ endedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
624
+ cancelledAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Schedule"> | Date | string | null;
625
+ };
626
+ export type ScheduleCreateInput = {
627
+ id: string;
628
+ selectorKind: $Enums.SelectorKind;
629
+ selectorShipName?: string | null;
630
+ selectorType?: string | null;
631
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
632
+ payload: string;
633
+ contentType: string;
634
+ model?: string | null;
635
+ isForced: boolean;
636
+ timingKind: $Enums.ScheduleTimingKind;
637
+ onceAt?: Date | string | null;
638
+ every?: string | null;
639
+ cron?: string | null;
640
+ timeZone?: string | null;
641
+ start?: Date | string | null;
642
+ end?: Date | string | null;
643
+ count?: number | null;
644
+ onRefused: $Enums.RefusalStrategy;
645
+ retryWindow: string;
646
+ onMissed: $Enums.MissedStrategy;
647
+ grace: string;
648
+ idempotencyKey: string;
649
+ requestHash: string;
650
+ state: $Enums.ScheduleState;
651
+ nextSendTime?: Date | string | null;
652
+ nextAttemptAt?: Date | string | null;
653
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
654
+ lastRefusalCode?: string | null;
655
+ lastSendTime?: Date | string | null;
656
+ lastOutcomeAt?: Date | string | null;
657
+ createdAt: Date | string;
658
+ endedAt?: Date | string | null;
659
+ cancelledAt?: Date | string | null;
660
+ fleet: Prisma.FleetCreateNestedOneWithoutSchedulesInput;
661
+ ship: Prisma.ShipCreateNestedOneWithoutSchedulesInput;
662
+ selectorShip?: Prisma.ShipCreateNestedOneWithoutScheduledToInput;
663
+ inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliedToBySchedulesInput;
664
+ lastMessage?: Prisma.MessageCreateNestedOneWithoutLastSentBySchedulesInput;
665
+ messages?: Prisma.MessageCreateNestedManyWithoutScheduleInput;
666
+ };
667
+ export type ScheduleUncheckedCreateInput = {
668
+ id: string;
669
+ fleetId: string;
670
+ shipId: string;
671
+ selectorKind: $Enums.SelectorKind;
672
+ selectorShipId?: string | null;
673
+ selectorShipName?: string | null;
674
+ selectorType?: string | null;
675
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
676
+ payload: string;
677
+ contentType: string;
678
+ model?: string | null;
679
+ inReplyToMessageId?: string | null;
680
+ isForced: boolean;
681
+ timingKind: $Enums.ScheduleTimingKind;
682
+ onceAt?: Date | string | null;
683
+ every?: string | null;
684
+ cron?: string | null;
685
+ timeZone?: string | null;
686
+ start?: Date | string | null;
687
+ end?: Date | string | null;
688
+ count?: number | null;
689
+ onRefused: $Enums.RefusalStrategy;
690
+ retryWindow: string;
691
+ onMissed: $Enums.MissedStrategy;
692
+ grace: string;
693
+ idempotencyKey: string;
694
+ requestHash: string;
695
+ state: $Enums.ScheduleState;
696
+ nextSendTime?: Date | string | null;
697
+ nextAttemptAt?: Date | string | null;
698
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
699
+ lastMessageId?: string | null;
700
+ lastRefusalCode?: string | null;
701
+ lastSendTime?: Date | string | null;
702
+ lastOutcomeAt?: Date | string | null;
703
+ createdAt: Date | string;
704
+ endedAt?: Date | string | null;
705
+ cancelledAt?: Date | string | null;
706
+ messages?: Prisma.MessageUncheckedCreateNestedManyWithoutScheduleInput;
707
+ };
708
+ export type ScheduleUpdateInput = {
709
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
710
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
711
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
712
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
713
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
714
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
715
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
716
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
717
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
718
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
719
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
720
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
721
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
722
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
723
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
724
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
725
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
726
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
727
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
728
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
729
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
730
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
731
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
732
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
733
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
734
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
735
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
736
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
737
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
738
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
739
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
740
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
741
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
742
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutSchedulesNestedInput;
743
+ ship?: Prisma.ShipUpdateOneRequiredWithoutSchedulesNestedInput;
744
+ selectorShip?: Prisma.ShipUpdateOneWithoutScheduledToNestedInput;
745
+ inReplyTo?: Prisma.MessageUpdateOneWithoutRepliedToBySchedulesNestedInput;
746
+ lastMessage?: Prisma.MessageUpdateOneWithoutLastSentBySchedulesNestedInput;
747
+ messages?: Prisma.MessageUpdateManyWithoutScheduleNestedInput;
748
+ };
749
+ export type ScheduleUncheckedUpdateInput = {
750
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
751
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
752
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
753
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
754
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
755
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
756
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
757
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
758
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
759
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
760
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
761
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
762
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
763
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
764
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
765
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
766
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
767
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
768
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
769
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
770
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
771
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
772
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
773
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
774
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
775
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
776
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
777
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
778
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
779
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
780
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
781
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
782
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
783
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
784
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
785
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
786
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
787
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
788
+ messages?: Prisma.MessageUncheckedUpdateManyWithoutScheduleNestedInput;
789
+ };
790
+ export type ScheduleCreateManyInput = {
791
+ id: string;
792
+ fleetId: string;
793
+ shipId: string;
794
+ selectorKind: $Enums.SelectorKind;
795
+ selectorShipId?: string | null;
796
+ selectorShipName?: string | null;
797
+ selectorType?: string | null;
798
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
799
+ payload: string;
800
+ contentType: string;
801
+ model?: string | null;
802
+ inReplyToMessageId?: string | null;
803
+ isForced: boolean;
804
+ timingKind: $Enums.ScheduleTimingKind;
805
+ onceAt?: Date | string | null;
806
+ every?: string | null;
807
+ cron?: string | null;
808
+ timeZone?: string | null;
809
+ start?: Date | string | null;
810
+ end?: Date | string | null;
811
+ count?: number | null;
812
+ onRefused: $Enums.RefusalStrategy;
813
+ retryWindow: string;
814
+ onMissed: $Enums.MissedStrategy;
815
+ grace: string;
816
+ idempotencyKey: string;
817
+ requestHash: string;
818
+ state: $Enums.ScheduleState;
819
+ nextSendTime?: Date | string | null;
820
+ nextAttemptAt?: Date | string | null;
821
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
822
+ lastMessageId?: string | null;
823
+ lastRefusalCode?: string | null;
824
+ lastSendTime?: Date | string | null;
825
+ lastOutcomeAt?: Date | string | null;
826
+ createdAt: Date | string;
827
+ endedAt?: Date | string | null;
828
+ cancelledAt?: Date | string | null;
829
+ };
830
+ export type ScheduleUpdateManyMutationInput = {
831
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
832
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
833
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
834
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
835
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
836
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
837
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
838
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
839
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
840
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
841
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
842
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
843
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
844
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
845
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
846
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
847
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
848
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
849
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
850
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
851
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
852
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
853
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
854
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
855
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
856
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
857
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
858
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
859
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
860
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
861
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
862
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
863
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
864
+ };
865
+ export type ScheduleUncheckedUpdateManyInput = {
866
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
867
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
868
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
869
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
870
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
871
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
872
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
873
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
874
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
875
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
876
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
877
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
878
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
879
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
880
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
881
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
882
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
883
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
884
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
885
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
886
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
887
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
888
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
889
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
890
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
891
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
892
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
893
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
894
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
895
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
896
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
897
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
898
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
899
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
900
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
901
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
902
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
903
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
904
+ };
905
+ export type ScheduleListRelationFilter = {
906
+ every?: Prisma.ScheduleWhereInput;
907
+ some?: Prisma.ScheduleWhereInput;
908
+ none?: Prisma.ScheduleWhereInput;
909
+ };
910
+ export type ScheduleOrderByRelationAggregateInput = {
911
+ _count?: Prisma.SortOrder;
912
+ };
913
+ export type ScheduleNullableScalarRelationFilter = {
914
+ is?: Prisma.ScheduleWhereInput | null;
915
+ isNot?: Prisma.ScheduleWhereInput | null;
916
+ };
917
+ export type ScheduleFleetIdIdCompoundUniqueInput = {
918
+ fleetId: string;
919
+ id: string;
920
+ };
921
+ export type ScheduleFleetIdShipIdIdempotencyKeyCompoundUniqueInput = {
922
+ fleetId: string;
923
+ shipId: string;
924
+ idempotencyKey: string;
925
+ };
926
+ export type ScheduleCountOrderByAggregateInput = {
927
+ id?: Prisma.SortOrder;
928
+ fleetId?: Prisma.SortOrder;
929
+ shipId?: Prisma.SortOrder;
930
+ selectorKind?: Prisma.SortOrder;
931
+ selectorShipId?: Prisma.SortOrder;
932
+ selectorShipName?: Prisma.SortOrder;
933
+ selectorType?: Prisma.SortOrder;
934
+ selectorValueIds?: Prisma.SortOrder;
935
+ payload?: Prisma.SortOrder;
936
+ contentType?: Prisma.SortOrder;
937
+ model?: Prisma.SortOrder;
938
+ inReplyToMessageId?: Prisma.SortOrder;
939
+ isForced?: Prisma.SortOrder;
940
+ timingKind?: Prisma.SortOrder;
941
+ onceAt?: Prisma.SortOrder;
942
+ every?: Prisma.SortOrder;
943
+ cron?: Prisma.SortOrder;
944
+ timeZone?: Prisma.SortOrder;
945
+ start?: Prisma.SortOrder;
946
+ end?: Prisma.SortOrder;
947
+ count?: Prisma.SortOrder;
948
+ onRefused?: Prisma.SortOrder;
949
+ retryWindow?: Prisma.SortOrder;
950
+ onMissed?: Prisma.SortOrder;
951
+ grace?: Prisma.SortOrder;
952
+ idempotencyKey?: Prisma.SortOrder;
953
+ requestHash?: Prisma.SortOrder;
954
+ state?: Prisma.SortOrder;
955
+ nextSendTime?: Prisma.SortOrder;
956
+ nextAttemptAt?: Prisma.SortOrder;
957
+ lastOutcomeKind?: Prisma.SortOrder;
958
+ lastMessageId?: Prisma.SortOrder;
959
+ lastRefusalCode?: Prisma.SortOrder;
960
+ lastSendTime?: Prisma.SortOrder;
961
+ lastOutcomeAt?: Prisma.SortOrder;
962
+ createdAt?: Prisma.SortOrder;
963
+ endedAt?: Prisma.SortOrder;
964
+ cancelledAt?: Prisma.SortOrder;
965
+ };
966
+ export type ScheduleAvgOrderByAggregateInput = {
967
+ count?: Prisma.SortOrder;
968
+ };
969
+ export type ScheduleMaxOrderByAggregateInput = {
970
+ id?: Prisma.SortOrder;
971
+ fleetId?: Prisma.SortOrder;
972
+ shipId?: Prisma.SortOrder;
973
+ selectorKind?: Prisma.SortOrder;
974
+ selectorShipId?: Prisma.SortOrder;
975
+ selectorShipName?: Prisma.SortOrder;
976
+ selectorType?: Prisma.SortOrder;
977
+ payload?: Prisma.SortOrder;
978
+ contentType?: Prisma.SortOrder;
979
+ model?: Prisma.SortOrder;
980
+ inReplyToMessageId?: Prisma.SortOrder;
981
+ isForced?: Prisma.SortOrder;
982
+ timingKind?: Prisma.SortOrder;
983
+ onceAt?: Prisma.SortOrder;
984
+ every?: Prisma.SortOrder;
985
+ cron?: Prisma.SortOrder;
986
+ timeZone?: Prisma.SortOrder;
987
+ start?: Prisma.SortOrder;
988
+ end?: Prisma.SortOrder;
989
+ count?: Prisma.SortOrder;
990
+ onRefused?: Prisma.SortOrder;
991
+ retryWindow?: Prisma.SortOrder;
992
+ onMissed?: Prisma.SortOrder;
993
+ grace?: Prisma.SortOrder;
994
+ idempotencyKey?: Prisma.SortOrder;
995
+ requestHash?: Prisma.SortOrder;
996
+ state?: Prisma.SortOrder;
997
+ nextSendTime?: Prisma.SortOrder;
998
+ nextAttemptAt?: Prisma.SortOrder;
999
+ lastOutcomeKind?: Prisma.SortOrder;
1000
+ lastMessageId?: Prisma.SortOrder;
1001
+ lastRefusalCode?: Prisma.SortOrder;
1002
+ lastSendTime?: Prisma.SortOrder;
1003
+ lastOutcomeAt?: Prisma.SortOrder;
1004
+ createdAt?: Prisma.SortOrder;
1005
+ endedAt?: Prisma.SortOrder;
1006
+ cancelledAt?: Prisma.SortOrder;
1007
+ };
1008
+ export type ScheduleMinOrderByAggregateInput = {
1009
+ id?: Prisma.SortOrder;
1010
+ fleetId?: Prisma.SortOrder;
1011
+ shipId?: Prisma.SortOrder;
1012
+ selectorKind?: Prisma.SortOrder;
1013
+ selectorShipId?: Prisma.SortOrder;
1014
+ selectorShipName?: Prisma.SortOrder;
1015
+ selectorType?: Prisma.SortOrder;
1016
+ payload?: Prisma.SortOrder;
1017
+ contentType?: Prisma.SortOrder;
1018
+ model?: Prisma.SortOrder;
1019
+ inReplyToMessageId?: Prisma.SortOrder;
1020
+ isForced?: Prisma.SortOrder;
1021
+ timingKind?: Prisma.SortOrder;
1022
+ onceAt?: Prisma.SortOrder;
1023
+ every?: Prisma.SortOrder;
1024
+ cron?: Prisma.SortOrder;
1025
+ timeZone?: Prisma.SortOrder;
1026
+ start?: Prisma.SortOrder;
1027
+ end?: Prisma.SortOrder;
1028
+ count?: Prisma.SortOrder;
1029
+ onRefused?: Prisma.SortOrder;
1030
+ retryWindow?: Prisma.SortOrder;
1031
+ onMissed?: Prisma.SortOrder;
1032
+ grace?: Prisma.SortOrder;
1033
+ idempotencyKey?: Prisma.SortOrder;
1034
+ requestHash?: Prisma.SortOrder;
1035
+ state?: Prisma.SortOrder;
1036
+ nextSendTime?: Prisma.SortOrder;
1037
+ nextAttemptAt?: Prisma.SortOrder;
1038
+ lastOutcomeKind?: Prisma.SortOrder;
1039
+ lastMessageId?: Prisma.SortOrder;
1040
+ lastRefusalCode?: Prisma.SortOrder;
1041
+ lastSendTime?: Prisma.SortOrder;
1042
+ lastOutcomeAt?: Prisma.SortOrder;
1043
+ createdAt?: Prisma.SortOrder;
1044
+ endedAt?: Prisma.SortOrder;
1045
+ cancelledAt?: Prisma.SortOrder;
1046
+ };
1047
+ export type ScheduleSumOrderByAggregateInput = {
1048
+ count?: Prisma.SortOrder;
1049
+ };
1050
+ export type ScheduleCreateNestedManyWithoutFleetInput = {
1051
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutFleetInput, Prisma.ScheduleUncheckedCreateWithoutFleetInput> | Prisma.ScheduleCreateWithoutFleetInput[] | Prisma.ScheduleUncheckedCreateWithoutFleetInput[];
1052
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutFleetInput | Prisma.ScheduleCreateOrConnectWithoutFleetInput[];
1053
+ createMany?: Prisma.ScheduleCreateManyFleetInputEnvelope;
1054
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1055
+ };
1056
+ export type ScheduleUncheckedCreateNestedManyWithoutFleetInput = {
1057
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutFleetInput, Prisma.ScheduleUncheckedCreateWithoutFleetInput> | Prisma.ScheduleCreateWithoutFleetInput[] | Prisma.ScheduleUncheckedCreateWithoutFleetInput[];
1058
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutFleetInput | Prisma.ScheduleCreateOrConnectWithoutFleetInput[];
1059
+ createMany?: Prisma.ScheduleCreateManyFleetInputEnvelope;
1060
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1061
+ };
1062
+ export type ScheduleUpdateManyWithoutFleetNestedInput = {
1063
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutFleetInput, Prisma.ScheduleUncheckedCreateWithoutFleetInput> | Prisma.ScheduleCreateWithoutFleetInput[] | Prisma.ScheduleUncheckedCreateWithoutFleetInput[];
1064
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutFleetInput | Prisma.ScheduleCreateOrConnectWithoutFleetInput[];
1065
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutFleetInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutFleetInput[];
1066
+ createMany?: Prisma.ScheduleCreateManyFleetInputEnvelope;
1067
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1068
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1069
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1070
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1071
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutFleetInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutFleetInput[];
1072
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutFleetInput | Prisma.ScheduleUpdateManyWithWhereWithoutFleetInput[];
1073
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1074
+ };
1075
+ export type ScheduleUncheckedUpdateManyWithoutFleetNestedInput = {
1076
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutFleetInput, Prisma.ScheduleUncheckedCreateWithoutFleetInput> | Prisma.ScheduleCreateWithoutFleetInput[] | Prisma.ScheduleUncheckedCreateWithoutFleetInput[];
1077
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutFleetInput | Prisma.ScheduleCreateOrConnectWithoutFleetInput[];
1078
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutFleetInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutFleetInput[];
1079
+ createMany?: Prisma.ScheduleCreateManyFleetInputEnvelope;
1080
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1081
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1082
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1083
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1084
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutFleetInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutFleetInput[];
1085
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutFleetInput | Prisma.ScheduleUpdateManyWithWhereWithoutFleetInput[];
1086
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1087
+ };
1088
+ export type ScheduleCreateNestedManyWithoutShipInput = {
1089
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutShipInput, Prisma.ScheduleUncheckedCreateWithoutShipInput> | Prisma.ScheduleCreateWithoutShipInput[] | Prisma.ScheduleUncheckedCreateWithoutShipInput[];
1090
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutShipInput | Prisma.ScheduleCreateOrConnectWithoutShipInput[];
1091
+ createMany?: Prisma.ScheduleCreateManyShipInputEnvelope;
1092
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1093
+ };
1094
+ export type ScheduleCreateNestedManyWithoutSelectorShipInput = {
1095
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutSelectorShipInput, Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput> | Prisma.ScheduleCreateWithoutSelectorShipInput[] | Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput[];
1096
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput | Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput[];
1097
+ createMany?: Prisma.ScheduleCreateManySelectorShipInputEnvelope;
1098
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1099
+ };
1100
+ export type ScheduleUncheckedCreateNestedManyWithoutShipInput = {
1101
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutShipInput, Prisma.ScheduleUncheckedCreateWithoutShipInput> | Prisma.ScheduleCreateWithoutShipInput[] | Prisma.ScheduleUncheckedCreateWithoutShipInput[];
1102
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutShipInput | Prisma.ScheduleCreateOrConnectWithoutShipInput[];
1103
+ createMany?: Prisma.ScheduleCreateManyShipInputEnvelope;
1104
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1105
+ };
1106
+ export type ScheduleUncheckedCreateNestedManyWithoutSelectorShipInput = {
1107
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutSelectorShipInput, Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput> | Prisma.ScheduleCreateWithoutSelectorShipInput[] | Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput[];
1108
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput | Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput[];
1109
+ createMany?: Prisma.ScheduleCreateManySelectorShipInputEnvelope;
1110
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1111
+ };
1112
+ export type ScheduleUpdateManyWithoutShipNestedInput = {
1113
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutShipInput, Prisma.ScheduleUncheckedCreateWithoutShipInput> | Prisma.ScheduleCreateWithoutShipInput[] | Prisma.ScheduleUncheckedCreateWithoutShipInput[];
1114
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutShipInput | Prisma.ScheduleCreateOrConnectWithoutShipInput[];
1115
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutShipInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutShipInput[];
1116
+ createMany?: Prisma.ScheduleCreateManyShipInputEnvelope;
1117
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1118
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1119
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1120
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1121
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutShipInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutShipInput[];
1122
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutShipInput | Prisma.ScheduleUpdateManyWithWhereWithoutShipInput[];
1123
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1124
+ };
1125
+ export type ScheduleUpdateManyWithoutSelectorShipNestedInput = {
1126
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutSelectorShipInput, Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput> | Prisma.ScheduleCreateWithoutSelectorShipInput[] | Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput[];
1127
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput | Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput[];
1128
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutSelectorShipInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutSelectorShipInput[];
1129
+ createMany?: Prisma.ScheduleCreateManySelectorShipInputEnvelope;
1130
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1131
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1132
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1133
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1134
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutSelectorShipInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutSelectorShipInput[];
1135
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutSelectorShipInput | Prisma.ScheduleUpdateManyWithWhereWithoutSelectorShipInput[];
1136
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1137
+ };
1138
+ export type ScheduleUncheckedUpdateManyWithoutShipNestedInput = {
1139
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutShipInput, Prisma.ScheduleUncheckedCreateWithoutShipInput> | Prisma.ScheduleCreateWithoutShipInput[] | Prisma.ScheduleUncheckedCreateWithoutShipInput[];
1140
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutShipInput | Prisma.ScheduleCreateOrConnectWithoutShipInput[];
1141
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutShipInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutShipInput[];
1142
+ createMany?: Prisma.ScheduleCreateManyShipInputEnvelope;
1143
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1144
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1145
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1146
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1147
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutShipInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutShipInput[];
1148
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutShipInput | Prisma.ScheduleUpdateManyWithWhereWithoutShipInput[];
1149
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1150
+ };
1151
+ export type ScheduleUncheckedUpdateManyWithoutSelectorShipNestedInput = {
1152
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutSelectorShipInput, Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput> | Prisma.ScheduleCreateWithoutSelectorShipInput[] | Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput[];
1153
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput | Prisma.ScheduleCreateOrConnectWithoutSelectorShipInput[];
1154
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutSelectorShipInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutSelectorShipInput[];
1155
+ createMany?: Prisma.ScheduleCreateManySelectorShipInputEnvelope;
1156
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1157
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1158
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1159
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1160
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutSelectorShipInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutSelectorShipInput[];
1161
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutSelectorShipInput | Prisma.ScheduleUpdateManyWithWhereWithoutSelectorShipInput[];
1162
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1163
+ };
1164
+ export type ScheduleCreateNestedOneWithoutMessagesInput = {
1165
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutMessagesInput, Prisma.ScheduleUncheckedCreateWithoutMessagesInput>;
1166
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutMessagesInput;
1167
+ connect?: Prisma.ScheduleWhereUniqueInput;
1168
+ };
1169
+ export type ScheduleCreateNestedManyWithoutInReplyToInput = {
1170
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutInReplyToInput, Prisma.ScheduleUncheckedCreateWithoutInReplyToInput> | Prisma.ScheduleCreateWithoutInReplyToInput[] | Prisma.ScheduleUncheckedCreateWithoutInReplyToInput[];
1171
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutInReplyToInput | Prisma.ScheduleCreateOrConnectWithoutInReplyToInput[];
1172
+ createMany?: Prisma.ScheduleCreateManyInReplyToInputEnvelope;
1173
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1174
+ };
1175
+ export type ScheduleCreateNestedManyWithoutLastMessageInput = {
1176
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLastMessageInput, Prisma.ScheduleUncheckedCreateWithoutLastMessageInput> | Prisma.ScheduleCreateWithoutLastMessageInput[] | Prisma.ScheduleUncheckedCreateWithoutLastMessageInput[];
1177
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLastMessageInput | Prisma.ScheduleCreateOrConnectWithoutLastMessageInput[];
1178
+ createMany?: Prisma.ScheduleCreateManyLastMessageInputEnvelope;
1179
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1180
+ };
1181
+ export type ScheduleUncheckedCreateNestedManyWithoutInReplyToInput = {
1182
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutInReplyToInput, Prisma.ScheduleUncheckedCreateWithoutInReplyToInput> | Prisma.ScheduleCreateWithoutInReplyToInput[] | Prisma.ScheduleUncheckedCreateWithoutInReplyToInput[];
1183
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutInReplyToInput | Prisma.ScheduleCreateOrConnectWithoutInReplyToInput[];
1184
+ createMany?: Prisma.ScheduleCreateManyInReplyToInputEnvelope;
1185
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1186
+ };
1187
+ export type ScheduleUncheckedCreateNestedManyWithoutLastMessageInput = {
1188
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLastMessageInput, Prisma.ScheduleUncheckedCreateWithoutLastMessageInput> | Prisma.ScheduleCreateWithoutLastMessageInput[] | Prisma.ScheduleUncheckedCreateWithoutLastMessageInput[];
1189
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLastMessageInput | Prisma.ScheduleCreateOrConnectWithoutLastMessageInput[];
1190
+ createMany?: Prisma.ScheduleCreateManyLastMessageInputEnvelope;
1191
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1192
+ };
1193
+ export type ScheduleUpdateOneWithoutMessagesNestedInput = {
1194
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutMessagesInput, Prisma.ScheduleUncheckedCreateWithoutMessagesInput>;
1195
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutMessagesInput;
1196
+ upsert?: Prisma.ScheduleUpsertWithoutMessagesInput;
1197
+ disconnect?: Prisma.ScheduleWhereInput | boolean;
1198
+ delete?: Prisma.ScheduleWhereInput | boolean;
1199
+ connect?: Prisma.ScheduleWhereUniqueInput;
1200
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ScheduleUpdateToOneWithWhereWithoutMessagesInput, Prisma.ScheduleUpdateWithoutMessagesInput>, Prisma.ScheduleUncheckedUpdateWithoutMessagesInput>;
1201
+ };
1202
+ export type ScheduleUpdateManyWithoutInReplyToNestedInput = {
1203
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutInReplyToInput, Prisma.ScheduleUncheckedCreateWithoutInReplyToInput> | Prisma.ScheduleCreateWithoutInReplyToInput[] | Prisma.ScheduleUncheckedCreateWithoutInReplyToInput[];
1204
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutInReplyToInput | Prisma.ScheduleCreateOrConnectWithoutInReplyToInput[];
1205
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutInReplyToInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutInReplyToInput[];
1206
+ createMany?: Prisma.ScheduleCreateManyInReplyToInputEnvelope;
1207
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1208
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1209
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1210
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1211
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutInReplyToInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutInReplyToInput[];
1212
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutInReplyToInput | Prisma.ScheduleUpdateManyWithWhereWithoutInReplyToInput[];
1213
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1214
+ };
1215
+ export type ScheduleUpdateManyWithoutLastMessageNestedInput = {
1216
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLastMessageInput, Prisma.ScheduleUncheckedCreateWithoutLastMessageInput> | Prisma.ScheduleCreateWithoutLastMessageInput[] | Prisma.ScheduleUncheckedCreateWithoutLastMessageInput[];
1217
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLastMessageInput | Prisma.ScheduleCreateOrConnectWithoutLastMessageInput[];
1218
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutLastMessageInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutLastMessageInput[];
1219
+ createMany?: Prisma.ScheduleCreateManyLastMessageInputEnvelope;
1220
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1221
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1222
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1223
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1224
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutLastMessageInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutLastMessageInput[];
1225
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutLastMessageInput | Prisma.ScheduleUpdateManyWithWhereWithoutLastMessageInput[];
1226
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1227
+ };
1228
+ export type ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput = {
1229
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutInReplyToInput, Prisma.ScheduleUncheckedCreateWithoutInReplyToInput> | Prisma.ScheduleCreateWithoutInReplyToInput[] | Prisma.ScheduleUncheckedCreateWithoutInReplyToInput[];
1230
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutInReplyToInput | Prisma.ScheduleCreateOrConnectWithoutInReplyToInput[];
1231
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutInReplyToInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutInReplyToInput[];
1232
+ createMany?: Prisma.ScheduleCreateManyInReplyToInputEnvelope;
1233
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1234
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1235
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1236
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1237
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutInReplyToInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutInReplyToInput[];
1238
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutInReplyToInput | Prisma.ScheduleUpdateManyWithWhereWithoutInReplyToInput[];
1239
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1240
+ };
1241
+ export type ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput = {
1242
+ create?: Prisma.XOR<Prisma.ScheduleCreateWithoutLastMessageInput, Prisma.ScheduleUncheckedCreateWithoutLastMessageInput> | Prisma.ScheduleCreateWithoutLastMessageInput[] | Prisma.ScheduleUncheckedCreateWithoutLastMessageInput[];
1243
+ connectOrCreate?: Prisma.ScheduleCreateOrConnectWithoutLastMessageInput | Prisma.ScheduleCreateOrConnectWithoutLastMessageInput[];
1244
+ upsert?: Prisma.ScheduleUpsertWithWhereUniqueWithoutLastMessageInput | Prisma.ScheduleUpsertWithWhereUniqueWithoutLastMessageInput[];
1245
+ createMany?: Prisma.ScheduleCreateManyLastMessageInputEnvelope;
1246
+ set?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1247
+ disconnect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1248
+ delete?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1249
+ connect?: Prisma.ScheduleWhereUniqueInput | Prisma.ScheduleWhereUniqueInput[];
1250
+ update?: Prisma.ScheduleUpdateWithWhereUniqueWithoutLastMessageInput | Prisma.ScheduleUpdateWithWhereUniqueWithoutLastMessageInput[];
1251
+ updateMany?: Prisma.ScheduleUpdateManyWithWhereWithoutLastMessageInput | Prisma.ScheduleUpdateManyWithWhereWithoutLastMessageInput[];
1252
+ deleteMany?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1253
+ };
1254
+ export type ScheduleCreateselectorValueIdsInput = {
1255
+ set: string[];
1256
+ };
1257
+ export type ScheduleUpdateselectorValueIdsInput = {
1258
+ set?: string[];
1259
+ push?: string | string[];
1260
+ };
1261
+ export type EnumScheduleTimingKindFieldUpdateOperationsInput = {
1262
+ set?: $Enums.ScheduleTimingKind;
1263
+ };
1264
+ export type EnumRefusalStrategyFieldUpdateOperationsInput = {
1265
+ set?: $Enums.RefusalStrategy;
1266
+ };
1267
+ export type EnumMissedStrategyFieldUpdateOperationsInput = {
1268
+ set?: $Enums.MissedStrategy;
1269
+ };
1270
+ export type EnumScheduleStateFieldUpdateOperationsInput = {
1271
+ set?: $Enums.ScheduleState;
1272
+ };
1273
+ export type NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput = {
1274
+ set?: $Enums.ScheduleOutcomeKind | null;
1275
+ };
1276
+ export type ScheduleCreateWithoutFleetInput = {
1277
+ id: string;
1278
+ selectorKind: $Enums.SelectorKind;
1279
+ selectorShipName?: string | null;
1280
+ selectorType?: string | null;
1281
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1282
+ payload: string;
1283
+ contentType: string;
1284
+ model?: string | null;
1285
+ isForced: boolean;
1286
+ timingKind: $Enums.ScheduleTimingKind;
1287
+ onceAt?: Date | string | null;
1288
+ every?: string | null;
1289
+ cron?: string | null;
1290
+ timeZone?: string | null;
1291
+ start?: Date | string | null;
1292
+ end?: Date | string | null;
1293
+ count?: number | null;
1294
+ onRefused: $Enums.RefusalStrategy;
1295
+ retryWindow: string;
1296
+ onMissed: $Enums.MissedStrategy;
1297
+ grace: string;
1298
+ idempotencyKey: string;
1299
+ requestHash: string;
1300
+ state: $Enums.ScheduleState;
1301
+ nextSendTime?: Date | string | null;
1302
+ nextAttemptAt?: Date | string | null;
1303
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1304
+ lastRefusalCode?: string | null;
1305
+ lastSendTime?: Date | string | null;
1306
+ lastOutcomeAt?: Date | string | null;
1307
+ createdAt: Date | string;
1308
+ endedAt?: Date | string | null;
1309
+ cancelledAt?: Date | string | null;
1310
+ ship: Prisma.ShipCreateNestedOneWithoutSchedulesInput;
1311
+ selectorShip?: Prisma.ShipCreateNestedOneWithoutScheduledToInput;
1312
+ inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliedToBySchedulesInput;
1313
+ lastMessage?: Prisma.MessageCreateNestedOneWithoutLastSentBySchedulesInput;
1314
+ messages?: Prisma.MessageCreateNestedManyWithoutScheduleInput;
1315
+ };
1316
+ export type ScheduleUncheckedCreateWithoutFleetInput = {
1317
+ id: string;
1318
+ shipId: string;
1319
+ selectorKind: $Enums.SelectorKind;
1320
+ selectorShipId?: string | null;
1321
+ selectorShipName?: string | null;
1322
+ selectorType?: string | null;
1323
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1324
+ payload: string;
1325
+ contentType: string;
1326
+ model?: string | null;
1327
+ inReplyToMessageId?: string | null;
1328
+ isForced: boolean;
1329
+ timingKind: $Enums.ScheduleTimingKind;
1330
+ onceAt?: Date | string | null;
1331
+ every?: string | null;
1332
+ cron?: string | null;
1333
+ timeZone?: string | null;
1334
+ start?: Date | string | null;
1335
+ end?: Date | string | null;
1336
+ count?: number | null;
1337
+ onRefused: $Enums.RefusalStrategy;
1338
+ retryWindow: string;
1339
+ onMissed: $Enums.MissedStrategy;
1340
+ grace: string;
1341
+ idempotencyKey: string;
1342
+ requestHash: string;
1343
+ state: $Enums.ScheduleState;
1344
+ nextSendTime?: Date | string | null;
1345
+ nextAttemptAt?: Date | string | null;
1346
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1347
+ lastMessageId?: string | null;
1348
+ lastRefusalCode?: string | null;
1349
+ lastSendTime?: Date | string | null;
1350
+ lastOutcomeAt?: Date | string | null;
1351
+ createdAt: Date | string;
1352
+ endedAt?: Date | string | null;
1353
+ cancelledAt?: Date | string | null;
1354
+ messages?: Prisma.MessageUncheckedCreateNestedManyWithoutScheduleInput;
1355
+ };
1356
+ export type ScheduleCreateOrConnectWithoutFleetInput = {
1357
+ where: Prisma.ScheduleWhereUniqueInput;
1358
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutFleetInput, Prisma.ScheduleUncheckedCreateWithoutFleetInput>;
1359
+ };
1360
+ export type ScheduleCreateManyFleetInputEnvelope = {
1361
+ data: Prisma.ScheduleCreateManyFleetInput | Prisma.ScheduleCreateManyFleetInput[];
1362
+ skipDuplicates?: boolean;
1363
+ };
1364
+ export type ScheduleUpsertWithWhereUniqueWithoutFleetInput = {
1365
+ where: Prisma.ScheduleWhereUniqueInput;
1366
+ update: Prisma.XOR<Prisma.ScheduleUpdateWithoutFleetInput, Prisma.ScheduleUncheckedUpdateWithoutFleetInput>;
1367
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutFleetInput, Prisma.ScheduleUncheckedCreateWithoutFleetInput>;
1368
+ };
1369
+ export type ScheduleUpdateWithWhereUniqueWithoutFleetInput = {
1370
+ where: Prisma.ScheduleWhereUniqueInput;
1371
+ data: Prisma.XOR<Prisma.ScheduleUpdateWithoutFleetInput, Prisma.ScheduleUncheckedUpdateWithoutFleetInput>;
1372
+ };
1373
+ export type ScheduleUpdateManyWithWhereWithoutFleetInput = {
1374
+ where: Prisma.ScheduleScalarWhereInput;
1375
+ data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyWithoutFleetInput>;
1376
+ };
1377
+ export type ScheduleScalarWhereInput = {
1378
+ AND?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1379
+ OR?: Prisma.ScheduleScalarWhereInput[];
1380
+ NOT?: Prisma.ScheduleScalarWhereInput | Prisma.ScheduleScalarWhereInput[];
1381
+ id?: Prisma.StringFilter<"Schedule"> | string;
1382
+ fleetId?: Prisma.StringFilter<"Schedule"> | string;
1383
+ shipId?: Prisma.StringFilter<"Schedule"> | string;
1384
+ selectorKind?: Prisma.EnumSelectorKindFilter<"Schedule"> | $Enums.SelectorKind;
1385
+ selectorShipId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1386
+ selectorShipName?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1387
+ selectorType?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1388
+ selectorValueIds?: Prisma.StringNullableListFilter<"Schedule">;
1389
+ payload?: Prisma.StringFilter<"Schedule"> | string;
1390
+ contentType?: Prisma.StringFilter<"Schedule"> | string;
1391
+ model?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1392
+ inReplyToMessageId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1393
+ isForced?: Prisma.BoolFilter<"Schedule"> | boolean;
1394
+ timingKind?: Prisma.EnumScheduleTimingKindFilter<"Schedule"> | $Enums.ScheduleTimingKind;
1395
+ onceAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1396
+ every?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1397
+ cron?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1398
+ timeZone?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1399
+ start?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1400
+ end?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1401
+ count?: Prisma.IntNullableFilter<"Schedule"> | number | null;
1402
+ onRefused?: Prisma.EnumRefusalStrategyFilter<"Schedule"> | $Enums.RefusalStrategy;
1403
+ retryWindow?: Prisma.StringFilter<"Schedule"> | string;
1404
+ onMissed?: Prisma.EnumMissedStrategyFilter<"Schedule"> | $Enums.MissedStrategy;
1405
+ grace?: Prisma.StringFilter<"Schedule"> | string;
1406
+ idempotencyKey?: Prisma.StringFilter<"Schedule"> | string;
1407
+ requestHash?: Prisma.StringFilter<"Schedule"> | string;
1408
+ state?: Prisma.EnumScheduleStateFilter<"Schedule"> | $Enums.ScheduleState;
1409
+ nextSendTime?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1410
+ nextAttemptAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1411
+ lastOutcomeKind?: Prisma.EnumScheduleOutcomeKindNullableFilter<"Schedule"> | $Enums.ScheduleOutcomeKind | null;
1412
+ lastMessageId?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1413
+ lastRefusalCode?: Prisma.StringNullableFilter<"Schedule"> | string | null;
1414
+ lastSendTime?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1415
+ lastOutcomeAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1416
+ createdAt?: Prisma.DateTimeFilter<"Schedule"> | Date | string;
1417
+ endedAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1418
+ cancelledAt?: Prisma.DateTimeNullableFilter<"Schedule"> | Date | string | null;
1419
+ };
1420
+ export type ScheduleCreateWithoutShipInput = {
1421
+ id: string;
1422
+ selectorKind: $Enums.SelectorKind;
1423
+ selectorShipName?: string | null;
1424
+ selectorType?: string | null;
1425
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1426
+ payload: string;
1427
+ contentType: string;
1428
+ model?: string | null;
1429
+ isForced: boolean;
1430
+ timingKind: $Enums.ScheduleTimingKind;
1431
+ onceAt?: Date | string | null;
1432
+ every?: string | null;
1433
+ cron?: string | null;
1434
+ timeZone?: string | null;
1435
+ start?: Date | string | null;
1436
+ end?: Date | string | null;
1437
+ count?: number | null;
1438
+ onRefused: $Enums.RefusalStrategy;
1439
+ retryWindow: string;
1440
+ onMissed: $Enums.MissedStrategy;
1441
+ grace: string;
1442
+ idempotencyKey: string;
1443
+ requestHash: string;
1444
+ state: $Enums.ScheduleState;
1445
+ nextSendTime?: Date | string | null;
1446
+ nextAttemptAt?: Date | string | null;
1447
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1448
+ lastRefusalCode?: string | null;
1449
+ lastSendTime?: Date | string | null;
1450
+ lastOutcomeAt?: Date | string | null;
1451
+ createdAt: Date | string;
1452
+ endedAt?: Date | string | null;
1453
+ cancelledAt?: Date | string | null;
1454
+ fleet: Prisma.FleetCreateNestedOneWithoutSchedulesInput;
1455
+ selectorShip?: Prisma.ShipCreateNestedOneWithoutScheduledToInput;
1456
+ inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliedToBySchedulesInput;
1457
+ lastMessage?: Prisma.MessageCreateNestedOneWithoutLastSentBySchedulesInput;
1458
+ messages?: Prisma.MessageCreateNestedManyWithoutScheduleInput;
1459
+ };
1460
+ export type ScheduleUncheckedCreateWithoutShipInput = {
1461
+ id: string;
1462
+ selectorKind: $Enums.SelectorKind;
1463
+ selectorShipId?: string | null;
1464
+ selectorShipName?: string | null;
1465
+ selectorType?: string | null;
1466
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1467
+ payload: string;
1468
+ contentType: string;
1469
+ model?: string | null;
1470
+ inReplyToMessageId?: string | null;
1471
+ isForced: boolean;
1472
+ timingKind: $Enums.ScheduleTimingKind;
1473
+ onceAt?: Date | string | null;
1474
+ every?: string | null;
1475
+ cron?: string | null;
1476
+ timeZone?: string | null;
1477
+ start?: Date | string | null;
1478
+ end?: Date | string | null;
1479
+ count?: number | null;
1480
+ onRefused: $Enums.RefusalStrategy;
1481
+ retryWindow: string;
1482
+ onMissed: $Enums.MissedStrategy;
1483
+ grace: string;
1484
+ idempotencyKey: string;
1485
+ requestHash: string;
1486
+ state: $Enums.ScheduleState;
1487
+ nextSendTime?: Date | string | null;
1488
+ nextAttemptAt?: Date | string | null;
1489
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1490
+ lastMessageId?: string | null;
1491
+ lastRefusalCode?: string | null;
1492
+ lastSendTime?: Date | string | null;
1493
+ lastOutcomeAt?: Date | string | null;
1494
+ createdAt: Date | string;
1495
+ endedAt?: Date | string | null;
1496
+ cancelledAt?: Date | string | null;
1497
+ messages?: Prisma.MessageUncheckedCreateNestedManyWithoutScheduleInput;
1498
+ };
1499
+ export type ScheduleCreateOrConnectWithoutShipInput = {
1500
+ where: Prisma.ScheduleWhereUniqueInput;
1501
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutShipInput, Prisma.ScheduleUncheckedCreateWithoutShipInput>;
1502
+ };
1503
+ export type ScheduleCreateManyShipInputEnvelope = {
1504
+ data: Prisma.ScheduleCreateManyShipInput | Prisma.ScheduleCreateManyShipInput[];
1505
+ skipDuplicates?: boolean;
1506
+ };
1507
+ export type ScheduleCreateWithoutSelectorShipInput = {
1508
+ id: string;
1509
+ selectorKind: $Enums.SelectorKind;
1510
+ selectorShipName?: string | null;
1511
+ selectorType?: string | null;
1512
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1513
+ payload: string;
1514
+ contentType: string;
1515
+ model?: string | null;
1516
+ isForced: boolean;
1517
+ timingKind: $Enums.ScheduleTimingKind;
1518
+ onceAt?: Date | string | null;
1519
+ every?: string | null;
1520
+ cron?: string | null;
1521
+ timeZone?: string | null;
1522
+ start?: Date | string | null;
1523
+ end?: Date | string | null;
1524
+ count?: number | null;
1525
+ onRefused: $Enums.RefusalStrategy;
1526
+ retryWindow: string;
1527
+ onMissed: $Enums.MissedStrategy;
1528
+ grace: string;
1529
+ idempotencyKey: string;
1530
+ requestHash: string;
1531
+ state: $Enums.ScheduleState;
1532
+ nextSendTime?: Date | string | null;
1533
+ nextAttemptAt?: Date | string | null;
1534
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1535
+ lastRefusalCode?: string | null;
1536
+ lastSendTime?: Date | string | null;
1537
+ lastOutcomeAt?: Date | string | null;
1538
+ createdAt: Date | string;
1539
+ endedAt?: Date | string | null;
1540
+ cancelledAt?: Date | string | null;
1541
+ fleet: Prisma.FleetCreateNestedOneWithoutSchedulesInput;
1542
+ ship: Prisma.ShipCreateNestedOneWithoutSchedulesInput;
1543
+ inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliedToBySchedulesInput;
1544
+ lastMessage?: Prisma.MessageCreateNestedOneWithoutLastSentBySchedulesInput;
1545
+ messages?: Prisma.MessageCreateNestedManyWithoutScheduleInput;
1546
+ };
1547
+ export type ScheduleUncheckedCreateWithoutSelectorShipInput = {
1548
+ id: string;
1549
+ shipId: string;
1550
+ selectorKind: $Enums.SelectorKind;
1551
+ selectorShipName?: string | null;
1552
+ selectorType?: string | null;
1553
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1554
+ payload: string;
1555
+ contentType: string;
1556
+ model?: string | null;
1557
+ inReplyToMessageId?: string | null;
1558
+ isForced: boolean;
1559
+ timingKind: $Enums.ScheduleTimingKind;
1560
+ onceAt?: Date | string | null;
1561
+ every?: string | null;
1562
+ cron?: string | null;
1563
+ timeZone?: string | null;
1564
+ start?: Date | string | null;
1565
+ end?: Date | string | null;
1566
+ count?: number | null;
1567
+ onRefused: $Enums.RefusalStrategy;
1568
+ retryWindow: string;
1569
+ onMissed: $Enums.MissedStrategy;
1570
+ grace: string;
1571
+ idempotencyKey: string;
1572
+ requestHash: string;
1573
+ state: $Enums.ScheduleState;
1574
+ nextSendTime?: Date | string | null;
1575
+ nextAttemptAt?: Date | string | null;
1576
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1577
+ lastMessageId?: string | null;
1578
+ lastRefusalCode?: string | null;
1579
+ lastSendTime?: Date | string | null;
1580
+ lastOutcomeAt?: Date | string | null;
1581
+ createdAt: Date | string;
1582
+ endedAt?: Date | string | null;
1583
+ cancelledAt?: Date | string | null;
1584
+ messages?: Prisma.MessageUncheckedCreateNestedManyWithoutScheduleInput;
1585
+ };
1586
+ export type ScheduleCreateOrConnectWithoutSelectorShipInput = {
1587
+ where: Prisma.ScheduleWhereUniqueInput;
1588
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutSelectorShipInput, Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput>;
1589
+ };
1590
+ export type ScheduleCreateManySelectorShipInputEnvelope = {
1591
+ data: Prisma.ScheduleCreateManySelectorShipInput | Prisma.ScheduleCreateManySelectorShipInput[];
1592
+ skipDuplicates?: boolean;
1593
+ };
1594
+ export type ScheduleUpsertWithWhereUniqueWithoutShipInput = {
1595
+ where: Prisma.ScheduleWhereUniqueInput;
1596
+ update: Prisma.XOR<Prisma.ScheduleUpdateWithoutShipInput, Prisma.ScheduleUncheckedUpdateWithoutShipInput>;
1597
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutShipInput, Prisma.ScheduleUncheckedCreateWithoutShipInput>;
1598
+ };
1599
+ export type ScheduleUpdateWithWhereUniqueWithoutShipInput = {
1600
+ where: Prisma.ScheduleWhereUniqueInput;
1601
+ data: Prisma.XOR<Prisma.ScheduleUpdateWithoutShipInput, Prisma.ScheduleUncheckedUpdateWithoutShipInput>;
1602
+ };
1603
+ export type ScheduleUpdateManyWithWhereWithoutShipInput = {
1604
+ where: Prisma.ScheduleScalarWhereInput;
1605
+ data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyWithoutShipInput>;
1606
+ };
1607
+ export type ScheduleUpsertWithWhereUniqueWithoutSelectorShipInput = {
1608
+ where: Prisma.ScheduleWhereUniqueInput;
1609
+ update: Prisma.XOR<Prisma.ScheduleUpdateWithoutSelectorShipInput, Prisma.ScheduleUncheckedUpdateWithoutSelectorShipInput>;
1610
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutSelectorShipInput, Prisma.ScheduleUncheckedCreateWithoutSelectorShipInput>;
1611
+ };
1612
+ export type ScheduleUpdateWithWhereUniqueWithoutSelectorShipInput = {
1613
+ where: Prisma.ScheduleWhereUniqueInput;
1614
+ data: Prisma.XOR<Prisma.ScheduleUpdateWithoutSelectorShipInput, Prisma.ScheduleUncheckedUpdateWithoutSelectorShipInput>;
1615
+ };
1616
+ export type ScheduleUpdateManyWithWhereWithoutSelectorShipInput = {
1617
+ where: Prisma.ScheduleScalarWhereInput;
1618
+ data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyWithoutSelectorShipInput>;
1619
+ };
1620
+ export type ScheduleCreateWithoutMessagesInput = {
1621
+ id: string;
1622
+ selectorKind: $Enums.SelectorKind;
1623
+ selectorShipName?: string | null;
1624
+ selectorType?: string | null;
1625
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1626
+ payload: string;
1627
+ contentType: string;
1628
+ model?: string | null;
1629
+ isForced: boolean;
1630
+ timingKind: $Enums.ScheduleTimingKind;
1631
+ onceAt?: Date | string | null;
1632
+ every?: string | null;
1633
+ cron?: string | null;
1634
+ timeZone?: string | null;
1635
+ start?: Date | string | null;
1636
+ end?: Date | string | null;
1637
+ count?: number | null;
1638
+ onRefused: $Enums.RefusalStrategy;
1639
+ retryWindow: string;
1640
+ onMissed: $Enums.MissedStrategy;
1641
+ grace: string;
1642
+ idempotencyKey: string;
1643
+ requestHash: string;
1644
+ state: $Enums.ScheduleState;
1645
+ nextSendTime?: Date | string | null;
1646
+ nextAttemptAt?: Date | string | null;
1647
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1648
+ lastRefusalCode?: string | null;
1649
+ lastSendTime?: Date | string | null;
1650
+ lastOutcomeAt?: Date | string | null;
1651
+ createdAt: Date | string;
1652
+ endedAt?: Date | string | null;
1653
+ cancelledAt?: Date | string | null;
1654
+ fleet: Prisma.FleetCreateNestedOneWithoutSchedulesInput;
1655
+ ship: Prisma.ShipCreateNestedOneWithoutSchedulesInput;
1656
+ selectorShip?: Prisma.ShipCreateNestedOneWithoutScheduledToInput;
1657
+ inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliedToBySchedulesInput;
1658
+ lastMessage?: Prisma.MessageCreateNestedOneWithoutLastSentBySchedulesInput;
1659
+ };
1660
+ export type ScheduleUncheckedCreateWithoutMessagesInput = {
1661
+ id: string;
1662
+ fleetId: string;
1663
+ shipId: string;
1664
+ selectorKind: $Enums.SelectorKind;
1665
+ selectorShipId?: string | null;
1666
+ selectorShipName?: string | null;
1667
+ selectorType?: string | null;
1668
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1669
+ payload: string;
1670
+ contentType: string;
1671
+ model?: string | null;
1672
+ inReplyToMessageId?: string | null;
1673
+ isForced: boolean;
1674
+ timingKind: $Enums.ScheduleTimingKind;
1675
+ onceAt?: Date | string | null;
1676
+ every?: string | null;
1677
+ cron?: string | null;
1678
+ timeZone?: string | null;
1679
+ start?: Date | string | null;
1680
+ end?: Date | string | null;
1681
+ count?: number | null;
1682
+ onRefused: $Enums.RefusalStrategy;
1683
+ retryWindow: string;
1684
+ onMissed: $Enums.MissedStrategy;
1685
+ grace: string;
1686
+ idempotencyKey: string;
1687
+ requestHash: string;
1688
+ state: $Enums.ScheduleState;
1689
+ nextSendTime?: Date | string | null;
1690
+ nextAttemptAt?: Date | string | null;
1691
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1692
+ lastMessageId?: string | null;
1693
+ lastRefusalCode?: string | null;
1694
+ lastSendTime?: Date | string | null;
1695
+ lastOutcomeAt?: Date | string | null;
1696
+ createdAt: Date | string;
1697
+ endedAt?: Date | string | null;
1698
+ cancelledAt?: Date | string | null;
1699
+ };
1700
+ export type ScheduleCreateOrConnectWithoutMessagesInput = {
1701
+ where: Prisma.ScheduleWhereUniqueInput;
1702
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutMessagesInput, Prisma.ScheduleUncheckedCreateWithoutMessagesInput>;
1703
+ };
1704
+ export type ScheduleCreateWithoutInReplyToInput = {
1705
+ id: string;
1706
+ selectorKind: $Enums.SelectorKind;
1707
+ selectorShipName?: string | null;
1708
+ selectorType?: string | null;
1709
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1710
+ payload: string;
1711
+ contentType: string;
1712
+ model?: string | null;
1713
+ isForced: boolean;
1714
+ timingKind: $Enums.ScheduleTimingKind;
1715
+ onceAt?: Date | string | null;
1716
+ every?: string | null;
1717
+ cron?: string | null;
1718
+ timeZone?: string | null;
1719
+ start?: Date | string | null;
1720
+ end?: Date | string | null;
1721
+ count?: number | null;
1722
+ onRefused: $Enums.RefusalStrategy;
1723
+ retryWindow: string;
1724
+ onMissed: $Enums.MissedStrategy;
1725
+ grace: string;
1726
+ idempotencyKey: string;
1727
+ requestHash: string;
1728
+ state: $Enums.ScheduleState;
1729
+ nextSendTime?: Date | string | null;
1730
+ nextAttemptAt?: Date | string | null;
1731
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1732
+ lastRefusalCode?: string | null;
1733
+ lastSendTime?: Date | string | null;
1734
+ lastOutcomeAt?: Date | string | null;
1735
+ createdAt: Date | string;
1736
+ endedAt?: Date | string | null;
1737
+ cancelledAt?: Date | string | null;
1738
+ fleet: Prisma.FleetCreateNestedOneWithoutSchedulesInput;
1739
+ ship: Prisma.ShipCreateNestedOneWithoutSchedulesInput;
1740
+ selectorShip?: Prisma.ShipCreateNestedOneWithoutScheduledToInput;
1741
+ lastMessage?: Prisma.MessageCreateNestedOneWithoutLastSentBySchedulesInput;
1742
+ messages?: Prisma.MessageCreateNestedManyWithoutScheduleInput;
1743
+ };
1744
+ export type ScheduleUncheckedCreateWithoutInReplyToInput = {
1745
+ id: string;
1746
+ shipId: string;
1747
+ selectorKind: $Enums.SelectorKind;
1748
+ selectorShipId?: string | null;
1749
+ selectorShipName?: string | null;
1750
+ selectorType?: string | null;
1751
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1752
+ payload: string;
1753
+ contentType: string;
1754
+ model?: string | null;
1755
+ isForced: boolean;
1756
+ timingKind: $Enums.ScheduleTimingKind;
1757
+ onceAt?: Date | string | null;
1758
+ every?: string | null;
1759
+ cron?: string | null;
1760
+ timeZone?: string | null;
1761
+ start?: Date | string | null;
1762
+ end?: Date | string | null;
1763
+ count?: number | null;
1764
+ onRefused: $Enums.RefusalStrategy;
1765
+ retryWindow: string;
1766
+ onMissed: $Enums.MissedStrategy;
1767
+ grace: string;
1768
+ idempotencyKey: string;
1769
+ requestHash: string;
1770
+ state: $Enums.ScheduleState;
1771
+ nextSendTime?: Date | string | null;
1772
+ nextAttemptAt?: Date | string | null;
1773
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1774
+ lastMessageId?: string | null;
1775
+ lastRefusalCode?: string | null;
1776
+ lastSendTime?: Date | string | null;
1777
+ lastOutcomeAt?: Date | string | null;
1778
+ createdAt: Date | string;
1779
+ endedAt?: Date | string | null;
1780
+ cancelledAt?: Date | string | null;
1781
+ messages?: Prisma.MessageUncheckedCreateNestedManyWithoutScheduleInput;
1782
+ };
1783
+ export type ScheduleCreateOrConnectWithoutInReplyToInput = {
1784
+ where: Prisma.ScheduleWhereUniqueInput;
1785
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutInReplyToInput, Prisma.ScheduleUncheckedCreateWithoutInReplyToInput>;
1786
+ };
1787
+ export type ScheduleCreateManyInReplyToInputEnvelope = {
1788
+ data: Prisma.ScheduleCreateManyInReplyToInput | Prisma.ScheduleCreateManyInReplyToInput[];
1789
+ skipDuplicates?: boolean;
1790
+ };
1791
+ export type ScheduleCreateWithoutLastMessageInput = {
1792
+ id: string;
1793
+ selectorKind: $Enums.SelectorKind;
1794
+ selectorShipName?: string | null;
1795
+ selectorType?: string | null;
1796
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1797
+ payload: string;
1798
+ contentType: string;
1799
+ model?: string | null;
1800
+ isForced: boolean;
1801
+ timingKind: $Enums.ScheduleTimingKind;
1802
+ onceAt?: Date | string | null;
1803
+ every?: string | null;
1804
+ cron?: string | null;
1805
+ timeZone?: string | null;
1806
+ start?: Date | string | null;
1807
+ end?: Date | string | null;
1808
+ count?: number | null;
1809
+ onRefused: $Enums.RefusalStrategy;
1810
+ retryWindow: string;
1811
+ onMissed: $Enums.MissedStrategy;
1812
+ grace: string;
1813
+ idempotencyKey: string;
1814
+ requestHash: string;
1815
+ state: $Enums.ScheduleState;
1816
+ nextSendTime?: Date | string | null;
1817
+ nextAttemptAt?: Date | string | null;
1818
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1819
+ lastRefusalCode?: string | null;
1820
+ lastSendTime?: Date | string | null;
1821
+ lastOutcomeAt?: Date | string | null;
1822
+ createdAt: Date | string;
1823
+ endedAt?: Date | string | null;
1824
+ cancelledAt?: Date | string | null;
1825
+ fleet: Prisma.FleetCreateNestedOneWithoutSchedulesInput;
1826
+ ship: Prisma.ShipCreateNestedOneWithoutSchedulesInput;
1827
+ selectorShip?: Prisma.ShipCreateNestedOneWithoutScheduledToInput;
1828
+ inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliedToBySchedulesInput;
1829
+ messages?: Prisma.MessageCreateNestedManyWithoutScheduleInput;
1830
+ };
1831
+ export type ScheduleUncheckedCreateWithoutLastMessageInput = {
1832
+ id: string;
1833
+ shipId: string;
1834
+ selectorKind: $Enums.SelectorKind;
1835
+ selectorShipId?: string | null;
1836
+ selectorShipName?: string | null;
1837
+ selectorType?: string | null;
1838
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
1839
+ payload: string;
1840
+ contentType: string;
1841
+ model?: string | null;
1842
+ inReplyToMessageId?: string | null;
1843
+ isForced: boolean;
1844
+ timingKind: $Enums.ScheduleTimingKind;
1845
+ onceAt?: Date | string | null;
1846
+ every?: string | null;
1847
+ cron?: string | null;
1848
+ timeZone?: string | null;
1849
+ start?: Date | string | null;
1850
+ end?: Date | string | null;
1851
+ count?: number | null;
1852
+ onRefused: $Enums.RefusalStrategy;
1853
+ retryWindow: string;
1854
+ onMissed: $Enums.MissedStrategy;
1855
+ grace: string;
1856
+ idempotencyKey: string;
1857
+ requestHash: string;
1858
+ state: $Enums.ScheduleState;
1859
+ nextSendTime?: Date | string | null;
1860
+ nextAttemptAt?: Date | string | null;
1861
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
1862
+ lastRefusalCode?: string | null;
1863
+ lastSendTime?: Date | string | null;
1864
+ lastOutcomeAt?: Date | string | null;
1865
+ createdAt: Date | string;
1866
+ endedAt?: Date | string | null;
1867
+ cancelledAt?: Date | string | null;
1868
+ messages?: Prisma.MessageUncheckedCreateNestedManyWithoutScheduleInput;
1869
+ };
1870
+ export type ScheduleCreateOrConnectWithoutLastMessageInput = {
1871
+ where: Prisma.ScheduleWhereUniqueInput;
1872
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutLastMessageInput, Prisma.ScheduleUncheckedCreateWithoutLastMessageInput>;
1873
+ };
1874
+ export type ScheduleCreateManyLastMessageInputEnvelope = {
1875
+ data: Prisma.ScheduleCreateManyLastMessageInput | Prisma.ScheduleCreateManyLastMessageInput[];
1876
+ skipDuplicates?: boolean;
1877
+ };
1878
+ export type ScheduleUpsertWithoutMessagesInput = {
1879
+ update: Prisma.XOR<Prisma.ScheduleUpdateWithoutMessagesInput, Prisma.ScheduleUncheckedUpdateWithoutMessagesInput>;
1880
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutMessagesInput, Prisma.ScheduleUncheckedCreateWithoutMessagesInput>;
1881
+ where?: Prisma.ScheduleWhereInput;
1882
+ };
1883
+ export type ScheduleUpdateToOneWithWhereWithoutMessagesInput = {
1884
+ where?: Prisma.ScheduleWhereInput;
1885
+ data: Prisma.XOR<Prisma.ScheduleUpdateWithoutMessagesInput, Prisma.ScheduleUncheckedUpdateWithoutMessagesInput>;
1886
+ };
1887
+ export type ScheduleUpdateWithoutMessagesInput = {
1888
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1889
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1890
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1891
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1892
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
1893
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
1894
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1895
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1896
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1897
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
1898
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1899
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1900
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1901
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1902
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1903
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1904
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1905
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
1906
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
1907
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
1908
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
1909
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1910
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1911
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
1912
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1913
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1914
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
1915
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1916
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1917
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1918
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1919
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1920
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1921
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutSchedulesNestedInput;
1922
+ ship?: Prisma.ShipUpdateOneRequiredWithoutSchedulesNestedInput;
1923
+ selectorShip?: Prisma.ShipUpdateOneWithoutScheduledToNestedInput;
1924
+ inReplyTo?: Prisma.MessageUpdateOneWithoutRepliedToBySchedulesNestedInput;
1925
+ lastMessage?: Prisma.MessageUpdateOneWithoutLastSentBySchedulesNestedInput;
1926
+ };
1927
+ export type ScheduleUncheckedUpdateWithoutMessagesInput = {
1928
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1929
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
1930
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
1931
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1932
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1933
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1934
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1935
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
1936
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
1937
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1938
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1939
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1940
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1941
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
1942
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1943
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1944
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1945
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1946
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1947
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1948
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1949
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
1950
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
1951
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
1952
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
1953
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1954
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1955
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
1956
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1957
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1958
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
1959
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1960
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1961
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1962
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1963
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1964
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1965
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1966
+ };
1967
+ export type ScheduleUpsertWithWhereUniqueWithoutInReplyToInput = {
1968
+ where: Prisma.ScheduleWhereUniqueInput;
1969
+ update: Prisma.XOR<Prisma.ScheduleUpdateWithoutInReplyToInput, Prisma.ScheduleUncheckedUpdateWithoutInReplyToInput>;
1970
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutInReplyToInput, Prisma.ScheduleUncheckedCreateWithoutInReplyToInput>;
1971
+ };
1972
+ export type ScheduleUpdateWithWhereUniqueWithoutInReplyToInput = {
1973
+ where: Prisma.ScheduleWhereUniqueInput;
1974
+ data: Prisma.XOR<Prisma.ScheduleUpdateWithoutInReplyToInput, Prisma.ScheduleUncheckedUpdateWithoutInReplyToInput>;
1975
+ };
1976
+ export type ScheduleUpdateManyWithWhereWithoutInReplyToInput = {
1977
+ where: Prisma.ScheduleScalarWhereInput;
1978
+ data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToInput>;
1979
+ };
1980
+ export type ScheduleUpsertWithWhereUniqueWithoutLastMessageInput = {
1981
+ where: Prisma.ScheduleWhereUniqueInput;
1982
+ update: Prisma.XOR<Prisma.ScheduleUpdateWithoutLastMessageInput, Prisma.ScheduleUncheckedUpdateWithoutLastMessageInput>;
1983
+ create: Prisma.XOR<Prisma.ScheduleCreateWithoutLastMessageInput, Prisma.ScheduleUncheckedCreateWithoutLastMessageInput>;
1984
+ };
1985
+ export type ScheduleUpdateWithWhereUniqueWithoutLastMessageInput = {
1986
+ where: Prisma.ScheduleWhereUniqueInput;
1987
+ data: Prisma.XOR<Prisma.ScheduleUpdateWithoutLastMessageInput, Prisma.ScheduleUncheckedUpdateWithoutLastMessageInput>;
1988
+ };
1989
+ export type ScheduleUpdateManyWithWhereWithoutLastMessageInput = {
1990
+ where: Prisma.ScheduleScalarWhereInput;
1991
+ data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageInput>;
1992
+ };
1993
+ export type ScheduleCreateManyFleetInput = {
1994
+ id: string;
1995
+ shipId: string;
1996
+ selectorKind: $Enums.SelectorKind;
1997
+ selectorShipId?: string | null;
1998
+ selectorShipName?: string | null;
1999
+ selectorType?: string | null;
2000
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
2001
+ payload: string;
2002
+ contentType: string;
2003
+ model?: string | null;
2004
+ inReplyToMessageId?: string | null;
2005
+ isForced: boolean;
2006
+ timingKind: $Enums.ScheduleTimingKind;
2007
+ onceAt?: Date | string | null;
2008
+ every?: string | null;
2009
+ cron?: string | null;
2010
+ timeZone?: string | null;
2011
+ start?: Date | string | null;
2012
+ end?: Date | string | null;
2013
+ count?: number | null;
2014
+ onRefused: $Enums.RefusalStrategy;
2015
+ retryWindow: string;
2016
+ onMissed: $Enums.MissedStrategy;
2017
+ grace: string;
2018
+ idempotencyKey: string;
2019
+ requestHash: string;
2020
+ state: $Enums.ScheduleState;
2021
+ nextSendTime?: Date | string | null;
2022
+ nextAttemptAt?: Date | string | null;
2023
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
2024
+ lastMessageId?: string | null;
2025
+ lastRefusalCode?: string | null;
2026
+ lastSendTime?: Date | string | null;
2027
+ lastOutcomeAt?: Date | string | null;
2028
+ createdAt: Date | string;
2029
+ endedAt?: Date | string | null;
2030
+ cancelledAt?: Date | string | null;
2031
+ };
2032
+ export type ScheduleUpdateWithoutFleetInput = {
2033
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2034
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2035
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2036
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2037
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2038
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2039
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2040
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2041
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2042
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2043
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2044
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2045
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2046
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2047
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2048
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2049
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2050
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2051
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2052
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2053
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2054
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2055
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2056
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2057
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2058
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2059
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2060
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2061
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2062
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2063
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2064
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2065
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2066
+ ship?: Prisma.ShipUpdateOneRequiredWithoutSchedulesNestedInput;
2067
+ selectorShip?: Prisma.ShipUpdateOneWithoutScheduledToNestedInput;
2068
+ inReplyTo?: Prisma.MessageUpdateOneWithoutRepliedToBySchedulesNestedInput;
2069
+ lastMessage?: Prisma.MessageUpdateOneWithoutLastSentBySchedulesNestedInput;
2070
+ messages?: Prisma.MessageUpdateManyWithoutScheduleNestedInput;
2071
+ };
2072
+ export type ScheduleUncheckedUpdateWithoutFleetInput = {
2073
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2074
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2075
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2076
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2077
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2079
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2080
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2081
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2082
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2083
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2084
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2085
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2086
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2087
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2088
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2089
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2090
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2091
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2092
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2093
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2094
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2095
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2096
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2097
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2098
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2099
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2100
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2101
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2102
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2103
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2104
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2105
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2106
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2107
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2108
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2109
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2110
+ messages?: Prisma.MessageUncheckedUpdateManyWithoutScheduleNestedInput;
2111
+ };
2112
+ export type ScheduleUncheckedUpdateManyWithoutFleetInput = {
2113
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2114
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2115
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2116
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2117
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2118
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2119
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2120
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2121
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2122
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2123
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2124
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2125
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2126
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2127
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2128
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2129
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2130
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2131
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2132
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2133
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2134
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2135
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2136
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2137
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2138
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2139
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2140
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2141
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2142
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2143
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2144
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2145
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2146
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2147
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2148
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2149
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2150
+ };
2151
+ export type ScheduleCreateManyShipInput = {
2152
+ id: string;
2153
+ selectorKind: $Enums.SelectorKind;
2154
+ selectorShipId?: string | null;
2155
+ selectorShipName?: string | null;
2156
+ selectorType?: string | null;
2157
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
2158
+ payload: string;
2159
+ contentType: string;
2160
+ model?: string | null;
2161
+ inReplyToMessageId?: string | null;
2162
+ isForced: boolean;
2163
+ timingKind: $Enums.ScheduleTimingKind;
2164
+ onceAt?: Date | string | null;
2165
+ every?: string | null;
2166
+ cron?: string | null;
2167
+ timeZone?: string | null;
2168
+ start?: Date | string | null;
2169
+ end?: Date | string | null;
2170
+ count?: number | null;
2171
+ onRefused: $Enums.RefusalStrategy;
2172
+ retryWindow: string;
2173
+ onMissed: $Enums.MissedStrategy;
2174
+ grace: string;
2175
+ idempotencyKey: string;
2176
+ requestHash: string;
2177
+ state: $Enums.ScheduleState;
2178
+ nextSendTime?: Date | string | null;
2179
+ nextAttemptAt?: Date | string | null;
2180
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
2181
+ lastMessageId?: string | null;
2182
+ lastRefusalCode?: string | null;
2183
+ lastSendTime?: Date | string | null;
2184
+ lastOutcomeAt?: Date | string | null;
2185
+ createdAt: Date | string;
2186
+ endedAt?: Date | string | null;
2187
+ cancelledAt?: Date | string | null;
2188
+ };
2189
+ export type ScheduleCreateManySelectorShipInput = {
2190
+ id: string;
2191
+ shipId: string;
2192
+ selectorKind: $Enums.SelectorKind;
2193
+ selectorShipName?: string | null;
2194
+ selectorType?: string | null;
2195
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
2196
+ payload: string;
2197
+ contentType: string;
2198
+ model?: string | null;
2199
+ inReplyToMessageId?: string | null;
2200
+ isForced: boolean;
2201
+ timingKind: $Enums.ScheduleTimingKind;
2202
+ onceAt?: Date | string | null;
2203
+ every?: string | null;
2204
+ cron?: string | null;
2205
+ timeZone?: string | null;
2206
+ start?: Date | string | null;
2207
+ end?: Date | string | null;
2208
+ count?: number | null;
2209
+ onRefused: $Enums.RefusalStrategy;
2210
+ retryWindow: string;
2211
+ onMissed: $Enums.MissedStrategy;
2212
+ grace: string;
2213
+ idempotencyKey: string;
2214
+ requestHash: string;
2215
+ state: $Enums.ScheduleState;
2216
+ nextSendTime?: Date | string | null;
2217
+ nextAttemptAt?: Date | string | null;
2218
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
2219
+ lastMessageId?: string | null;
2220
+ lastRefusalCode?: string | null;
2221
+ lastSendTime?: Date | string | null;
2222
+ lastOutcomeAt?: Date | string | null;
2223
+ createdAt: Date | string;
2224
+ endedAt?: Date | string | null;
2225
+ cancelledAt?: Date | string | null;
2226
+ };
2227
+ export type ScheduleUpdateWithoutShipInput = {
2228
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2229
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2230
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2231
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2232
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2233
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2234
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2235
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2236
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2237
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2238
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2239
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2240
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2241
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2242
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2243
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2244
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2245
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2246
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2247
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2248
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2249
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2250
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2251
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2252
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2253
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2254
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2255
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2256
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2257
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2258
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2259
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2260
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2261
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutSchedulesNestedInput;
2262
+ selectorShip?: Prisma.ShipUpdateOneWithoutScheduledToNestedInput;
2263
+ inReplyTo?: Prisma.MessageUpdateOneWithoutRepliedToBySchedulesNestedInput;
2264
+ lastMessage?: Prisma.MessageUpdateOneWithoutLastSentBySchedulesNestedInput;
2265
+ messages?: Prisma.MessageUpdateManyWithoutScheduleNestedInput;
2266
+ };
2267
+ export type ScheduleUncheckedUpdateWithoutShipInput = {
2268
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2269
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2270
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2271
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2272
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2273
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2274
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2275
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2276
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2277
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2278
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2279
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2280
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2281
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2282
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2283
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2284
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2285
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2286
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2287
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2288
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2289
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2290
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2291
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2292
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2293
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2294
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2295
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2296
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2297
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2298
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2299
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2300
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2301
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2302
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2303
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2304
+ messages?: Prisma.MessageUncheckedUpdateManyWithoutScheduleNestedInput;
2305
+ };
2306
+ export type ScheduleUncheckedUpdateManyWithoutShipInput = {
2307
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2308
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2309
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2310
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2311
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2312
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2313
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2314
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2315
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2316
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2317
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2318
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2319
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2320
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2321
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2322
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2323
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2324
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2325
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2326
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2327
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2328
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2329
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2330
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2331
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2332
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2333
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2334
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2335
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2336
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2337
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2338
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2339
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2340
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2341
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2342
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2343
+ };
2344
+ export type ScheduleUpdateWithoutSelectorShipInput = {
2345
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2346
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2347
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2348
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2349
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2350
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2351
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2352
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2353
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2354
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2355
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2356
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2357
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2358
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2359
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2360
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2361
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2362
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2363
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2364
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2365
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2366
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2367
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2368
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2369
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2370
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2371
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2372
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2373
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2374
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2375
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2376
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2377
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2378
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutSchedulesNestedInput;
2379
+ ship?: Prisma.ShipUpdateOneRequiredWithoutSchedulesNestedInput;
2380
+ inReplyTo?: Prisma.MessageUpdateOneWithoutRepliedToBySchedulesNestedInput;
2381
+ lastMessage?: Prisma.MessageUpdateOneWithoutLastSentBySchedulesNestedInput;
2382
+ messages?: Prisma.MessageUpdateManyWithoutScheduleNestedInput;
2383
+ };
2384
+ export type ScheduleUncheckedUpdateWithoutSelectorShipInput = {
2385
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2386
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2387
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2388
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2389
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2390
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2391
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2392
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2393
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2394
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2395
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2396
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2397
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2398
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2399
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2400
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2401
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2402
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2403
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2404
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2405
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2406
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2407
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2408
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2409
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2410
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2411
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2412
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2413
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2414
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2415
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2416
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2417
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2418
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2419
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2420
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2421
+ messages?: Prisma.MessageUncheckedUpdateManyWithoutScheduleNestedInput;
2422
+ };
2423
+ export type ScheduleUncheckedUpdateManyWithoutSelectorShipInput = {
2424
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2425
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2426
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2427
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2428
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2429
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2430
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2431
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2432
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2433
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2434
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2435
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2436
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2437
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2438
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2439
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2440
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2441
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2442
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2443
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2444
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2445
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2446
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2447
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2448
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2449
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2450
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2451
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2452
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2453
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2454
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2455
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2456
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2457
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2458
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2459
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2460
+ };
2461
+ export type ScheduleCreateManyInReplyToInput = {
2462
+ id: string;
2463
+ shipId: string;
2464
+ selectorKind: $Enums.SelectorKind;
2465
+ selectorShipId?: string | null;
2466
+ selectorShipName?: string | null;
2467
+ selectorType?: string | null;
2468
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
2469
+ payload: string;
2470
+ contentType: string;
2471
+ model?: string | null;
2472
+ isForced: boolean;
2473
+ timingKind: $Enums.ScheduleTimingKind;
2474
+ onceAt?: Date | string | null;
2475
+ every?: string | null;
2476
+ cron?: string | null;
2477
+ timeZone?: string | null;
2478
+ start?: Date | string | null;
2479
+ end?: Date | string | null;
2480
+ count?: number | null;
2481
+ onRefused: $Enums.RefusalStrategy;
2482
+ retryWindow: string;
2483
+ onMissed: $Enums.MissedStrategy;
2484
+ grace: string;
2485
+ idempotencyKey: string;
2486
+ requestHash: string;
2487
+ state: $Enums.ScheduleState;
2488
+ nextSendTime?: Date | string | null;
2489
+ nextAttemptAt?: Date | string | null;
2490
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
2491
+ lastMessageId?: string | null;
2492
+ lastRefusalCode?: string | null;
2493
+ lastSendTime?: Date | string | null;
2494
+ lastOutcomeAt?: Date | string | null;
2495
+ createdAt: Date | string;
2496
+ endedAt?: Date | string | null;
2497
+ cancelledAt?: Date | string | null;
2498
+ };
2499
+ export type ScheduleCreateManyLastMessageInput = {
2500
+ id: string;
2501
+ shipId: string;
2502
+ selectorKind: $Enums.SelectorKind;
2503
+ selectorShipId?: string | null;
2504
+ selectorShipName?: string | null;
2505
+ selectorType?: string | null;
2506
+ selectorValueIds?: Prisma.ScheduleCreateselectorValueIdsInput | string[];
2507
+ payload: string;
2508
+ contentType: string;
2509
+ model?: string | null;
2510
+ inReplyToMessageId?: string | null;
2511
+ isForced: boolean;
2512
+ timingKind: $Enums.ScheduleTimingKind;
2513
+ onceAt?: Date | string | null;
2514
+ every?: string | null;
2515
+ cron?: string | null;
2516
+ timeZone?: string | null;
2517
+ start?: Date | string | null;
2518
+ end?: Date | string | null;
2519
+ count?: number | null;
2520
+ onRefused: $Enums.RefusalStrategy;
2521
+ retryWindow: string;
2522
+ onMissed: $Enums.MissedStrategy;
2523
+ grace: string;
2524
+ idempotencyKey: string;
2525
+ requestHash: string;
2526
+ state: $Enums.ScheduleState;
2527
+ nextSendTime?: Date | string | null;
2528
+ nextAttemptAt?: Date | string | null;
2529
+ lastOutcomeKind?: $Enums.ScheduleOutcomeKind | null;
2530
+ lastRefusalCode?: string | null;
2531
+ lastSendTime?: Date | string | null;
2532
+ lastOutcomeAt?: Date | string | null;
2533
+ createdAt: Date | string;
2534
+ endedAt?: Date | string | null;
2535
+ cancelledAt?: Date | string | null;
2536
+ };
2537
+ export type ScheduleUpdateWithoutInReplyToInput = {
2538
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2539
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2540
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2541
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2542
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2543
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2544
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2545
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2546
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2547
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2548
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2549
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2550
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2551
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2552
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2553
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2554
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2555
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2556
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2557
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2558
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2559
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2560
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2561
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2562
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2563
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2564
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2565
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2566
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2567
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2568
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2569
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2570
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2571
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutSchedulesNestedInput;
2572
+ ship?: Prisma.ShipUpdateOneRequiredWithoutSchedulesNestedInput;
2573
+ selectorShip?: Prisma.ShipUpdateOneWithoutScheduledToNestedInput;
2574
+ lastMessage?: Prisma.MessageUpdateOneWithoutLastSentBySchedulesNestedInput;
2575
+ messages?: Prisma.MessageUpdateManyWithoutScheduleNestedInput;
2576
+ };
2577
+ export type ScheduleUncheckedUpdateWithoutInReplyToInput = {
2578
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2579
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2580
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2581
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2582
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2583
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2584
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2585
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2586
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2587
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2588
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2589
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2590
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2591
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2592
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2593
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2594
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2595
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2596
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2597
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2598
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2599
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2600
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2601
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2602
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2603
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2604
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2605
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2606
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2607
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2608
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2609
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2610
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2611
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2612
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2613
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2614
+ messages?: Prisma.MessageUncheckedUpdateManyWithoutScheduleNestedInput;
2615
+ };
2616
+ export type ScheduleUncheckedUpdateManyWithoutInReplyToInput = {
2617
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2618
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2619
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2620
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2621
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2622
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2623
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2624
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2625
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2626
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2627
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2628
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2629
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2630
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2631
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2632
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2633
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2634
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2635
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2636
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2637
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2638
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2639
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2640
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2641
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2642
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2643
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2644
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2645
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2646
+ lastMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2647
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2648
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2649
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2650
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2651
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2652
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2653
+ };
2654
+ export type ScheduleUpdateWithoutLastMessageInput = {
2655
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2656
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2657
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2658
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2659
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2660
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2661
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2662
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2663
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2664
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2665
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2666
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2667
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2668
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2669
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2670
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2671
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2672
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2673
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2674
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2675
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2676
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2677
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2678
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2679
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2680
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2681
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2682
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2683
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2684
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2685
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2686
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2687
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2688
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutSchedulesNestedInput;
2689
+ ship?: Prisma.ShipUpdateOneRequiredWithoutSchedulesNestedInput;
2690
+ selectorShip?: Prisma.ShipUpdateOneWithoutScheduledToNestedInput;
2691
+ inReplyTo?: Prisma.MessageUpdateOneWithoutRepliedToBySchedulesNestedInput;
2692
+ messages?: Prisma.MessageUpdateManyWithoutScheduleNestedInput;
2693
+ };
2694
+ export type ScheduleUncheckedUpdateWithoutLastMessageInput = {
2695
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2696
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2697
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2698
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2699
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2700
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2701
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2702
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2703
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2704
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2705
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2706
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2707
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2708
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2709
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2710
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2711
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2712
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2713
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2714
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2715
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2716
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2717
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2718
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2719
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2720
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2721
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2722
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2723
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2724
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2725
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2726
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2727
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2728
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2729
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2730
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2731
+ messages?: Prisma.MessageUncheckedUpdateManyWithoutScheduleNestedInput;
2732
+ };
2733
+ export type ScheduleUncheckedUpdateManyWithoutLastMessageInput = {
2734
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2735
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
2736
+ selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
2737
+ selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2738
+ selectorShipName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2739
+ selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2740
+ selectorValueIds?: Prisma.ScheduleUpdateselectorValueIdsInput | string[];
2741
+ payload?: Prisma.StringFieldUpdateOperationsInput | string;
2742
+ contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2743
+ model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2744
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2745
+ isForced?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2746
+ timingKind?: Prisma.EnumScheduleTimingKindFieldUpdateOperationsInput | $Enums.ScheduleTimingKind;
2747
+ onceAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2748
+ every?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2749
+ cron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2750
+ timeZone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2751
+ start?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2752
+ end?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2753
+ count?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2754
+ onRefused?: Prisma.EnumRefusalStrategyFieldUpdateOperationsInput | $Enums.RefusalStrategy;
2755
+ retryWindow?: Prisma.StringFieldUpdateOperationsInput | string;
2756
+ onMissed?: Prisma.EnumMissedStrategyFieldUpdateOperationsInput | $Enums.MissedStrategy;
2757
+ grace?: Prisma.StringFieldUpdateOperationsInput | string;
2758
+ idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
2759
+ requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
2760
+ state?: Prisma.EnumScheduleStateFieldUpdateOperationsInput | $Enums.ScheduleState;
2761
+ nextSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2762
+ nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2763
+ lastOutcomeKind?: Prisma.NullableEnumScheduleOutcomeKindFieldUpdateOperationsInput | $Enums.ScheduleOutcomeKind | null;
2764
+ lastRefusalCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2765
+ lastSendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2766
+ lastOutcomeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2767
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2768
+ endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2769
+ cancelledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2770
+ };
2771
+ /**
2772
+ * Count Type ScheduleCountOutputType
2773
+ */
2774
+ export type ScheduleCountOutputType = {
2775
+ messages: number;
2776
+ };
2777
+ export type ScheduleCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2778
+ messages?: boolean | ScheduleCountOutputTypeCountMessagesArgs;
2779
+ };
2780
+ /**
2781
+ * ScheduleCountOutputType without action
2782
+ */
2783
+ export type ScheduleCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2784
+ /**
2785
+ * Select specific fields to fetch from the ScheduleCountOutputType
2786
+ */
2787
+ select?: Prisma.ScheduleCountOutputTypeSelect<ExtArgs> | null;
2788
+ };
2789
+ /**
2790
+ * ScheduleCountOutputType without action
2791
+ */
2792
+ export type ScheduleCountOutputTypeCountMessagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2793
+ where?: Prisma.MessageWhereInput;
2794
+ };
2795
+ export type ScheduleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2796
+ id?: boolean;
2797
+ fleetId?: boolean;
2798
+ shipId?: boolean;
2799
+ selectorKind?: boolean;
2800
+ selectorShipId?: boolean;
2801
+ selectorShipName?: boolean;
2802
+ selectorType?: boolean;
2803
+ selectorValueIds?: boolean;
2804
+ payload?: boolean;
2805
+ contentType?: boolean;
2806
+ model?: boolean;
2807
+ inReplyToMessageId?: boolean;
2808
+ isForced?: boolean;
2809
+ timingKind?: boolean;
2810
+ onceAt?: boolean;
2811
+ every?: boolean;
2812
+ cron?: boolean;
2813
+ timeZone?: boolean;
2814
+ start?: boolean;
2815
+ end?: boolean;
2816
+ count?: boolean;
2817
+ onRefused?: boolean;
2818
+ retryWindow?: boolean;
2819
+ onMissed?: boolean;
2820
+ grace?: boolean;
2821
+ idempotencyKey?: boolean;
2822
+ requestHash?: boolean;
2823
+ state?: boolean;
2824
+ nextSendTime?: boolean;
2825
+ nextAttemptAt?: boolean;
2826
+ lastOutcomeKind?: boolean;
2827
+ lastMessageId?: boolean;
2828
+ lastRefusalCode?: boolean;
2829
+ lastSendTime?: boolean;
2830
+ lastOutcomeAt?: boolean;
2831
+ createdAt?: boolean;
2832
+ endedAt?: boolean;
2833
+ cancelledAt?: boolean;
2834
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2835
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2836
+ selectorShip?: boolean | Prisma.Schedule$selectorShipArgs<ExtArgs>;
2837
+ inReplyTo?: boolean | Prisma.Schedule$inReplyToArgs<ExtArgs>;
2838
+ lastMessage?: boolean | Prisma.Schedule$lastMessageArgs<ExtArgs>;
2839
+ messages?: boolean | Prisma.Schedule$messagesArgs<ExtArgs>;
2840
+ _count?: boolean | Prisma.ScheduleCountOutputTypeDefaultArgs<ExtArgs>;
2841
+ }, ExtArgs["result"]["schedule"]>;
2842
+ export type ScheduleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2843
+ id?: boolean;
2844
+ fleetId?: boolean;
2845
+ shipId?: boolean;
2846
+ selectorKind?: boolean;
2847
+ selectorShipId?: boolean;
2848
+ selectorShipName?: boolean;
2849
+ selectorType?: boolean;
2850
+ selectorValueIds?: boolean;
2851
+ payload?: boolean;
2852
+ contentType?: boolean;
2853
+ model?: boolean;
2854
+ inReplyToMessageId?: boolean;
2855
+ isForced?: boolean;
2856
+ timingKind?: boolean;
2857
+ onceAt?: boolean;
2858
+ every?: boolean;
2859
+ cron?: boolean;
2860
+ timeZone?: boolean;
2861
+ start?: boolean;
2862
+ end?: boolean;
2863
+ count?: boolean;
2864
+ onRefused?: boolean;
2865
+ retryWindow?: boolean;
2866
+ onMissed?: boolean;
2867
+ grace?: boolean;
2868
+ idempotencyKey?: boolean;
2869
+ requestHash?: boolean;
2870
+ state?: boolean;
2871
+ nextSendTime?: boolean;
2872
+ nextAttemptAt?: boolean;
2873
+ lastOutcomeKind?: boolean;
2874
+ lastMessageId?: boolean;
2875
+ lastRefusalCode?: boolean;
2876
+ lastSendTime?: boolean;
2877
+ lastOutcomeAt?: boolean;
2878
+ createdAt?: boolean;
2879
+ endedAt?: boolean;
2880
+ cancelledAt?: boolean;
2881
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2882
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2883
+ selectorShip?: boolean | Prisma.Schedule$selectorShipArgs<ExtArgs>;
2884
+ inReplyTo?: boolean | Prisma.Schedule$inReplyToArgs<ExtArgs>;
2885
+ lastMessage?: boolean | Prisma.Schedule$lastMessageArgs<ExtArgs>;
2886
+ }, ExtArgs["result"]["schedule"]>;
2887
+ export type ScheduleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2888
+ id?: boolean;
2889
+ fleetId?: boolean;
2890
+ shipId?: boolean;
2891
+ selectorKind?: boolean;
2892
+ selectorShipId?: boolean;
2893
+ selectorShipName?: boolean;
2894
+ selectorType?: boolean;
2895
+ selectorValueIds?: boolean;
2896
+ payload?: boolean;
2897
+ contentType?: boolean;
2898
+ model?: boolean;
2899
+ inReplyToMessageId?: boolean;
2900
+ isForced?: boolean;
2901
+ timingKind?: boolean;
2902
+ onceAt?: boolean;
2903
+ every?: boolean;
2904
+ cron?: boolean;
2905
+ timeZone?: boolean;
2906
+ start?: boolean;
2907
+ end?: boolean;
2908
+ count?: boolean;
2909
+ onRefused?: boolean;
2910
+ retryWindow?: boolean;
2911
+ onMissed?: boolean;
2912
+ grace?: boolean;
2913
+ idempotencyKey?: boolean;
2914
+ requestHash?: boolean;
2915
+ state?: boolean;
2916
+ nextSendTime?: boolean;
2917
+ nextAttemptAt?: boolean;
2918
+ lastOutcomeKind?: boolean;
2919
+ lastMessageId?: boolean;
2920
+ lastRefusalCode?: boolean;
2921
+ lastSendTime?: boolean;
2922
+ lastOutcomeAt?: boolean;
2923
+ createdAt?: boolean;
2924
+ endedAt?: boolean;
2925
+ cancelledAt?: boolean;
2926
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2927
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2928
+ selectorShip?: boolean | Prisma.Schedule$selectorShipArgs<ExtArgs>;
2929
+ inReplyTo?: boolean | Prisma.Schedule$inReplyToArgs<ExtArgs>;
2930
+ lastMessage?: boolean | Prisma.Schedule$lastMessageArgs<ExtArgs>;
2931
+ }, ExtArgs["result"]["schedule"]>;
2932
+ export type ScheduleSelectScalar = {
2933
+ id?: boolean;
2934
+ fleetId?: boolean;
2935
+ shipId?: boolean;
2936
+ selectorKind?: boolean;
2937
+ selectorShipId?: boolean;
2938
+ selectorShipName?: boolean;
2939
+ selectorType?: boolean;
2940
+ selectorValueIds?: boolean;
2941
+ payload?: boolean;
2942
+ contentType?: boolean;
2943
+ model?: boolean;
2944
+ inReplyToMessageId?: boolean;
2945
+ isForced?: boolean;
2946
+ timingKind?: boolean;
2947
+ onceAt?: boolean;
2948
+ every?: boolean;
2949
+ cron?: boolean;
2950
+ timeZone?: boolean;
2951
+ start?: boolean;
2952
+ end?: boolean;
2953
+ count?: boolean;
2954
+ onRefused?: boolean;
2955
+ retryWindow?: boolean;
2956
+ onMissed?: boolean;
2957
+ grace?: boolean;
2958
+ idempotencyKey?: boolean;
2959
+ requestHash?: boolean;
2960
+ state?: boolean;
2961
+ nextSendTime?: boolean;
2962
+ nextAttemptAt?: boolean;
2963
+ lastOutcomeKind?: boolean;
2964
+ lastMessageId?: boolean;
2965
+ lastRefusalCode?: boolean;
2966
+ lastSendTime?: boolean;
2967
+ lastOutcomeAt?: boolean;
2968
+ createdAt?: boolean;
2969
+ endedAt?: boolean;
2970
+ cancelledAt?: boolean;
2971
+ };
2972
+ export type ScheduleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "shipId" | "selectorKind" | "selectorShipId" | "selectorShipName" | "selectorType" | "selectorValueIds" | "payload" | "contentType" | "model" | "inReplyToMessageId" | "isForced" | "timingKind" | "onceAt" | "every" | "cron" | "timeZone" | "start" | "end" | "count" | "onRefused" | "retryWindow" | "onMissed" | "grace" | "idempotencyKey" | "requestHash" | "state" | "nextSendTime" | "nextAttemptAt" | "lastOutcomeKind" | "lastMessageId" | "lastRefusalCode" | "lastSendTime" | "lastOutcomeAt" | "createdAt" | "endedAt" | "cancelledAt", ExtArgs["result"]["schedule"]>;
2973
+ export type ScheduleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2974
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2975
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2976
+ selectorShip?: boolean | Prisma.Schedule$selectorShipArgs<ExtArgs>;
2977
+ inReplyTo?: boolean | Prisma.Schedule$inReplyToArgs<ExtArgs>;
2978
+ lastMessage?: boolean | Prisma.Schedule$lastMessageArgs<ExtArgs>;
2979
+ messages?: boolean | Prisma.Schedule$messagesArgs<ExtArgs>;
2980
+ _count?: boolean | Prisma.ScheduleCountOutputTypeDefaultArgs<ExtArgs>;
2981
+ };
2982
+ export type ScheduleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2983
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2984
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2985
+ selectorShip?: boolean | Prisma.Schedule$selectorShipArgs<ExtArgs>;
2986
+ inReplyTo?: boolean | Prisma.Schedule$inReplyToArgs<ExtArgs>;
2987
+ lastMessage?: boolean | Prisma.Schedule$lastMessageArgs<ExtArgs>;
2988
+ };
2989
+ export type ScheduleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2990
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2991
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2992
+ selectorShip?: boolean | Prisma.Schedule$selectorShipArgs<ExtArgs>;
2993
+ inReplyTo?: boolean | Prisma.Schedule$inReplyToArgs<ExtArgs>;
2994
+ lastMessage?: boolean | Prisma.Schedule$lastMessageArgs<ExtArgs>;
2995
+ };
2996
+ export type $SchedulePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2997
+ name: "Schedule";
2998
+ objects: {
2999
+ fleet: Prisma.$FleetPayload<ExtArgs>;
3000
+ ship: Prisma.$ShipPayload<ExtArgs>;
3001
+ selectorShip: Prisma.$ShipPayload<ExtArgs> | null;
3002
+ inReplyTo: Prisma.$MessagePayload<ExtArgs> | null;
3003
+ lastMessage: Prisma.$MessagePayload<ExtArgs> | null;
3004
+ messages: Prisma.$MessagePayload<ExtArgs>[];
3005
+ };
3006
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
3007
+ id: string;
3008
+ fleetId: string;
3009
+ shipId: string;
3010
+ /**
3011
+ * The selector as the creator gave it: a ship by id or by name, a type, or a label selection by value ids; never a meeting.
3012
+ */
3013
+ selectorKind: $Enums.SelectorKind;
3014
+ selectorShipId: string | null;
3015
+ selectorShipName: string | null;
3016
+ selectorType: string | null;
3017
+ selectorValueIds: string[];
3018
+ payload: string;
3019
+ contentType: string;
3020
+ model: string | null;
3021
+ inReplyToMessageId: string | null;
3022
+ isForced: boolean;
3023
+ timingKind: $Enums.ScheduleTimingKind;
3024
+ /**
3025
+ * The timing: once an instant; every a duration, or a cron and its zone, each from a start to an end or a count of sends.
3026
+ */
3027
+ onceAt: Date | null;
3028
+ every: string | null;
3029
+ cron: string | null;
3030
+ timeZone: string | null;
3031
+ start: Date | null;
3032
+ end: Date | null;
3033
+ count: number | null;
3034
+ onRefused: $Enums.RefusalStrategy;
3035
+ retryWindow: string;
3036
+ onMissed: $Enums.MissedStrategy;
3037
+ grace: string;
3038
+ idempotencyKey: string;
3039
+ requestHash: string;
3040
+ state: $Enums.ScheduleState;
3041
+ nextSendTime: Date | null;
3042
+ nextAttemptAt: Date | null;
3043
+ lastOutcomeKind: $Enums.ScheduleOutcomeKind | null;
3044
+ lastMessageId: string | null;
3045
+ lastRefusalCode: string | null;
3046
+ lastSendTime: Date | null;
3047
+ lastOutcomeAt: Date | null;
3048
+ createdAt: Date;
3049
+ endedAt: Date | null;
3050
+ cancelledAt: Date | null;
3051
+ }, ExtArgs["result"]["schedule"]>;
3052
+ composites: {};
3053
+ };
3054
+ export type ScheduleGetPayload<S extends boolean | null | undefined | ScheduleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SchedulePayload, S>;
3055
+ export type ScheduleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ScheduleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
3056
+ select?: ScheduleCountAggregateInputType | true;
3057
+ };
3058
+ export interface ScheduleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
3059
+ [K: symbol]: {
3060
+ types: Prisma.TypeMap<ExtArgs>['model']['Schedule'];
3061
+ meta: {
3062
+ name: 'Schedule';
3063
+ };
3064
+ };
3065
+ /**
3066
+ * Find zero or one Schedule that matches the filter.
3067
+ * @param {ScheduleFindUniqueArgs} args - Arguments to find a Schedule
3068
+ * @example
3069
+ * // Get one Schedule
3070
+ * const schedule = await prisma.schedule.findUnique({
3071
+ * where: {
3072
+ * // ... provide filter here
3073
+ * }
3074
+ * })
3075
+ */
3076
+ findUnique<T extends ScheduleFindUniqueArgs>(args: Prisma.SelectSubset<T, ScheduleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3077
+ /**
3078
+ * Find one Schedule that matches the filter or throw an error with `error.code='P2025'`
3079
+ * if no matches were found.
3080
+ * @param {ScheduleFindUniqueOrThrowArgs} args - Arguments to find a Schedule
3081
+ * @example
3082
+ * // Get one Schedule
3083
+ * const schedule = await prisma.schedule.findUniqueOrThrow({
3084
+ * where: {
3085
+ * // ... provide filter here
3086
+ * }
3087
+ * })
3088
+ */
3089
+ findUniqueOrThrow<T extends ScheduleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ScheduleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3090
+ /**
3091
+ * Find the first Schedule that matches the filter.
3092
+ * Note, that providing `undefined` is treated as the value not being there.
3093
+ * Read more here: https://pris.ly/d/null-undefined
3094
+ * @param {ScheduleFindFirstArgs} args - Arguments to find a Schedule
3095
+ * @example
3096
+ * // Get one Schedule
3097
+ * const schedule = await prisma.schedule.findFirst({
3098
+ * where: {
3099
+ * // ... provide filter here
3100
+ * }
3101
+ * })
3102
+ */
3103
+ findFirst<T extends ScheduleFindFirstArgs>(args?: Prisma.SelectSubset<T, ScheduleFindFirstArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3104
+ /**
3105
+ * Find the first Schedule that matches the filter or
3106
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
3107
+ * Note, that providing `undefined` is treated as the value not being there.
3108
+ * Read more here: https://pris.ly/d/null-undefined
3109
+ * @param {ScheduleFindFirstOrThrowArgs} args - Arguments to find a Schedule
3110
+ * @example
3111
+ * // Get one Schedule
3112
+ * const schedule = await prisma.schedule.findFirstOrThrow({
3113
+ * where: {
3114
+ * // ... provide filter here
3115
+ * }
3116
+ * })
3117
+ */
3118
+ findFirstOrThrow<T extends ScheduleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ScheduleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3119
+ /**
3120
+ * Find zero or more Schedules that matches the filter.
3121
+ * Note, that providing `undefined` is treated as the value not being there.
3122
+ * Read more here: https://pris.ly/d/null-undefined
3123
+ * @param {ScheduleFindManyArgs} args - Arguments to filter and select certain fields only.
3124
+ * @example
3125
+ * // Get all Schedules
3126
+ * const schedules = await prisma.schedule.findMany()
3127
+ *
3128
+ * // Get first 10 Schedules
3129
+ * const schedules = await prisma.schedule.findMany({ take: 10 })
3130
+ *
3131
+ * // Only select the `id`
3132
+ * const scheduleWithIdOnly = await prisma.schedule.findMany({ select: { id: true } })
3133
+ *
3134
+ */
3135
+ findMany<T extends ScheduleFindManyArgs>(args?: Prisma.SelectSubset<T, ScheduleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
3136
+ /**
3137
+ * Create a Schedule.
3138
+ * @param {ScheduleCreateArgs} args - Arguments to create a Schedule.
3139
+ * @example
3140
+ * // Create one Schedule
3141
+ * const Schedule = await prisma.schedule.create({
3142
+ * data: {
3143
+ * // ... data to create a Schedule
3144
+ * }
3145
+ * })
3146
+ *
3147
+ */
3148
+ create<T extends ScheduleCreateArgs>(args: Prisma.SelectSubset<T, ScheduleCreateArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3149
+ /**
3150
+ * Create many Schedules.
3151
+ * @param {ScheduleCreateManyArgs} args - Arguments to create many Schedules.
3152
+ * @example
3153
+ * // Create many Schedules
3154
+ * const schedule = await prisma.schedule.createMany({
3155
+ * data: [
3156
+ * // ... provide data here
3157
+ * ]
3158
+ * })
3159
+ *
3160
+ */
3161
+ createMany<T extends ScheduleCreateManyArgs>(args?: Prisma.SelectSubset<T, ScheduleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3162
+ /**
3163
+ * Create many Schedules and returns the data saved in the database.
3164
+ * @param {ScheduleCreateManyAndReturnArgs} args - Arguments to create many Schedules.
3165
+ * @example
3166
+ * // Create many Schedules
3167
+ * const schedule = await prisma.schedule.createManyAndReturn({
3168
+ * data: [
3169
+ * // ... provide data here
3170
+ * ]
3171
+ * })
3172
+ *
3173
+ * // Create many Schedules and only return the `id`
3174
+ * const scheduleWithIdOnly = await prisma.schedule.createManyAndReturn({
3175
+ * select: { id: true },
3176
+ * data: [
3177
+ * // ... provide data here
3178
+ * ]
3179
+ * })
3180
+ * Note, that providing `undefined` is treated as the value not being there.
3181
+ * Read more here: https://pris.ly/d/null-undefined
3182
+ *
3183
+ */
3184
+ createManyAndReturn<T extends ScheduleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ScheduleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
3185
+ /**
3186
+ * Delete a Schedule.
3187
+ * @param {ScheduleDeleteArgs} args - Arguments to delete one Schedule.
3188
+ * @example
3189
+ * // Delete one Schedule
3190
+ * const Schedule = await prisma.schedule.delete({
3191
+ * where: {
3192
+ * // ... filter to delete one Schedule
3193
+ * }
3194
+ * })
3195
+ *
3196
+ */
3197
+ delete<T extends ScheduleDeleteArgs>(args: Prisma.SelectSubset<T, ScheduleDeleteArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3198
+ /**
3199
+ * Update one Schedule.
3200
+ * @param {ScheduleUpdateArgs} args - Arguments to update one Schedule.
3201
+ * @example
3202
+ * // Update one Schedule
3203
+ * const schedule = await prisma.schedule.update({
3204
+ * where: {
3205
+ * // ... provide filter here
3206
+ * },
3207
+ * data: {
3208
+ * // ... provide data here
3209
+ * }
3210
+ * })
3211
+ *
3212
+ */
3213
+ update<T extends ScheduleUpdateArgs>(args: Prisma.SelectSubset<T, ScheduleUpdateArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3214
+ /**
3215
+ * Delete zero or more Schedules.
3216
+ * @param {ScheduleDeleteManyArgs} args - Arguments to filter Schedules to delete.
3217
+ * @example
3218
+ * // Delete a few Schedules
3219
+ * const { count } = await prisma.schedule.deleteMany({
3220
+ * where: {
3221
+ * // ... provide filter here
3222
+ * }
3223
+ * })
3224
+ *
3225
+ */
3226
+ deleteMany<T extends ScheduleDeleteManyArgs>(args?: Prisma.SelectSubset<T, ScheduleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3227
+ /**
3228
+ * Update zero or more Schedules.
3229
+ * Note, that providing `undefined` is treated as the value not being there.
3230
+ * Read more here: https://pris.ly/d/null-undefined
3231
+ * @param {ScheduleUpdateManyArgs} args - Arguments to update one or more rows.
3232
+ * @example
3233
+ * // Update many Schedules
3234
+ * const schedule = await prisma.schedule.updateMany({
3235
+ * where: {
3236
+ * // ... provide filter here
3237
+ * },
3238
+ * data: {
3239
+ * // ... provide data here
3240
+ * }
3241
+ * })
3242
+ *
3243
+ */
3244
+ updateMany<T extends ScheduleUpdateManyArgs>(args: Prisma.SelectSubset<T, ScheduleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3245
+ /**
3246
+ * Update zero or more Schedules and returns the data updated in the database.
3247
+ * @param {ScheduleUpdateManyAndReturnArgs} args - Arguments to update many Schedules.
3248
+ * @example
3249
+ * // Update many Schedules
3250
+ * const schedule = await prisma.schedule.updateManyAndReturn({
3251
+ * where: {
3252
+ * // ... provide filter here
3253
+ * },
3254
+ * data: [
3255
+ * // ... provide data here
3256
+ * ]
3257
+ * })
3258
+ *
3259
+ * // Update zero or more Schedules and only return the `id`
3260
+ * const scheduleWithIdOnly = await prisma.schedule.updateManyAndReturn({
3261
+ * select: { id: true },
3262
+ * where: {
3263
+ * // ... provide filter here
3264
+ * },
3265
+ * data: [
3266
+ * // ... provide data here
3267
+ * ]
3268
+ * })
3269
+ * Note, that providing `undefined` is treated as the value not being there.
3270
+ * Read more here: https://pris.ly/d/null-undefined
3271
+ *
3272
+ */
3273
+ updateManyAndReturn<T extends ScheduleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ScheduleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
3274
+ /**
3275
+ * Create or update one Schedule.
3276
+ * @param {ScheduleUpsertArgs} args - Arguments to update or create a Schedule.
3277
+ * @example
3278
+ * // Update or create a Schedule
3279
+ * const schedule = await prisma.schedule.upsert({
3280
+ * create: {
3281
+ * // ... data to create a Schedule
3282
+ * },
3283
+ * update: {
3284
+ * // ... in case it already exists, update
3285
+ * },
3286
+ * where: {
3287
+ * // ... the filter for the Schedule we want to update
3288
+ * }
3289
+ * })
3290
+ */
3291
+ upsert<T extends ScheduleUpsertArgs>(args: Prisma.SelectSubset<T, ScheduleUpsertArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3292
+ /**
3293
+ * Count the number of Schedules.
3294
+ * Note, that providing `undefined` is treated as the value not being there.
3295
+ * Read more here: https://pris.ly/d/null-undefined
3296
+ * @param {ScheduleCountArgs} args - Arguments to filter Schedules to count.
3297
+ * @example
3298
+ * // Count the number of Schedules
3299
+ * const count = await prisma.schedule.count({
3300
+ * where: {
3301
+ * // ... the filter for the Schedules we want to count
3302
+ * }
3303
+ * })
3304
+ **/
3305
+ count<T extends ScheduleCountArgs>(args?: Prisma.Subset<T, ScheduleCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ScheduleCountAggregateOutputType> : number>;
3306
+ /**
3307
+ * Allows you to perform aggregations operations on a Schedule.
3308
+ * Note, that providing `undefined` is treated as the value not being there.
3309
+ * Read more here: https://pris.ly/d/null-undefined
3310
+ * @param {ScheduleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
3311
+ * @example
3312
+ * // Ordered by age ascending
3313
+ * // Where email contains prisma.io
3314
+ * // Limited to the 10 users
3315
+ * const aggregations = await prisma.user.aggregate({
3316
+ * _avg: {
3317
+ * age: true,
3318
+ * },
3319
+ * where: {
3320
+ * email: {
3321
+ * contains: "prisma.io",
3322
+ * },
3323
+ * },
3324
+ * orderBy: {
3325
+ * age: "asc",
3326
+ * },
3327
+ * take: 10,
3328
+ * })
3329
+ **/
3330
+ aggregate<T extends ScheduleAggregateArgs>(args: Prisma.Subset<T, ScheduleAggregateArgs>): Prisma.PrismaPromise<GetScheduleAggregateType<T>>;
3331
+ /**
3332
+ * Group by Schedule.
3333
+ * Note, that providing `undefined` is treated as the value not being there.
3334
+ * Read more here: https://pris.ly/d/null-undefined
3335
+ * @param {ScheduleGroupByArgs} args - Group by arguments.
3336
+ * @example
3337
+ * // Group by city, order by createdAt, get count
3338
+ * const result = await prisma.user.groupBy({
3339
+ * by: ['city', 'createdAt'],
3340
+ * orderBy: {
3341
+ * createdAt: true
3342
+ * },
3343
+ * _count: {
3344
+ * _all: true
3345
+ * },
3346
+ * })
3347
+ *
3348
+ **/
3349
+ groupBy<T extends ScheduleGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
3350
+ orderBy: ScheduleGroupByArgs['orderBy'];
3351
+ } : {
3352
+ orderBy?: ScheduleGroupByArgs['orderBy'];
3353
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
3354
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
3355
+ Error,
3356
+ 'Field ',
3357
+ P,
3358
+ ` in "having" needs to be provided in "by"`
3359
+ ];
3360
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
3361
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3362
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
3363
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3364
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
3365
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3366
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ScheduleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScheduleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
3367
+ /**
3368
+ * Fields of the Schedule model
3369
+ */
3370
+ readonly fields: ScheduleFieldRefs;
3371
+ }
3372
+ /**
3373
+ * The delegate class that acts as a "Promise-like" for Schedule.
3374
+ * Why is this prefixed with `Prisma__`?
3375
+ * Because we want to prevent naming conflicts as mentioned in
3376
+ * https://github.com/prisma/prisma-client-js/issues/707
3377
+ */
3378
+ export interface Prisma__ScheduleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
3379
+ readonly [Symbol.toStringTag]: "PrismaPromise";
3380
+ fleet<T extends Prisma.FleetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FleetDefaultArgs<ExtArgs>>): Prisma.Prisma__FleetClient<runtime.Types.Result.GetResult<Prisma.$FleetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
3381
+ ship<T extends Prisma.ShipDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShipDefaultArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
3382
+ selectorShip<T extends Prisma.Schedule$selectorShipArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Schedule$selectorShipArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3383
+ inReplyTo<T extends Prisma.Schedule$inReplyToArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Schedule$inReplyToArgs<ExtArgs>>): Prisma.Prisma__MessageClient<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3384
+ lastMessage<T extends Prisma.Schedule$lastMessageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Schedule$lastMessageArgs<ExtArgs>>): Prisma.Prisma__MessageClient<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3385
+ messages<T extends Prisma.Schedule$messagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Schedule$messagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3386
+ /**
3387
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
3388
+ * @param onfulfilled The callback to execute when the Promise is resolved.
3389
+ * @param onrejected The callback to execute when the Promise is rejected.
3390
+ * @returns A Promise for the completion of which ever callback is executed.
3391
+ */
3392
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
3393
+ /**
3394
+ * Attaches a callback for only the rejection of the Promise.
3395
+ * @param onrejected The callback to execute when the Promise is rejected.
3396
+ * @returns A Promise for the completion of the callback.
3397
+ */
3398
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
3399
+ /**
3400
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
3401
+ * resolved value cannot be modified from the callback.
3402
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
3403
+ * @returns A Promise for the completion of the callback.
3404
+ */
3405
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
3406
+ }
3407
+ /**
3408
+ * Fields of the Schedule model
3409
+ */
3410
+ export interface ScheduleFieldRefs {
3411
+ readonly id: Prisma.FieldRef<"Schedule", 'String'>;
3412
+ readonly fleetId: Prisma.FieldRef<"Schedule", 'String'>;
3413
+ readonly shipId: Prisma.FieldRef<"Schedule", 'String'>;
3414
+ readonly selectorKind: Prisma.FieldRef<"Schedule", 'SelectorKind'>;
3415
+ readonly selectorShipId: Prisma.FieldRef<"Schedule", 'String'>;
3416
+ readonly selectorShipName: Prisma.FieldRef<"Schedule", 'String'>;
3417
+ readonly selectorType: Prisma.FieldRef<"Schedule", 'String'>;
3418
+ readonly selectorValueIds: Prisma.FieldRef<"Schedule", 'String[]'>;
3419
+ readonly payload: Prisma.FieldRef<"Schedule", 'String'>;
3420
+ readonly contentType: Prisma.FieldRef<"Schedule", 'String'>;
3421
+ readonly model: Prisma.FieldRef<"Schedule", 'String'>;
3422
+ readonly inReplyToMessageId: Prisma.FieldRef<"Schedule", 'String'>;
3423
+ readonly isForced: Prisma.FieldRef<"Schedule", 'Boolean'>;
3424
+ readonly timingKind: Prisma.FieldRef<"Schedule", 'ScheduleTimingKind'>;
3425
+ readonly onceAt: Prisma.FieldRef<"Schedule", 'DateTime'>;
3426
+ readonly every: Prisma.FieldRef<"Schedule", 'String'>;
3427
+ readonly cron: Prisma.FieldRef<"Schedule", 'String'>;
3428
+ readonly timeZone: Prisma.FieldRef<"Schedule", 'String'>;
3429
+ readonly start: Prisma.FieldRef<"Schedule", 'DateTime'>;
3430
+ readonly end: Prisma.FieldRef<"Schedule", 'DateTime'>;
3431
+ readonly count: Prisma.FieldRef<"Schedule", 'Int'>;
3432
+ readonly onRefused: Prisma.FieldRef<"Schedule", 'RefusalStrategy'>;
3433
+ readonly retryWindow: Prisma.FieldRef<"Schedule", 'String'>;
3434
+ readonly onMissed: Prisma.FieldRef<"Schedule", 'MissedStrategy'>;
3435
+ readonly grace: Prisma.FieldRef<"Schedule", 'String'>;
3436
+ readonly idempotencyKey: Prisma.FieldRef<"Schedule", 'String'>;
3437
+ readonly requestHash: Prisma.FieldRef<"Schedule", 'String'>;
3438
+ readonly state: Prisma.FieldRef<"Schedule", 'ScheduleState'>;
3439
+ readonly nextSendTime: Prisma.FieldRef<"Schedule", 'DateTime'>;
3440
+ readonly nextAttemptAt: Prisma.FieldRef<"Schedule", 'DateTime'>;
3441
+ readonly lastOutcomeKind: Prisma.FieldRef<"Schedule", 'ScheduleOutcomeKind'>;
3442
+ readonly lastMessageId: Prisma.FieldRef<"Schedule", 'String'>;
3443
+ readonly lastRefusalCode: Prisma.FieldRef<"Schedule", 'String'>;
3444
+ readonly lastSendTime: Prisma.FieldRef<"Schedule", 'DateTime'>;
3445
+ readonly lastOutcomeAt: Prisma.FieldRef<"Schedule", 'DateTime'>;
3446
+ readonly createdAt: Prisma.FieldRef<"Schedule", 'DateTime'>;
3447
+ readonly endedAt: Prisma.FieldRef<"Schedule", 'DateTime'>;
3448
+ readonly cancelledAt: Prisma.FieldRef<"Schedule", 'DateTime'>;
3449
+ }
3450
+ /**
3451
+ * Schedule findUnique
3452
+ */
3453
+ export type ScheduleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3454
+ /**
3455
+ * Select specific fields to fetch from the Schedule
3456
+ */
3457
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3458
+ /**
3459
+ * Omit specific fields from the Schedule
3460
+ */
3461
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3462
+ /**
3463
+ * Choose, which related nodes to fetch as well
3464
+ */
3465
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3466
+ /**
3467
+ * Filter, which Schedule to fetch.
3468
+ */
3469
+ where: Prisma.ScheduleWhereUniqueInput;
3470
+ };
3471
+ /**
3472
+ * Schedule findUniqueOrThrow
3473
+ */
3474
+ export type ScheduleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3475
+ /**
3476
+ * Select specific fields to fetch from the Schedule
3477
+ */
3478
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3479
+ /**
3480
+ * Omit specific fields from the Schedule
3481
+ */
3482
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3483
+ /**
3484
+ * Choose, which related nodes to fetch as well
3485
+ */
3486
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3487
+ /**
3488
+ * Filter, which Schedule to fetch.
3489
+ */
3490
+ where: Prisma.ScheduleWhereUniqueInput;
3491
+ };
3492
+ /**
3493
+ * Schedule findFirst
3494
+ */
3495
+ export type ScheduleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3496
+ /**
3497
+ * Select specific fields to fetch from the Schedule
3498
+ */
3499
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3500
+ /**
3501
+ * Omit specific fields from the Schedule
3502
+ */
3503
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3504
+ /**
3505
+ * Choose, which related nodes to fetch as well
3506
+ */
3507
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3508
+ /**
3509
+ * Filter, which Schedule to fetch.
3510
+ */
3511
+ where?: Prisma.ScheduleWhereInput;
3512
+ /**
3513
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3514
+ *
3515
+ * Determine the order of Schedules to fetch.
3516
+ */
3517
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
3518
+ /**
3519
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3520
+ *
3521
+ * Sets the position for searching for Schedules.
3522
+ */
3523
+ cursor?: Prisma.ScheduleWhereUniqueInput;
3524
+ /**
3525
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3526
+ *
3527
+ * Take `±n` Schedules from the position of the cursor.
3528
+ */
3529
+ take?: number;
3530
+ /**
3531
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3532
+ *
3533
+ * Skip the first `n` Schedules.
3534
+ */
3535
+ skip?: number;
3536
+ /**
3537
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3538
+ *
3539
+ * Filter by unique combinations of Schedules.
3540
+ */
3541
+ distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
3542
+ };
3543
+ /**
3544
+ * Schedule findFirstOrThrow
3545
+ */
3546
+ export type ScheduleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3547
+ /**
3548
+ * Select specific fields to fetch from the Schedule
3549
+ */
3550
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3551
+ /**
3552
+ * Omit specific fields from the Schedule
3553
+ */
3554
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3555
+ /**
3556
+ * Choose, which related nodes to fetch as well
3557
+ */
3558
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3559
+ /**
3560
+ * Filter, which Schedule to fetch.
3561
+ */
3562
+ where?: Prisma.ScheduleWhereInput;
3563
+ /**
3564
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3565
+ *
3566
+ * Determine the order of Schedules to fetch.
3567
+ */
3568
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
3569
+ /**
3570
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3571
+ *
3572
+ * Sets the position for searching for Schedules.
3573
+ */
3574
+ cursor?: Prisma.ScheduleWhereUniqueInput;
3575
+ /**
3576
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3577
+ *
3578
+ * Take `±n` Schedules from the position of the cursor.
3579
+ */
3580
+ take?: number;
3581
+ /**
3582
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3583
+ *
3584
+ * Skip the first `n` Schedules.
3585
+ */
3586
+ skip?: number;
3587
+ /**
3588
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3589
+ *
3590
+ * Filter by unique combinations of Schedules.
3591
+ */
3592
+ distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
3593
+ };
3594
+ /**
3595
+ * Schedule findMany
3596
+ */
3597
+ export type ScheduleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3598
+ /**
3599
+ * Select specific fields to fetch from the Schedule
3600
+ */
3601
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3602
+ /**
3603
+ * Omit specific fields from the Schedule
3604
+ */
3605
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3606
+ /**
3607
+ * Choose, which related nodes to fetch as well
3608
+ */
3609
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3610
+ /**
3611
+ * Filter, which Schedules to fetch.
3612
+ */
3613
+ where?: Prisma.ScheduleWhereInput;
3614
+ /**
3615
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3616
+ *
3617
+ * Determine the order of Schedules to fetch.
3618
+ */
3619
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
3620
+ /**
3621
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3622
+ *
3623
+ * Sets the position for listing Schedules.
3624
+ */
3625
+ cursor?: Prisma.ScheduleWhereUniqueInput;
3626
+ /**
3627
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3628
+ *
3629
+ * Take `±n` Schedules from the position of the cursor.
3630
+ */
3631
+ take?: number;
3632
+ /**
3633
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3634
+ *
3635
+ * Skip the first `n` Schedules.
3636
+ */
3637
+ skip?: number;
3638
+ /**
3639
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3640
+ *
3641
+ * Filter by unique combinations of Schedules.
3642
+ */
3643
+ distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
3644
+ };
3645
+ /**
3646
+ * Schedule create
3647
+ */
3648
+ export type ScheduleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3649
+ /**
3650
+ * Select specific fields to fetch from the Schedule
3651
+ */
3652
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3653
+ /**
3654
+ * Omit specific fields from the Schedule
3655
+ */
3656
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3657
+ /**
3658
+ * Choose, which related nodes to fetch as well
3659
+ */
3660
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3661
+ /**
3662
+ * The data needed to create a Schedule.
3663
+ */
3664
+ data: Prisma.XOR<Prisma.ScheduleCreateInput, Prisma.ScheduleUncheckedCreateInput>;
3665
+ };
3666
+ /**
3667
+ * Schedule createMany
3668
+ */
3669
+ export type ScheduleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3670
+ /**
3671
+ * The data used to create many Schedules.
3672
+ */
3673
+ data: Prisma.ScheduleCreateManyInput | Prisma.ScheduleCreateManyInput[];
3674
+ skipDuplicates?: boolean;
3675
+ };
3676
+ /**
3677
+ * Schedule createManyAndReturn
3678
+ */
3679
+ export type ScheduleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3680
+ /**
3681
+ * Select specific fields to fetch from the Schedule
3682
+ */
3683
+ select?: Prisma.ScheduleSelectCreateManyAndReturn<ExtArgs> | null;
3684
+ /**
3685
+ * Omit specific fields from the Schedule
3686
+ */
3687
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3688
+ /**
3689
+ * The data used to create many Schedules.
3690
+ */
3691
+ data: Prisma.ScheduleCreateManyInput | Prisma.ScheduleCreateManyInput[];
3692
+ skipDuplicates?: boolean;
3693
+ /**
3694
+ * Choose, which related nodes to fetch as well
3695
+ */
3696
+ include?: Prisma.ScheduleIncludeCreateManyAndReturn<ExtArgs> | null;
3697
+ };
3698
+ /**
3699
+ * Schedule update
3700
+ */
3701
+ export type ScheduleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3702
+ /**
3703
+ * Select specific fields to fetch from the Schedule
3704
+ */
3705
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3706
+ /**
3707
+ * Omit specific fields from the Schedule
3708
+ */
3709
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3710
+ /**
3711
+ * Choose, which related nodes to fetch as well
3712
+ */
3713
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3714
+ /**
3715
+ * The data needed to update a Schedule.
3716
+ */
3717
+ data: Prisma.XOR<Prisma.ScheduleUpdateInput, Prisma.ScheduleUncheckedUpdateInput>;
3718
+ /**
3719
+ * Choose, which Schedule to update.
3720
+ */
3721
+ where: Prisma.ScheduleWhereUniqueInput;
3722
+ };
3723
+ /**
3724
+ * Schedule updateMany
3725
+ */
3726
+ export type ScheduleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3727
+ /**
3728
+ * The data used to update Schedules.
3729
+ */
3730
+ data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyInput>;
3731
+ /**
3732
+ * Filter which Schedules to update
3733
+ */
3734
+ where?: Prisma.ScheduleWhereInput;
3735
+ /**
3736
+ * Limit how many Schedules to update.
3737
+ */
3738
+ limit?: number;
3739
+ };
3740
+ /**
3741
+ * Schedule updateManyAndReturn
3742
+ */
3743
+ export type ScheduleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3744
+ /**
3745
+ * Select specific fields to fetch from the Schedule
3746
+ */
3747
+ select?: Prisma.ScheduleSelectUpdateManyAndReturn<ExtArgs> | null;
3748
+ /**
3749
+ * Omit specific fields from the Schedule
3750
+ */
3751
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3752
+ /**
3753
+ * The data used to update Schedules.
3754
+ */
3755
+ data: Prisma.XOR<Prisma.ScheduleUpdateManyMutationInput, Prisma.ScheduleUncheckedUpdateManyInput>;
3756
+ /**
3757
+ * Filter which Schedules to update
3758
+ */
3759
+ where?: Prisma.ScheduleWhereInput;
3760
+ /**
3761
+ * Limit how many Schedules to update.
3762
+ */
3763
+ limit?: number;
3764
+ /**
3765
+ * Choose, which related nodes to fetch as well
3766
+ */
3767
+ include?: Prisma.ScheduleIncludeUpdateManyAndReturn<ExtArgs> | null;
3768
+ };
3769
+ /**
3770
+ * Schedule upsert
3771
+ */
3772
+ export type ScheduleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3773
+ /**
3774
+ * Select specific fields to fetch from the Schedule
3775
+ */
3776
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3777
+ /**
3778
+ * Omit specific fields from the Schedule
3779
+ */
3780
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3781
+ /**
3782
+ * Choose, which related nodes to fetch as well
3783
+ */
3784
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3785
+ /**
3786
+ * The filter to search for the Schedule to update in case it exists.
3787
+ */
3788
+ where: Prisma.ScheduleWhereUniqueInput;
3789
+ /**
3790
+ * In case the Schedule found by the `where` argument doesn't exist, create a new Schedule with this data.
3791
+ */
3792
+ create: Prisma.XOR<Prisma.ScheduleCreateInput, Prisma.ScheduleUncheckedCreateInput>;
3793
+ /**
3794
+ * In case the Schedule was found with the provided `where` argument, update it with this data.
3795
+ */
3796
+ update: Prisma.XOR<Prisma.ScheduleUpdateInput, Prisma.ScheduleUncheckedUpdateInput>;
3797
+ };
3798
+ /**
3799
+ * Schedule delete
3800
+ */
3801
+ export type ScheduleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3802
+ /**
3803
+ * Select specific fields to fetch from the Schedule
3804
+ */
3805
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3806
+ /**
3807
+ * Omit specific fields from the Schedule
3808
+ */
3809
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3810
+ /**
3811
+ * Choose, which related nodes to fetch as well
3812
+ */
3813
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3814
+ /**
3815
+ * Filter which Schedule to delete.
3816
+ */
3817
+ where: Prisma.ScheduleWhereUniqueInput;
3818
+ };
3819
+ /**
3820
+ * Schedule deleteMany
3821
+ */
3822
+ export type ScheduleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3823
+ /**
3824
+ * Filter which Schedules to delete
3825
+ */
3826
+ where?: Prisma.ScheduleWhereInput;
3827
+ /**
3828
+ * Limit how many Schedules to delete.
3829
+ */
3830
+ limit?: number;
3831
+ };
3832
+ /**
3833
+ * Schedule.selectorShip
3834
+ */
3835
+ export type Schedule$selectorShipArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3836
+ /**
3837
+ * Select specific fields to fetch from the Ship
3838
+ */
3839
+ select?: Prisma.ShipSelect<ExtArgs> | null;
3840
+ /**
3841
+ * Omit specific fields from the Ship
3842
+ */
3843
+ omit?: Prisma.ShipOmit<ExtArgs> | null;
3844
+ /**
3845
+ * Choose, which related nodes to fetch as well
3846
+ */
3847
+ include?: Prisma.ShipInclude<ExtArgs> | null;
3848
+ where?: Prisma.ShipWhereInput;
3849
+ };
3850
+ /**
3851
+ * Schedule.inReplyTo
3852
+ */
3853
+ export type Schedule$inReplyToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3854
+ /**
3855
+ * Select specific fields to fetch from the Message
3856
+ */
3857
+ select?: Prisma.MessageSelect<ExtArgs> | null;
3858
+ /**
3859
+ * Omit specific fields from the Message
3860
+ */
3861
+ omit?: Prisma.MessageOmit<ExtArgs> | null;
3862
+ /**
3863
+ * Choose, which related nodes to fetch as well
3864
+ */
3865
+ include?: Prisma.MessageInclude<ExtArgs> | null;
3866
+ where?: Prisma.MessageWhereInput;
3867
+ };
3868
+ /**
3869
+ * Schedule.lastMessage
3870
+ */
3871
+ export type Schedule$lastMessageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3872
+ /**
3873
+ * Select specific fields to fetch from the Message
3874
+ */
3875
+ select?: Prisma.MessageSelect<ExtArgs> | null;
3876
+ /**
3877
+ * Omit specific fields from the Message
3878
+ */
3879
+ omit?: Prisma.MessageOmit<ExtArgs> | null;
3880
+ /**
3881
+ * Choose, which related nodes to fetch as well
3882
+ */
3883
+ include?: Prisma.MessageInclude<ExtArgs> | null;
3884
+ where?: Prisma.MessageWhereInput;
3885
+ };
3886
+ /**
3887
+ * Schedule.messages
3888
+ */
3889
+ export type Schedule$messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3890
+ /**
3891
+ * Select specific fields to fetch from the Message
3892
+ */
3893
+ select?: Prisma.MessageSelect<ExtArgs> | null;
3894
+ /**
3895
+ * Omit specific fields from the Message
3896
+ */
3897
+ omit?: Prisma.MessageOmit<ExtArgs> | null;
3898
+ /**
3899
+ * Choose, which related nodes to fetch as well
3900
+ */
3901
+ include?: Prisma.MessageInclude<ExtArgs> | null;
3902
+ where?: Prisma.MessageWhereInput;
3903
+ orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[];
3904
+ cursor?: Prisma.MessageWhereUniqueInput;
3905
+ take?: number;
3906
+ skip?: number;
3907
+ distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[];
3908
+ };
3909
+ /**
3910
+ * Schedule without action
3911
+ */
3912
+ export type ScheduleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3913
+ /**
3914
+ * Select specific fields to fetch from the Schedule
3915
+ */
3916
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3917
+ /**
3918
+ * Omit specific fields from the Schedule
3919
+ */
3920
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3921
+ /**
3922
+ * Choose, which related nodes to fetch as well
3923
+ */
3924
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3925
+ };