@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
@@ -28,6 +28,9 @@ export type MessageMinAggregateOutputType = {
28
28
  requestHash: string | null;
29
29
  inReplyToMessageId: string | null;
30
30
  resendOfMessageId: string | null;
31
+ meetingId: string | null;
32
+ scheduleId: string | null;
33
+ sendTime: Date | null;
31
34
  createdAt: Date | null;
32
35
  };
33
36
  export type MessageMaxAggregateOutputType = {
@@ -44,6 +47,9 @@ export type MessageMaxAggregateOutputType = {
44
47
  requestHash: string | null;
45
48
  inReplyToMessageId: string | null;
46
49
  resendOfMessageId: string | null;
50
+ meetingId: string | null;
51
+ scheduleId: string | null;
52
+ sendTime: Date | null;
47
53
  createdAt: Date | null;
48
54
  };
49
55
  export type MessageCountAggregateOutputType = {
@@ -53,6 +59,7 @@ export type MessageCountAggregateOutputType = {
53
59
  selectorKind: number;
54
60
  selectorShipId: number;
55
61
  selectorType: number;
62
+ selectorValueIds: number;
56
63
  payload: number;
57
64
  contentType: number;
58
65
  model: number;
@@ -60,6 +67,9 @@ export type MessageCountAggregateOutputType = {
60
67
  requestHash: number;
61
68
  inReplyToMessageId: number;
62
69
  resendOfMessageId: number;
70
+ meetingId: number;
71
+ scheduleId: number;
72
+ sendTime: number;
63
73
  createdAt: number;
64
74
  _all: number;
65
75
  };
@@ -77,6 +87,9 @@ export type MessageMinAggregateInputType = {
77
87
  requestHash?: true;
78
88
  inReplyToMessageId?: true;
79
89
  resendOfMessageId?: true;
90
+ meetingId?: true;
91
+ scheduleId?: true;
92
+ sendTime?: true;
80
93
  createdAt?: true;
81
94
  };
82
95
  export type MessageMaxAggregateInputType = {
@@ -93,6 +106,9 @@ export type MessageMaxAggregateInputType = {
93
106
  requestHash?: true;
94
107
  inReplyToMessageId?: true;
95
108
  resendOfMessageId?: true;
109
+ meetingId?: true;
110
+ scheduleId?: true;
111
+ sendTime?: true;
96
112
  createdAt?: true;
97
113
  };
98
114
  export type MessageCountAggregateInputType = {
@@ -102,6 +118,7 @@ export type MessageCountAggregateInputType = {
102
118
  selectorKind?: true;
103
119
  selectorShipId?: true;
104
120
  selectorType?: true;
121
+ selectorValueIds?: true;
105
122
  payload?: true;
106
123
  contentType?: true;
107
124
  model?: true;
@@ -109,6 +126,9 @@ export type MessageCountAggregateInputType = {
109
126
  requestHash?: true;
110
127
  inReplyToMessageId?: true;
111
128
  resendOfMessageId?: true;
129
+ meetingId?: true;
130
+ scheduleId?: true;
131
+ sendTime?: true;
112
132
  createdAt?: true;
113
133
  _all?: true;
114
134
  };
@@ -181,6 +201,7 @@ export type MessageGroupByOutputType = {
181
201
  selectorKind: $Enums.SelectorKind;
182
202
  selectorShipId: string | null;
183
203
  selectorType: string | null;
204
+ selectorValueIds: string[];
184
205
  payload: string;
185
206
  contentType: string;
186
207
  model: string | null;
@@ -188,6 +209,9 @@ export type MessageGroupByOutputType = {
188
209
  requestHash: string;
189
210
  inReplyToMessageId: string | null;
190
211
  resendOfMessageId: string | null;
212
+ meetingId: string | null;
213
+ scheduleId: string | null;
214
+ sendTime: Date | null;
191
215
  createdAt: Date;
192
216
  _count: MessageCountAggregateOutputType | null;
193
217
  _min: MessageMinAggregateOutputType | null;
@@ -206,6 +230,7 @@ export type MessageWhereInput = {
206
230
  selectorKind?: Prisma.EnumSelectorKindFilter<"Message"> | $Enums.SelectorKind;
207
231
  selectorShipId?: Prisma.StringNullableFilter<"Message"> | string | null;
208
232
  selectorType?: Prisma.StringNullableFilter<"Message"> | string | null;
233
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
209
234
  payload?: Prisma.StringFilter<"Message"> | string;
210
235
  contentType?: Prisma.StringFilter<"Message"> | string;
211
236
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
@@ -213,14 +238,17 @@ export type MessageWhereInput = {
213
238
  requestHash?: Prisma.StringFilter<"Message"> | string;
214
239
  inReplyToMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
215
240
  resendOfMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
241
+ meetingId?: Prisma.StringNullableFilter<"Message"> | string | null;
242
+ scheduleId?: Prisma.StringNullableFilter<"Message"> | string | null;
243
+ sendTime?: Prisma.DateTimeNullableFilter<"Message"> | Date | string | null;
216
244
  createdAt?: Prisma.DateTimeFilter<"Message"> | Date | string;
217
245
  fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
218
246
  senderShip?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
219
247
  selectorShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
220
- inReplyTo?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
221
- replies?: Prisma.MessageListRelationFilter;
222
- resendOf?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
223
- resends?: Prisma.MessageListRelationFilter;
248
+ meeting?: Prisma.XOR<Prisma.MeetingNullableScalarRelationFilter, Prisma.MeetingWhereInput> | null;
249
+ schedule?: Prisma.XOR<Prisma.ScheduleNullableScalarRelationFilter, Prisma.ScheduleWhereInput> | null;
250
+ repliedToBySchedules?: Prisma.ScheduleListRelationFilter;
251
+ lastSentBySchedules?: Prisma.ScheduleListRelationFilter;
224
252
  deliveries?: Prisma.DeliveryListRelationFilter;
225
253
  events?: Prisma.EventListRelationFilter;
226
254
  };
@@ -231,6 +259,7 @@ export type MessageOrderByWithRelationInput = {
231
259
  selectorKind?: Prisma.SortOrder;
232
260
  selectorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
233
261
  selectorType?: Prisma.SortOrderInput | Prisma.SortOrder;
262
+ selectorValueIds?: Prisma.SortOrder;
234
263
  payload?: Prisma.SortOrder;
235
264
  contentType?: Prisma.SortOrder;
236
265
  model?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -238,14 +267,17 @@ export type MessageOrderByWithRelationInput = {
238
267
  requestHash?: Prisma.SortOrder;
239
268
  inReplyToMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
240
269
  resendOfMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
270
+ meetingId?: Prisma.SortOrderInput | Prisma.SortOrder;
271
+ scheduleId?: Prisma.SortOrderInput | Prisma.SortOrder;
272
+ sendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
241
273
  createdAt?: Prisma.SortOrder;
242
274
  fleet?: Prisma.FleetOrderByWithRelationInput;
243
275
  senderShip?: Prisma.ShipOrderByWithRelationInput;
244
276
  selectorShip?: Prisma.ShipOrderByWithRelationInput;
245
- inReplyTo?: Prisma.MessageOrderByWithRelationInput;
246
- replies?: Prisma.MessageOrderByRelationAggregateInput;
247
- resendOf?: Prisma.MessageOrderByWithRelationInput;
248
- resends?: Prisma.MessageOrderByRelationAggregateInput;
277
+ meeting?: Prisma.MeetingOrderByWithRelationInput;
278
+ schedule?: Prisma.ScheduleOrderByWithRelationInput;
279
+ repliedToBySchedules?: Prisma.ScheduleOrderByRelationAggregateInput;
280
+ lastSentBySchedules?: Prisma.ScheduleOrderByRelationAggregateInput;
249
281
  deliveries?: Prisma.DeliveryOrderByRelationAggregateInput;
250
282
  events?: Prisma.EventOrderByRelationAggregateInput;
251
283
  };
@@ -261,6 +293,7 @@ export type MessageWhereUniqueInput = Prisma.AtLeast<{
261
293
  selectorKind?: Prisma.EnumSelectorKindFilter<"Message"> | $Enums.SelectorKind;
262
294
  selectorShipId?: Prisma.StringNullableFilter<"Message"> | string | null;
263
295
  selectorType?: Prisma.StringNullableFilter<"Message"> | string | null;
296
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
264
297
  payload?: Prisma.StringFilter<"Message"> | string;
265
298
  contentType?: Prisma.StringFilter<"Message"> | string;
266
299
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
@@ -268,14 +301,17 @@ export type MessageWhereUniqueInput = Prisma.AtLeast<{
268
301
  requestHash?: Prisma.StringFilter<"Message"> | string;
269
302
  inReplyToMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
270
303
  resendOfMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
304
+ meetingId?: Prisma.StringNullableFilter<"Message"> | string | null;
305
+ scheduleId?: Prisma.StringNullableFilter<"Message"> | string | null;
306
+ sendTime?: Prisma.DateTimeNullableFilter<"Message"> | Date | string | null;
271
307
  createdAt?: Prisma.DateTimeFilter<"Message"> | Date | string;
272
308
  fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
273
309
  senderShip?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
274
310
  selectorShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
275
- inReplyTo?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
276
- replies?: Prisma.MessageListRelationFilter;
277
- resendOf?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
278
- resends?: Prisma.MessageListRelationFilter;
311
+ meeting?: Prisma.XOR<Prisma.MeetingNullableScalarRelationFilter, Prisma.MeetingWhereInput> | null;
312
+ schedule?: Prisma.XOR<Prisma.ScheduleNullableScalarRelationFilter, Prisma.ScheduleWhereInput> | null;
313
+ repliedToBySchedules?: Prisma.ScheduleListRelationFilter;
314
+ lastSentBySchedules?: Prisma.ScheduleListRelationFilter;
279
315
  deliveries?: Prisma.DeliveryListRelationFilter;
280
316
  events?: Prisma.EventListRelationFilter;
281
317
  }, "id" | "fleetId_id" | "fleetId_senderShipId_idempotencyKey">;
@@ -286,6 +322,7 @@ export type MessageOrderByWithAggregationInput = {
286
322
  selectorKind?: Prisma.SortOrder;
287
323
  selectorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
288
324
  selectorType?: Prisma.SortOrderInput | Prisma.SortOrder;
325
+ selectorValueIds?: Prisma.SortOrder;
289
326
  payload?: Prisma.SortOrder;
290
327
  contentType?: Prisma.SortOrder;
291
328
  model?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -293,6 +330,9 @@ export type MessageOrderByWithAggregationInput = {
293
330
  requestHash?: Prisma.SortOrder;
294
331
  inReplyToMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
295
332
  resendOfMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
333
+ meetingId?: Prisma.SortOrderInput | Prisma.SortOrder;
334
+ scheduleId?: Prisma.SortOrderInput | Prisma.SortOrder;
335
+ sendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
296
336
  createdAt?: Prisma.SortOrder;
297
337
  _count?: Prisma.MessageCountOrderByAggregateInput;
298
338
  _max?: Prisma.MessageMaxOrderByAggregateInput;
@@ -308,6 +348,7 @@ export type MessageScalarWhereWithAggregatesInput = {
308
348
  selectorKind?: Prisma.EnumSelectorKindWithAggregatesFilter<"Message"> | $Enums.SelectorKind;
309
349
  selectorShipId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
310
350
  selectorType?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
351
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
311
352
  payload?: Prisma.StringWithAggregatesFilter<"Message"> | string;
312
353
  contentType?: Prisma.StringWithAggregatesFilter<"Message"> | string;
313
354
  model?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
@@ -315,25 +356,32 @@ export type MessageScalarWhereWithAggregatesInput = {
315
356
  requestHash?: Prisma.StringWithAggregatesFilter<"Message"> | string;
316
357
  inReplyToMessageId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
317
358
  resendOfMessageId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
359
+ meetingId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
360
+ scheduleId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
361
+ sendTime?: Prisma.DateTimeNullableWithAggregatesFilter<"Message"> | Date | string | null;
318
362
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Message"> | Date | string;
319
363
  };
320
364
  export type MessageCreateInput = {
321
365
  id: string;
322
366
  selectorKind: $Enums.SelectorKind;
323
367
  selectorType?: string | null;
368
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
324
369
  payload: string;
325
370
  contentType: string;
326
371
  model?: string | null;
327
372
  idempotencyKey: string;
328
373
  requestHash: string;
374
+ inReplyToMessageId?: string | null;
375
+ resendOfMessageId?: string | null;
376
+ sendTime?: Date | string | null;
329
377
  createdAt: Date | string;
330
378
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
331
379
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
332
380
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
333
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
334
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
335
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
336
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
381
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
382
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
383
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
384
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
337
385
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
338
386
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
339
387
  };
@@ -344,6 +392,7 @@ export type MessageUncheckedCreateInput = {
344
392
  selectorKind: $Enums.SelectorKind;
345
393
  selectorShipId?: string | null;
346
394
  selectorType?: string | null;
395
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
347
396
  payload: string;
348
397
  contentType: string;
349
398
  model?: string | null;
@@ -351,9 +400,12 @@ export type MessageUncheckedCreateInput = {
351
400
  requestHash: string;
352
401
  inReplyToMessageId?: string | null;
353
402
  resendOfMessageId?: string | null;
403
+ meetingId?: string | null;
404
+ scheduleId?: string | null;
405
+ sendTime?: Date | string | null;
354
406
  createdAt: Date | string;
355
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
356
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
407
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
408
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
357
409
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
358
410
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
359
411
  };
@@ -361,19 +413,23 @@ export type MessageUpdateInput = {
361
413
  id?: Prisma.StringFieldUpdateOperationsInput | string;
362
414
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
363
415
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
416
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
364
417
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
365
418
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
366
419
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
367
420
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
368
421
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
422
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
423
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
424
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
369
425
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
370
426
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
371
427
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
372
428
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
373
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
374
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
375
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
376
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
429
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
430
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
431
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
432
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
377
433
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
378
434
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
379
435
  };
@@ -384,6 +440,7 @@ export type MessageUncheckedUpdateInput = {
384
440
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
385
441
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
386
442
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
443
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
387
444
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
388
445
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
389
446
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -391,9 +448,12 @@ export type MessageUncheckedUpdateInput = {
391
448
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
392
449
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
393
450
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
451
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
452
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
453
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
394
454
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
395
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
396
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
455
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
456
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
397
457
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
398
458
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
399
459
  };
@@ -404,6 +464,7 @@ export type MessageCreateManyInput = {
404
464
  selectorKind: $Enums.SelectorKind;
405
465
  selectorShipId?: string | null;
406
466
  selectorType?: string | null;
467
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
407
468
  payload: string;
408
469
  contentType: string;
409
470
  model?: string | null;
@@ -411,17 +472,24 @@ export type MessageCreateManyInput = {
411
472
  requestHash: string;
412
473
  inReplyToMessageId?: string | null;
413
474
  resendOfMessageId?: string | null;
475
+ meetingId?: string | null;
476
+ scheduleId?: string | null;
477
+ sendTime?: Date | string | null;
414
478
  createdAt: Date | string;
415
479
  };
416
480
  export type MessageUpdateManyMutationInput = {
417
481
  id?: Prisma.StringFieldUpdateOperationsInput | string;
418
482
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
419
483
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
484
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
420
485
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
421
486
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
422
487
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
423
488
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
424
489
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
490
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
491
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
492
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
425
493
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
426
494
  };
427
495
  export type MessageUncheckedUpdateManyInput = {
@@ -431,6 +499,7 @@ export type MessageUncheckedUpdateManyInput = {
431
499
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
432
500
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
433
501
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
502
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
434
503
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
435
504
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
436
505
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -438,6 +507,9 @@ export type MessageUncheckedUpdateManyInput = {
438
507
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
439
508
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
440
509
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
510
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
511
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
512
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
441
513
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
442
514
  };
443
515
  export type MessageListRelationFilter = {
@@ -448,10 +520,6 @@ export type MessageListRelationFilter = {
448
520
  export type MessageOrderByRelationAggregateInput = {
449
521
  _count?: Prisma.SortOrder;
450
522
  };
451
- export type MessageNullableScalarRelationFilter = {
452
- is?: Prisma.MessageWhereInput | null;
453
- isNot?: Prisma.MessageWhereInput | null;
454
- };
455
523
  export type MessageFleetIdIdCompoundUniqueInput = {
456
524
  fleetId: string;
457
525
  id: string;
@@ -468,6 +536,7 @@ export type MessageCountOrderByAggregateInput = {
468
536
  selectorKind?: Prisma.SortOrder;
469
537
  selectorShipId?: Prisma.SortOrder;
470
538
  selectorType?: Prisma.SortOrder;
539
+ selectorValueIds?: Prisma.SortOrder;
471
540
  payload?: Prisma.SortOrder;
472
541
  contentType?: Prisma.SortOrder;
473
542
  model?: Prisma.SortOrder;
@@ -475,6 +544,9 @@ export type MessageCountOrderByAggregateInput = {
475
544
  requestHash?: Prisma.SortOrder;
476
545
  inReplyToMessageId?: Prisma.SortOrder;
477
546
  resendOfMessageId?: Prisma.SortOrder;
547
+ meetingId?: Prisma.SortOrder;
548
+ scheduleId?: Prisma.SortOrder;
549
+ sendTime?: Prisma.SortOrder;
478
550
  createdAt?: Prisma.SortOrder;
479
551
  };
480
552
  export type MessageMaxOrderByAggregateInput = {
@@ -491,6 +563,9 @@ export type MessageMaxOrderByAggregateInput = {
491
563
  requestHash?: Prisma.SortOrder;
492
564
  inReplyToMessageId?: Prisma.SortOrder;
493
565
  resendOfMessageId?: Prisma.SortOrder;
566
+ meetingId?: Prisma.SortOrder;
567
+ scheduleId?: Prisma.SortOrder;
568
+ sendTime?: Prisma.SortOrder;
494
569
  createdAt?: Prisma.SortOrder;
495
570
  };
496
571
  export type MessageMinOrderByAggregateInput = {
@@ -507,8 +582,15 @@ export type MessageMinOrderByAggregateInput = {
507
582
  requestHash?: Prisma.SortOrder;
508
583
  inReplyToMessageId?: Prisma.SortOrder;
509
584
  resendOfMessageId?: Prisma.SortOrder;
585
+ meetingId?: Prisma.SortOrder;
586
+ scheduleId?: Prisma.SortOrder;
587
+ sendTime?: Prisma.SortOrder;
510
588
  createdAt?: Prisma.SortOrder;
511
589
  };
590
+ export type MessageNullableScalarRelationFilter = {
591
+ is?: Prisma.MessageWhereInput | null;
592
+ isNot?: Prisma.MessageWhereInput | null;
593
+ };
512
594
  export type MessageScalarRelationFilter = {
513
595
  is?: Prisma.MessageWhereInput;
514
596
  isNot?: Prisma.MessageWhereInput;
@@ -627,111 +709,118 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipNestedInput = {
627
709
  updateMany?: Prisma.MessageUpdateManyWithWhereWithoutSelectorShipInput | Prisma.MessageUpdateManyWithWhereWithoutSelectorShipInput[];
628
710
  deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
629
711
  };
630
- export type MessageCreateNestedOneWithoutRepliesInput = {
631
- create?: Prisma.XOR<Prisma.MessageCreateWithoutRepliesInput, Prisma.MessageUncheckedCreateWithoutRepliesInput>;
632
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutRepliesInput;
633
- connect?: Prisma.MessageWhereUniqueInput;
712
+ export type MessageCreateselectorValueIdsInput = {
713
+ set: string[];
634
714
  };
635
- export type MessageCreateNestedManyWithoutInReplyToInput = {
636
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
637
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
638
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
639
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
715
+ export type EnumSelectorKindFieldUpdateOperationsInput = {
716
+ set?: $Enums.SelectorKind;
640
717
  };
641
- export type MessageCreateNestedOneWithoutResendsInput = {
642
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendsInput, Prisma.MessageUncheckedCreateWithoutResendsInput>;
643
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendsInput;
644
- connect?: Prisma.MessageWhereUniqueInput;
718
+ export type MessageUpdateselectorValueIdsInput = {
719
+ set?: string[];
720
+ push?: string | string[];
645
721
  };
646
- export type MessageCreateNestedManyWithoutResendOfInput = {
647
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
648
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
649
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
722
+ export type MessageCreateNestedManyWithoutMeetingInput = {
723
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput> | Prisma.MessageCreateWithoutMeetingInput[] | Prisma.MessageUncheckedCreateWithoutMeetingInput[];
724
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutMeetingInput | Prisma.MessageCreateOrConnectWithoutMeetingInput[];
725
+ createMany?: Prisma.MessageCreateManyMeetingInputEnvelope;
650
726
  connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
651
727
  };
652
- export type MessageUncheckedCreateNestedManyWithoutInReplyToInput = {
653
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
654
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
655
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
728
+ export type MessageUncheckedCreateNestedManyWithoutMeetingInput = {
729
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput> | Prisma.MessageCreateWithoutMeetingInput[] | Prisma.MessageUncheckedCreateWithoutMeetingInput[];
730
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutMeetingInput | Prisma.MessageCreateOrConnectWithoutMeetingInput[];
731
+ createMany?: Prisma.MessageCreateManyMeetingInputEnvelope;
656
732
  connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
657
733
  };
658
- export type MessageUncheckedCreateNestedManyWithoutResendOfInput = {
659
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
660
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
661
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
734
+ export type MessageUpdateManyWithoutMeetingNestedInput = {
735
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput> | Prisma.MessageCreateWithoutMeetingInput[] | Prisma.MessageUncheckedCreateWithoutMeetingInput[];
736
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutMeetingInput | Prisma.MessageCreateOrConnectWithoutMeetingInput[];
737
+ upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutMeetingInput | Prisma.MessageUpsertWithWhereUniqueWithoutMeetingInput[];
738
+ createMany?: Prisma.MessageCreateManyMeetingInputEnvelope;
739
+ set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
740
+ disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
741
+ delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
662
742
  connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
743
+ update?: Prisma.MessageUpdateWithWhereUniqueWithoutMeetingInput | Prisma.MessageUpdateWithWhereUniqueWithoutMeetingInput[];
744
+ updateMany?: Prisma.MessageUpdateManyWithWhereWithoutMeetingInput | Prisma.MessageUpdateManyWithWhereWithoutMeetingInput[];
745
+ deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
663
746
  };
664
- export type EnumSelectorKindFieldUpdateOperationsInput = {
665
- set?: $Enums.SelectorKind;
666
- };
667
- export type MessageUpdateOneWithoutRepliesNestedInput = {
668
- create?: Prisma.XOR<Prisma.MessageCreateWithoutRepliesInput, Prisma.MessageUncheckedCreateWithoutRepliesInput>;
669
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutRepliesInput;
670
- upsert?: Prisma.MessageUpsertWithoutRepliesInput;
671
- disconnect?: Prisma.MessageWhereInput | boolean;
672
- delete?: Prisma.MessageWhereInput | boolean;
673
- connect?: Prisma.MessageWhereUniqueInput;
674
- update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutRepliesInput, Prisma.MessageUpdateWithoutRepliesInput>, Prisma.MessageUncheckedUpdateWithoutRepliesInput>;
675
- };
676
- export type MessageUpdateManyWithoutInReplyToNestedInput = {
677
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
678
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
679
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput[];
680
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
747
+ export type MessageUncheckedUpdateManyWithoutMeetingNestedInput = {
748
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput> | Prisma.MessageCreateWithoutMeetingInput[] | Prisma.MessageUncheckedCreateWithoutMeetingInput[];
749
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutMeetingInput | Prisma.MessageCreateOrConnectWithoutMeetingInput[];
750
+ upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutMeetingInput | Prisma.MessageUpsertWithWhereUniqueWithoutMeetingInput[];
751
+ createMany?: Prisma.MessageCreateManyMeetingInputEnvelope;
681
752
  set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
682
753
  disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
683
754
  delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
684
755
  connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
685
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput[];
686
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput | Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput[];
756
+ update?: Prisma.MessageUpdateWithWhereUniqueWithoutMeetingInput | Prisma.MessageUpdateWithWhereUniqueWithoutMeetingInput[];
757
+ updateMany?: Prisma.MessageUpdateManyWithWhereWithoutMeetingInput | Prisma.MessageUpdateManyWithWhereWithoutMeetingInput[];
687
758
  deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
688
759
  };
689
- export type MessageUpdateOneWithoutResendsNestedInput = {
690
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendsInput, Prisma.MessageUncheckedCreateWithoutResendsInput>;
691
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendsInput;
692
- upsert?: Prisma.MessageUpsertWithoutResendsInput;
760
+ export type MessageCreateNestedOneWithoutRepliedToBySchedulesInput = {
761
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedCreateWithoutRepliedToBySchedulesInput>;
762
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutRepliedToBySchedulesInput;
763
+ connect?: Prisma.MessageWhereUniqueInput;
764
+ };
765
+ export type MessageCreateNestedOneWithoutLastSentBySchedulesInput = {
766
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedCreateWithoutLastSentBySchedulesInput>;
767
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutLastSentBySchedulesInput;
768
+ connect?: Prisma.MessageWhereUniqueInput;
769
+ };
770
+ export type MessageCreateNestedManyWithoutScheduleInput = {
771
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput> | Prisma.MessageCreateWithoutScheduleInput[] | Prisma.MessageUncheckedCreateWithoutScheduleInput[];
772
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutScheduleInput | Prisma.MessageCreateOrConnectWithoutScheduleInput[];
773
+ createMany?: Prisma.MessageCreateManyScheduleInputEnvelope;
774
+ connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
775
+ };
776
+ export type MessageUncheckedCreateNestedManyWithoutScheduleInput = {
777
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput> | Prisma.MessageCreateWithoutScheduleInput[] | Prisma.MessageUncheckedCreateWithoutScheduleInput[];
778
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutScheduleInput | Prisma.MessageCreateOrConnectWithoutScheduleInput[];
779
+ createMany?: Prisma.MessageCreateManyScheduleInputEnvelope;
780
+ connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
781
+ };
782
+ export type MessageUpdateOneWithoutRepliedToBySchedulesNestedInput = {
783
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedCreateWithoutRepliedToBySchedulesInput>;
784
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutRepliedToBySchedulesInput;
785
+ upsert?: Prisma.MessageUpsertWithoutRepliedToBySchedulesInput;
693
786
  disconnect?: Prisma.MessageWhereInput | boolean;
694
787
  delete?: Prisma.MessageWhereInput | boolean;
695
788
  connect?: Prisma.MessageWhereUniqueInput;
696
- update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutResendsInput, Prisma.MessageUpdateWithoutResendsInput>, Prisma.MessageUncheckedUpdateWithoutResendsInput>;
789
+ update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutRepliedToBySchedulesInput, Prisma.MessageUpdateWithoutRepliedToBySchedulesInput>, Prisma.MessageUncheckedUpdateWithoutRepliedToBySchedulesInput>;
697
790
  };
698
- export type MessageUpdateManyWithoutResendOfNestedInput = {
699
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
700
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
701
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput[];
702
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
703
- set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
704
- disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
705
- delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
706
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
707
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput[];
708
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutResendOfInput | Prisma.MessageUpdateManyWithWhereWithoutResendOfInput[];
709
- deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
791
+ export type MessageUpdateOneWithoutLastSentBySchedulesNestedInput = {
792
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedCreateWithoutLastSentBySchedulesInput>;
793
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutLastSentBySchedulesInput;
794
+ upsert?: Prisma.MessageUpsertWithoutLastSentBySchedulesInput;
795
+ disconnect?: Prisma.MessageWhereInput | boolean;
796
+ delete?: Prisma.MessageWhereInput | boolean;
797
+ connect?: Prisma.MessageWhereUniqueInput;
798
+ update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutLastSentBySchedulesInput, Prisma.MessageUpdateWithoutLastSentBySchedulesInput>, Prisma.MessageUncheckedUpdateWithoutLastSentBySchedulesInput>;
710
799
  };
711
- export type MessageUncheckedUpdateManyWithoutInReplyToNestedInput = {
712
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
713
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
714
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput[];
715
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
800
+ export type MessageUpdateManyWithoutScheduleNestedInput = {
801
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput> | Prisma.MessageCreateWithoutScheduleInput[] | Prisma.MessageUncheckedCreateWithoutScheduleInput[];
802
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutScheduleInput | Prisma.MessageCreateOrConnectWithoutScheduleInput[];
803
+ upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutScheduleInput | Prisma.MessageUpsertWithWhereUniqueWithoutScheduleInput[];
804
+ createMany?: Prisma.MessageCreateManyScheduleInputEnvelope;
716
805
  set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
717
806
  disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
718
807
  delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
719
808
  connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
720
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput[];
721
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput | Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput[];
809
+ update?: Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput | Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput[];
810
+ updateMany?: Prisma.MessageUpdateManyWithWhereWithoutScheduleInput | Prisma.MessageUpdateManyWithWhereWithoutScheduleInput[];
722
811
  deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
723
812
  };
724
- export type MessageUncheckedUpdateManyWithoutResendOfNestedInput = {
725
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
726
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
727
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput[];
728
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
813
+ export type MessageUncheckedUpdateManyWithoutScheduleNestedInput = {
814
+ create?: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput> | Prisma.MessageCreateWithoutScheduleInput[] | Prisma.MessageUncheckedCreateWithoutScheduleInput[];
815
+ connectOrCreate?: Prisma.MessageCreateOrConnectWithoutScheduleInput | Prisma.MessageCreateOrConnectWithoutScheduleInput[];
816
+ upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutScheduleInput | Prisma.MessageUpsertWithWhereUniqueWithoutScheduleInput[];
817
+ createMany?: Prisma.MessageCreateManyScheduleInputEnvelope;
729
818
  set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
730
819
  disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
731
820
  delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
732
821
  connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
733
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput[];
734
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutResendOfInput | Prisma.MessageUpdateManyWithWhereWithoutResendOfInput[];
822
+ update?: Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput | Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput[];
823
+ updateMany?: Prisma.MessageUpdateManyWithWhereWithoutScheduleInput | Prisma.MessageUpdateManyWithWhereWithoutScheduleInput[];
735
824
  deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
736
825
  };
737
826
  export type MessageCreateNestedOneWithoutDeliveriesInput = {
@@ -764,18 +853,22 @@ export type MessageCreateWithoutFleetInput = {
764
853
  id: string;
765
854
  selectorKind: $Enums.SelectorKind;
766
855
  selectorType?: string | null;
856
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
767
857
  payload: string;
768
858
  contentType: string;
769
859
  model?: string | null;
770
860
  idempotencyKey: string;
771
861
  requestHash: string;
862
+ inReplyToMessageId?: string | null;
863
+ resendOfMessageId?: string | null;
864
+ sendTime?: Date | string | null;
772
865
  createdAt: Date | string;
773
866
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
774
867
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
775
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
776
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
777
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
778
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
868
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
869
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
870
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
871
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
779
872
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
780
873
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
781
874
  };
@@ -785,6 +878,7 @@ export type MessageUncheckedCreateWithoutFleetInput = {
785
878
  selectorKind: $Enums.SelectorKind;
786
879
  selectorShipId?: string | null;
787
880
  selectorType?: string | null;
881
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
788
882
  payload: string;
789
883
  contentType: string;
790
884
  model?: string | null;
@@ -792,9 +886,12 @@ export type MessageUncheckedCreateWithoutFleetInput = {
792
886
  requestHash: string;
793
887
  inReplyToMessageId?: string | null;
794
888
  resendOfMessageId?: string | null;
889
+ meetingId?: string | null;
890
+ scheduleId?: string | null;
891
+ sendTime?: Date | string | null;
795
892
  createdAt: Date | string;
796
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
797
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
893
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
894
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
798
895
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
799
896
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
800
897
  };
@@ -829,6 +926,7 @@ export type MessageScalarWhereInput = {
829
926
  selectorKind?: Prisma.EnumSelectorKindFilter<"Message"> | $Enums.SelectorKind;
830
927
  selectorShipId?: Prisma.StringNullableFilter<"Message"> | string | null;
831
928
  selectorType?: Prisma.StringNullableFilter<"Message"> | string | null;
929
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
832
930
  payload?: Prisma.StringFilter<"Message"> | string;
833
931
  contentType?: Prisma.StringFilter<"Message"> | string;
834
932
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
@@ -836,24 +934,31 @@ export type MessageScalarWhereInput = {
836
934
  requestHash?: Prisma.StringFilter<"Message"> | string;
837
935
  inReplyToMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
838
936
  resendOfMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
937
+ meetingId?: Prisma.StringNullableFilter<"Message"> | string | null;
938
+ scheduleId?: Prisma.StringNullableFilter<"Message"> | string | null;
939
+ sendTime?: Prisma.DateTimeNullableFilter<"Message"> | Date | string | null;
839
940
  createdAt?: Prisma.DateTimeFilter<"Message"> | Date | string;
840
941
  };
841
942
  export type MessageCreateWithoutSenderShipInput = {
842
943
  id: string;
843
944
  selectorKind: $Enums.SelectorKind;
844
945
  selectorType?: string | null;
946
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
845
947
  payload: string;
846
948
  contentType: string;
847
949
  model?: string | null;
848
950
  idempotencyKey: string;
849
951
  requestHash: string;
952
+ inReplyToMessageId?: string | null;
953
+ resendOfMessageId?: string | null;
954
+ sendTime?: Date | string | null;
850
955
  createdAt: Date | string;
851
956
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
852
957
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
853
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
854
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
855
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
856
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
958
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
959
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
960
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
961
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
857
962
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
858
963
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
859
964
  };
@@ -862,6 +967,7 @@ export type MessageUncheckedCreateWithoutSenderShipInput = {
862
967
  selectorKind: $Enums.SelectorKind;
863
968
  selectorShipId?: string | null;
864
969
  selectorType?: string | null;
970
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
865
971
  payload: string;
866
972
  contentType: string;
867
973
  model?: string | null;
@@ -869,9 +975,12 @@ export type MessageUncheckedCreateWithoutSenderShipInput = {
869
975
  requestHash: string;
870
976
  inReplyToMessageId?: string | null;
871
977
  resendOfMessageId?: string | null;
978
+ meetingId?: string | null;
979
+ scheduleId?: string | null;
980
+ sendTime?: Date | string | null;
872
981
  createdAt: Date | string;
873
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
874
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
982
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
983
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
875
984
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
876
985
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
877
986
  };
@@ -887,18 +996,22 @@ export type MessageCreateWithoutSelectorShipInput = {
887
996
  id: string;
888
997
  selectorKind: $Enums.SelectorKind;
889
998
  selectorType?: string | null;
999
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
890
1000
  payload: string;
891
1001
  contentType: string;
892
1002
  model?: string | null;
893
1003
  idempotencyKey: string;
894
1004
  requestHash: string;
1005
+ inReplyToMessageId?: string | null;
1006
+ resendOfMessageId?: string | null;
1007
+ sendTime?: Date | string | null;
895
1008
  createdAt: Date | string;
896
1009
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
897
1010
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
898
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
899
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
900
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
901
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1011
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1012
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1013
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1014
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
902
1015
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
903
1016
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
904
1017
  };
@@ -907,6 +1020,7 @@ export type MessageUncheckedCreateWithoutSelectorShipInput = {
907
1020
  senderShipId: string;
908
1021
  selectorKind: $Enums.SelectorKind;
909
1022
  selectorType?: string | null;
1023
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
910
1024
  payload: string;
911
1025
  contentType: string;
912
1026
  model?: string | null;
@@ -914,9 +1028,12 @@ export type MessageUncheckedCreateWithoutSelectorShipInput = {
914
1028
  requestHash: string;
915
1029
  inReplyToMessageId?: string | null;
916
1030
  resendOfMessageId?: string | null;
1031
+ meetingId?: string | null;
1032
+ scheduleId?: string | null;
1033
+ sendTime?: Date | string | null;
917
1034
  createdAt: Date | string;
918
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
919
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1035
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1036
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
920
1037
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
921
1038
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
922
1039
  };
@@ -954,32 +1071,36 @@ export type MessageUpdateManyWithWhereWithoutSelectorShipInput = {
954
1071
  where: Prisma.MessageScalarWhereInput;
955
1072
  data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutSelectorShipInput>;
956
1073
  };
957
- export type MessageCreateWithoutRepliesInput = {
1074
+ export type MessageCreateWithoutMeetingInput = {
958
1075
  id: string;
959
1076
  selectorKind: $Enums.SelectorKind;
960
1077
  selectorType?: string | null;
1078
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
961
1079
  payload: string;
962
1080
  contentType: string;
963
1081
  model?: string | null;
964
1082
  idempotencyKey: string;
965
1083
  requestHash: string;
1084
+ inReplyToMessageId?: string | null;
1085
+ resendOfMessageId?: string | null;
1086
+ sendTime?: Date | string | null;
966
1087
  createdAt: Date | string;
967
1088
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
968
1089
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
969
1090
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
970
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
971
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
972
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1091
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1092
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1093
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
973
1094
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
974
1095
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
975
1096
  };
976
- export type MessageUncheckedCreateWithoutRepliesInput = {
1097
+ export type MessageUncheckedCreateWithoutMeetingInput = {
977
1098
  id: string;
978
- fleetId: string;
979
1099
  senderShipId: string;
980
1100
  selectorKind: $Enums.SelectorKind;
981
1101
  selectorShipId?: string | null;
982
1102
  selectorType?: string | null;
1103
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
983
1104
  payload: string;
984
1105
  contentType: string;
985
1106
  model?: string | null;
@@ -987,86 +1108,116 @@ export type MessageUncheckedCreateWithoutRepliesInput = {
987
1108
  requestHash: string;
988
1109
  inReplyToMessageId?: string | null;
989
1110
  resendOfMessageId?: string | null;
1111
+ scheduleId?: string | null;
1112
+ sendTime?: Date | string | null;
990
1113
  createdAt: Date | string;
991
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1114
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1115
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
992
1116
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
993
1117
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
994
1118
  };
995
- export type MessageCreateOrConnectWithoutRepliesInput = {
1119
+ export type MessageCreateOrConnectWithoutMeetingInput = {
1120
+ where: Prisma.MessageWhereUniqueInput;
1121
+ create: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput>;
1122
+ };
1123
+ export type MessageCreateManyMeetingInputEnvelope = {
1124
+ data: Prisma.MessageCreateManyMeetingInput | Prisma.MessageCreateManyMeetingInput[];
1125
+ skipDuplicates?: boolean;
1126
+ };
1127
+ export type MessageUpsertWithWhereUniqueWithoutMeetingInput = {
996
1128
  where: Prisma.MessageWhereUniqueInput;
997
- create: Prisma.XOR<Prisma.MessageCreateWithoutRepliesInput, Prisma.MessageUncheckedCreateWithoutRepliesInput>;
1129
+ update: Prisma.XOR<Prisma.MessageUpdateWithoutMeetingInput, Prisma.MessageUncheckedUpdateWithoutMeetingInput>;
1130
+ create: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput>;
998
1131
  };
999
- export type MessageCreateWithoutInReplyToInput = {
1132
+ export type MessageUpdateWithWhereUniqueWithoutMeetingInput = {
1133
+ where: Prisma.MessageWhereUniqueInput;
1134
+ data: Prisma.XOR<Prisma.MessageUpdateWithoutMeetingInput, Prisma.MessageUncheckedUpdateWithoutMeetingInput>;
1135
+ };
1136
+ export type MessageUpdateManyWithWhereWithoutMeetingInput = {
1137
+ where: Prisma.MessageScalarWhereInput;
1138
+ data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutMeetingInput>;
1139
+ };
1140
+ export type MessageCreateWithoutRepliedToBySchedulesInput = {
1000
1141
  id: string;
1001
1142
  selectorKind: $Enums.SelectorKind;
1002
1143
  selectorType?: string | null;
1144
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1003
1145
  payload: string;
1004
1146
  contentType: string;
1005
1147
  model?: string | null;
1006
1148
  idempotencyKey: string;
1007
1149
  requestHash: string;
1150
+ inReplyToMessageId?: string | null;
1151
+ resendOfMessageId?: string | null;
1152
+ sendTime?: Date | string | null;
1008
1153
  createdAt: Date | string;
1009
1154
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1010
1155
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1011
1156
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1012
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1013
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1014
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1157
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1158
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1159
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1015
1160
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1016
1161
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1017
1162
  };
1018
- export type MessageUncheckedCreateWithoutInReplyToInput = {
1163
+ export type MessageUncheckedCreateWithoutRepliedToBySchedulesInput = {
1019
1164
  id: string;
1165
+ fleetId: string;
1020
1166
  senderShipId: string;
1021
1167
  selectorKind: $Enums.SelectorKind;
1022
1168
  selectorShipId?: string | null;
1023
1169
  selectorType?: string | null;
1170
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1024
1171
  payload: string;
1025
1172
  contentType: string;
1026
1173
  model?: string | null;
1027
1174
  idempotencyKey: string;
1028
1175
  requestHash: string;
1176
+ inReplyToMessageId?: string | null;
1029
1177
  resendOfMessageId?: string | null;
1178
+ meetingId?: string | null;
1179
+ scheduleId?: string | null;
1180
+ sendTime?: Date | string | null;
1030
1181
  createdAt: Date | string;
1031
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1032
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1182
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1033
1183
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1034
1184
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1035
1185
  };
1036
- export type MessageCreateOrConnectWithoutInReplyToInput = {
1186
+ export type MessageCreateOrConnectWithoutRepliedToBySchedulesInput = {
1037
1187
  where: Prisma.MessageWhereUniqueInput;
1038
- create: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput>;
1188
+ create: Prisma.XOR<Prisma.MessageCreateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedCreateWithoutRepliedToBySchedulesInput>;
1039
1189
  };
1040
- export type MessageCreateManyInReplyToInputEnvelope = {
1041
- data: Prisma.MessageCreateManyInReplyToInput | Prisma.MessageCreateManyInReplyToInput[];
1042
- skipDuplicates?: boolean;
1043
- };
1044
- export type MessageCreateWithoutResendsInput = {
1190
+ export type MessageCreateWithoutLastSentBySchedulesInput = {
1045
1191
  id: string;
1046
1192
  selectorKind: $Enums.SelectorKind;
1047
1193
  selectorType?: string | null;
1194
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1048
1195
  payload: string;
1049
1196
  contentType: string;
1050
1197
  model?: string | null;
1051
1198
  idempotencyKey: string;
1052
1199
  requestHash: string;
1200
+ inReplyToMessageId?: string | null;
1201
+ resendOfMessageId?: string | null;
1202
+ sendTime?: Date | string | null;
1053
1203
  createdAt: Date | string;
1054
1204
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1055
1205
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1056
1206
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1057
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1058
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1059
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1207
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1208
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1209
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1060
1210
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1061
1211
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1062
1212
  };
1063
- export type MessageUncheckedCreateWithoutResendsInput = {
1213
+ export type MessageUncheckedCreateWithoutLastSentBySchedulesInput = {
1064
1214
  id: string;
1065
1215
  fleetId: string;
1066
1216
  senderShipId: string;
1067
1217
  selectorKind: $Enums.SelectorKind;
1068
1218
  selectorShipId?: string | null;
1069
1219
  selectorType?: string | null;
1220
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1070
1221
  payload: string;
1071
1222
  contentType: string;
1072
1223
  model?: string | null;
@@ -1074,95 +1225,111 @@ export type MessageUncheckedCreateWithoutResendsInput = {
1074
1225
  requestHash: string;
1075
1226
  inReplyToMessageId?: string | null;
1076
1227
  resendOfMessageId?: string | null;
1228
+ meetingId?: string | null;
1229
+ scheduleId?: string | null;
1230
+ sendTime?: Date | string | null;
1077
1231
  createdAt: Date | string;
1078
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1232
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1079
1233
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1080
1234
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1081
1235
  };
1082
- export type MessageCreateOrConnectWithoutResendsInput = {
1236
+ export type MessageCreateOrConnectWithoutLastSentBySchedulesInput = {
1083
1237
  where: Prisma.MessageWhereUniqueInput;
1084
- create: Prisma.XOR<Prisma.MessageCreateWithoutResendsInput, Prisma.MessageUncheckedCreateWithoutResendsInput>;
1238
+ create: Prisma.XOR<Prisma.MessageCreateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedCreateWithoutLastSentBySchedulesInput>;
1085
1239
  };
1086
- export type MessageCreateWithoutResendOfInput = {
1240
+ export type MessageCreateWithoutScheduleInput = {
1087
1241
  id: string;
1088
1242
  selectorKind: $Enums.SelectorKind;
1089
1243
  selectorType?: string | null;
1244
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1090
1245
  payload: string;
1091
1246
  contentType: string;
1092
1247
  model?: string | null;
1093
1248
  idempotencyKey: string;
1094
1249
  requestHash: string;
1250
+ inReplyToMessageId?: string | null;
1251
+ resendOfMessageId?: string | null;
1252
+ sendTime?: Date | string | null;
1095
1253
  createdAt: Date | string;
1096
1254
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1097
1255
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1098
1256
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1099
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1100
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1101
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1257
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1258
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1259
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1102
1260
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1103
1261
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1104
1262
  };
1105
- export type MessageUncheckedCreateWithoutResendOfInput = {
1263
+ export type MessageUncheckedCreateWithoutScheduleInput = {
1106
1264
  id: string;
1107
1265
  senderShipId: string;
1108
1266
  selectorKind: $Enums.SelectorKind;
1109
1267
  selectorShipId?: string | null;
1110
1268
  selectorType?: string | null;
1269
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1111
1270
  payload: string;
1112
1271
  contentType: string;
1113
1272
  model?: string | null;
1114
1273
  idempotencyKey: string;
1115
1274
  requestHash: string;
1116
1275
  inReplyToMessageId?: string | null;
1276
+ resendOfMessageId?: string | null;
1277
+ meetingId?: string | null;
1278
+ sendTime?: Date | string | null;
1117
1279
  createdAt: Date | string;
1118
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1119
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1280
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1281
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1120
1282
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1121
1283
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1122
1284
  };
1123
- export type MessageCreateOrConnectWithoutResendOfInput = {
1285
+ export type MessageCreateOrConnectWithoutScheduleInput = {
1124
1286
  where: Prisma.MessageWhereUniqueInput;
1125
- create: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput>;
1287
+ create: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput>;
1126
1288
  };
1127
- export type MessageCreateManyResendOfInputEnvelope = {
1128
- data: Prisma.MessageCreateManyResendOfInput | Prisma.MessageCreateManyResendOfInput[];
1289
+ export type MessageCreateManyScheduleInputEnvelope = {
1290
+ data: Prisma.MessageCreateManyScheduleInput | Prisma.MessageCreateManyScheduleInput[];
1129
1291
  skipDuplicates?: boolean;
1130
1292
  };
1131
- export type MessageUpsertWithoutRepliesInput = {
1132
- update: Prisma.XOR<Prisma.MessageUpdateWithoutRepliesInput, Prisma.MessageUncheckedUpdateWithoutRepliesInput>;
1133
- create: Prisma.XOR<Prisma.MessageCreateWithoutRepliesInput, Prisma.MessageUncheckedCreateWithoutRepliesInput>;
1293
+ export type MessageUpsertWithoutRepliedToBySchedulesInput = {
1294
+ update: Prisma.XOR<Prisma.MessageUpdateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedUpdateWithoutRepliedToBySchedulesInput>;
1295
+ create: Prisma.XOR<Prisma.MessageCreateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedCreateWithoutRepliedToBySchedulesInput>;
1134
1296
  where?: Prisma.MessageWhereInput;
1135
1297
  };
1136
- export type MessageUpdateToOneWithWhereWithoutRepliesInput = {
1298
+ export type MessageUpdateToOneWithWhereWithoutRepliedToBySchedulesInput = {
1137
1299
  where?: Prisma.MessageWhereInput;
1138
- data: Prisma.XOR<Prisma.MessageUpdateWithoutRepliesInput, Prisma.MessageUncheckedUpdateWithoutRepliesInput>;
1300
+ data: Prisma.XOR<Prisma.MessageUpdateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedUpdateWithoutRepliedToBySchedulesInput>;
1139
1301
  };
1140
- export type MessageUpdateWithoutRepliesInput = {
1302
+ export type MessageUpdateWithoutRepliedToBySchedulesInput = {
1141
1303
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1142
1304
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1143
1305
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1306
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1144
1307
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1145
1308
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1146
1309
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1147
1310
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1148
1311
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1312
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1313
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1314
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1149
1315
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1150
1316
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1151
1317
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1152
1318
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1153
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1154
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1155
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1319
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1320
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1321
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1156
1322
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1157
1323
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1158
1324
  };
1159
- export type MessageUncheckedUpdateWithoutRepliesInput = {
1325
+ export type MessageUncheckedUpdateWithoutRepliedToBySchedulesInput = {
1160
1326
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1161
1327
  fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
1162
1328
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1163
1329
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1164
1330
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1165
1331
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1332
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1166
1333
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1167
1334
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1168
1335
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1170,59 +1337,54 @@ export type MessageUncheckedUpdateWithoutRepliesInput = {
1170
1337
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1171
1338
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1172
1339
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1340
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1341
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1342
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1173
1343
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1174
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1344
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1175
1345
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1176
1346
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1177
1347
  };
1178
- export type MessageUpsertWithWhereUniqueWithoutInReplyToInput = {
1179
- where: Prisma.MessageWhereUniqueInput;
1180
- update: Prisma.XOR<Prisma.MessageUpdateWithoutInReplyToInput, Prisma.MessageUncheckedUpdateWithoutInReplyToInput>;
1181
- create: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput>;
1182
- };
1183
- export type MessageUpdateWithWhereUniqueWithoutInReplyToInput = {
1184
- where: Prisma.MessageWhereUniqueInput;
1185
- data: Prisma.XOR<Prisma.MessageUpdateWithoutInReplyToInput, Prisma.MessageUncheckedUpdateWithoutInReplyToInput>;
1186
- };
1187
- export type MessageUpdateManyWithWhereWithoutInReplyToInput = {
1188
- where: Prisma.MessageScalarWhereInput;
1189
- data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutInReplyToInput>;
1190
- };
1191
- export type MessageUpsertWithoutResendsInput = {
1192
- update: Prisma.XOR<Prisma.MessageUpdateWithoutResendsInput, Prisma.MessageUncheckedUpdateWithoutResendsInput>;
1193
- create: Prisma.XOR<Prisma.MessageCreateWithoutResendsInput, Prisma.MessageUncheckedCreateWithoutResendsInput>;
1348
+ export type MessageUpsertWithoutLastSentBySchedulesInput = {
1349
+ update: Prisma.XOR<Prisma.MessageUpdateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedUpdateWithoutLastSentBySchedulesInput>;
1350
+ create: Prisma.XOR<Prisma.MessageCreateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedCreateWithoutLastSentBySchedulesInput>;
1194
1351
  where?: Prisma.MessageWhereInput;
1195
1352
  };
1196
- export type MessageUpdateToOneWithWhereWithoutResendsInput = {
1353
+ export type MessageUpdateToOneWithWhereWithoutLastSentBySchedulesInput = {
1197
1354
  where?: Prisma.MessageWhereInput;
1198
- data: Prisma.XOR<Prisma.MessageUpdateWithoutResendsInput, Prisma.MessageUncheckedUpdateWithoutResendsInput>;
1355
+ data: Prisma.XOR<Prisma.MessageUpdateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedUpdateWithoutLastSentBySchedulesInput>;
1199
1356
  };
1200
- export type MessageUpdateWithoutResendsInput = {
1357
+ export type MessageUpdateWithoutLastSentBySchedulesInput = {
1201
1358
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1202
1359
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1203
1360
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1361
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1204
1362
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1205
1363
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1206
1364
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1207
1365
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1208
1366
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1367
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1368
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1369
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1209
1370
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1210
1371
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1211
1372
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1212
1373
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1213
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1214
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1215
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1374
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1375
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1376
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1216
1377
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1217
1378
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1218
1379
  };
1219
- export type MessageUncheckedUpdateWithoutResendsInput = {
1380
+ export type MessageUncheckedUpdateWithoutLastSentBySchedulesInput = {
1220
1381
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1221
1382
  fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
1222
1383
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1223
1384
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1224
1385
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1225
1386
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1387
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1226
1388
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1227
1389
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1228
1390
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1230,41 +1392,48 @@ export type MessageUncheckedUpdateWithoutResendsInput = {
1230
1392
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1231
1393
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1232
1394
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1395
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1396
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1397
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1233
1398
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1234
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1399
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1235
1400
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1236
1401
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1237
1402
  };
1238
- export type MessageUpsertWithWhereUniqueWithoutResendOfInput = {
1403
+ export type MessageUpsertWithWhereUniqueWithoutScheduleInput = {
1239
1404
  where: Prisma.MessageWhereUniqueInput;
1240
- update: Prisma.XOR<Prisma.MessageUpdateWithoutResendOfInput, Prisma.MessageUncheckedUpdateWithoutResendOfInput>;
1241
- create: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput>;
1405
+ update: Prisma.XOR<Prisma.MessageUpdateWithoutScheduleInput, Prisma.MessageUncheckedUpdateWithoutScheduleInput>;
1406
+ create: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput>;
1242
1407
  };
1243
- export type MessageUpdateWithWhereUniqueWithoutResendOfInput = {
1408
+ export type MessageUpdateWithWhereUniqueWithoutScheduleInput = {
1244
1409
  where: Prisma.MessageWhereUniqueInput;
1245
- data: Prisma.XOR<Prisma.MessageUpdateWithoutResendOfInput, Prisma.MessageUncheckedUpdateWithoutResendOfInput>;
1410
+ data: Prisma.XOR<Prisma.MessageUpdateWithoutScheduleInput, Prisma.MessageUncheckedUpdateWithoutScheduleInput>;
1246
1411
  };
1247
- export type MessageUpdateManyWithWhereWithoutResendOfInput = {
1412
+ export type MessageUpdateManyWithWhereWithoutScheduleInput = {
1248
1413
  where: Prisma.MessageScalarWhereInput;
1249
- data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutResendOfInput>;
1414
+ data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutScheduleInput>;
1250
1415
  };
1251
1416
  export type MessageCreateWithoutDeliveriesInput = {
1252
1417
  id: string;
1253
1418
  selectorKind: $Enums.SelectorKind;
1254
1419
  selectorType?: string | null;
1420
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1255
1421
  payload: string;
1256
1422
  contentType: string;
1257
1423
  model?: string | null;
1258
1424
  idempotencyKey: string;
1259
1425
  requestHash: string;
1426
+ inReplyToMessageId?: string | null;
1427
+ resendOfMessageId?: string | null;
1428
+ sendTime?: Date | string | null;
1260
1429
  createdAt: Date | string;
1261
1430
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1262
1431
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1263
1432
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1264
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1265
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1266
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1267
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1433
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1434
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1435
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1436
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1268
1437
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1269
1438
  };
1270
1439
  export type MessageUncheckedCreateWithoutDeliveriesInput = {
@@ -1274,6 +1443,7 @@ export type MessageUncheckedCreateWithoutDeliveriesInput = {
1274
1443
  selectorKind: $Enums.SelectorKind;
1275
1444
  selectorShipId?: string | null;
1276
1445
  selectorType?: string | null;
1446
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1277
1447
  payload: string;
1278
1448
  contentType: string;
1279
1449
  model?: string | null;
@@ -1281,9 +1451,12 @@ export type MessageUncheckedCreateWithoutDeliveriesInput = {
1281
1451
  requestHash: string;
1282
1452
  inReplyToMessageId?: string | null;
1283
1453
  resendOfMessageId?: string | null;
1454
+ meetingId?: string | null;
1455
+ scheduleId?: string | null;
1456
+ sendTime?: Date | string | null;
1284
1457
  createdAt: Date | string;
1285
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1286
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1458
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1459
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1287
1460
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1288
1461
  };
1289
1462
  export type MessageCreateOrConnectWithoutDeliveriesInput = {
@@ -1303,19 +1476,23 @@ export type MessageUpdateWithoutDeliveriesInput = {
1303
1476
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1304
1477
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1305
1478
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1479
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1306
1480
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1307
1481
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1308
1482
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1309
1483
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1310
1484
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1485
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1486
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1487
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1311
1488
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1312
1489
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1313
1490
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1314
1491
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1315
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1316
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1317
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1318
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1492
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1493
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1494
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1495
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1319
1496
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1320
1497
  };
1321
1498
  export type MessageUncheckedUpdateWithoutDeliveriesInput = {
@@ -1325,6 +1502,7 @@ export type MessageUncheckedUpdateWithoutDeliveriesInput = {
1325
1502
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1326
1503
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1327
1504
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1505
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1328
1506
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1329
1507
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1330
1508
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1332,28 +1510,35 @@ export type MessageUncheckedUpdateWithoutDeliveriesInput = {
1332
1510
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1333
1511
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1334
1512
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1513
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1514
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1515
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1335
1516
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1336
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1337
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1517
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1518
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1338
1519
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1339
1520
  };
1340
1521
  export type MessageCreateWithoutEventsInput = {
1341
1522
  id: string;
1342
1523
  selectorKind: $Enums.SelectorKind;
1343
1524
  selectorType?: string | null;
1525
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1344
1526
  payload: string;
1345
1527
  contentType: string;
1346
1528
  model?: string | null;
1347
1529
  idempotencyKey: string;
1348
1530
  requestHash: string;
1531
+ inReplyToMessageId?: string | null;
1532
+ resendOfMessageId?: string | null;
1533
+ sendTime?: Date | string | null;
1349
1534
  createdAt: Date | string;
1350
1535
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1351
1536
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1352
1537
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1353
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1354
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1355
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1356
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1538
+ meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1539
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1540
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1541
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1357
1542
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1358
1543
  };
1359
1544
  export type MessageUncheckedCreateWithoutEventsInput = {
@@ -1363,6 +1548,7 @@ export type MessageUncheckedCreateWithoutEventsInput = {
1363
1548
  selectorKind: $Enums.SelectorKind;
1364
1549
  selectorShipId?: string | null;
1365
1550
  selectorType?: string | null;
1551
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1366
1552
  payload: string;
1367
1553
  contentType: string;
1368
1554
  model?: string | null;
@@ -1370,9 +1556,12 @@ export type MessageUncheckedCreateWithoutEventsInput = {
1370
1556
  requestHash: string;
1371
1557
  inReplyToMessageId?: string | null;
1372
1558
  resendOfMessageId?: string | null;
1559
+ meetingId?: string | null;
1560
+ scheduleId?: string | null;
1561
+ sendTime?: Date | string | null;
1373
1562
  createdAt: Date | string;
1374
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1375
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1563
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1564
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1376
1565
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1377
1566
  };
1378
1567
  export type MessageCreateOrConnectWithoutEventsInput = {
@@ -1392,19 +1581,23 @@ export type MessageUpdateWithoutEventsInput = {
1392
1581
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1393
1582
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1394
1583
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1584
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1395
1585
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1396
1586
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1397
1587
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1398
1588
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1399
1589
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1590
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1591
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1592
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1400
1593
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1401
1594
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1402
1595
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1403
1596
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1404
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1405
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1406
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1407
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1597
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1598
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1599
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1600
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1408
1601
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1409
1602
  };
1410
1603
  export type MessageUncheckedUpdateWithoutEventsInput = {
@@ -1414,6 +1607,7 @@ export type MessageUncheckedUpdateWithoutEventsInput = {
1414
1607
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1415
1608
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1416
1609
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1610
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1417
1611
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1418
1612
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1419
1613
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1421,9 +1615,12 @@ export type MessageUncheckedUpdateWithoutEventsInput = {
1421
1615
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1422
1616
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1423
1617
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1618
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1619
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1620
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1424
1621
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1425
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1426
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1622
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1623
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1427
1624
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1428
1625
  };
1429
1626
  export type MessageCreateManyFleetInput = {
@@ -1432,6 +1629,7 @@ export type MessageCreateManyFleetInput = {
1432
1629
  selectorKind: $Enums.SelectorKind;
1433
1630
  selectorShipId?: string | null;
1434
1631
  selectorType?: string | null;
1632
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1435
1633
  payload: string;
1436
1634
  contentType: string;
1437
1635
  model?: string | null;
@@ -1439,24 +1637,31 @@ export type MessageCreateManyFleetInput = {
1439
1637
  requestHash: string;
1440
1638
  inReplyToMessageId?: string | null;
1441
1639
  resendOfMessageId?: string | null;
1640
+ meetingId?: string | null;
1641
+ scheduleId?: string | null;
1642
+ sendTime?: Date | string | null;
1442
1643
  createdAt: Date | string;
1443
1644
  };
1444
1645
  export type MessageUpdateWithoutFleetInput = {
1445
1646
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1446
1647
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1447
1648
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1649
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1448
1650
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1449
1651
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1450
1652
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1451
1653
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1452
1654
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1655
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1656
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1657
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1453
1658
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1454
1659
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1455
1660
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1456
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1457
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1458
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1459
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1661
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1662
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1663
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1664
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1460
1665
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1461
1666
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1462
1667
  };
@@ -1466,6 +1671,7 @@ export type MessageUncheckedUpdateWithoutFleetInput = {
1466
1671
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1467
1672
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1468
1673
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1674
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1469
1675
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1470
1676
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1471
1677
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1473,9 +1679,12 @@ export type MessageUncheckedUpdateWithoutFleetInput = {
1473
1679
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1474
1680
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1475
1681
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1682
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1683
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1684
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1476
1685
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1477
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1478
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1686
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1687
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1479
1688
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1480
1689
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1481
1690
  };
@@ -1485,6 +1694,7 @@ export type MessageUncheckedUpdateManyWithoutFleetInput = {
1485
1694
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1486
1695
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1487
1696
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1697
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1488
1698
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1489
1699
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1490
1700
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1492,6 +1702,9 @@ export type MessageUncheckedUpdateManyWithoutFleetInput = {
1492
1702
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1493
1703
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1494
1704
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1705
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1706
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1707
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1495
1708
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1496
1709
  };
1497
1710
  export type MessageCreateManySenderShipInput = {
@@ -1499,6 +1712,7 @@ export type MessageCreateManySenderShipInput = {
1499
1712
  selectorKind: $Enums.SelectorKind;
1500
1713
  selectorShipId?: string | null;
1501
1714
  selectorType?: string | null;
1715
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1502
1716
  payload: string;
1503
1717
  contentType: string;
1504
1718
  model?: string | null;
@@ -1506,6 +1720,9 @@ export type MessageCreateManySenderShipInput = {
1506
1720
  requestHash: string;
1507
1721
  inReplyToMessageId?: string | null;
1508
1722
  resendOfMessageId?: string | null;
1723
+ meetingId?: string | null;
1724
+ scheduleId?: string | null;
1725
+ sendTime?: Date | string | null;
1509
1726
  createdAt: Date | string;
1510
1727
  };
1511
1728
  export type MessageCreateManySelectorShipInput = {
@@ -1513,6 +1730,7 @@ export type MessageCreateManySelectorShipInput = {
1513
1730
  senderShipId: string;
1514
1731
  selectorKind: $Enums.SelectorKind;
1515
1732
  selectorType?: string | null;
1733
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1516
1734
  payload: string;
1517
1735
  contentType: string;
1518
1736
  model?: string | null;
@@ -1520,24 +1738,31 @@ export type MessageCreateManySelectorShipInput = {
1520
1738
  requestHash: string;
1521
1739
  inReplyToMessageId?: string | null;
1522
1740
  resendOfMessageId?: string | null;
1741
+ meetingId?: string | null;
1742
+ scheduleId?: string | null;
1743
+ sendTime?: Date | string | null;
1523
1744
  createdAt: Date | string;
1524
1745
  };
1525
1746
  export type MessageUpdateWithoutSenderShipInput = {
1526
1747
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1527
1748
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1528
1749
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1750
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1529
1751
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1530
1752
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1531
1753
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1532
1754
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1533
1755
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1756
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1757
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1758
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1534
1759
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1535
1760
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1536
1761
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1537
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1538
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1539
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1540
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1762
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1763
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1764
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1765
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1541
1766
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1542
1767
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1543
1768
  };
@@ -1546,6 +1771,7 @@ export type MessageUncheckedUpdateWithoutSenderShipInput = {
1546
1771
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1547
1772
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1548
1773
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1774
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1549
1775
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1550
1776
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1551
1777
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1553,9 +1779,12 @@ export type MessageUncheckedUpdateWithoutSenderShipInput = {
1553
1779
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1554
1780
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1555
1781
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1782
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1783
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1784
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1556
1785
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1557
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1558
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1786
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1787
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1559
1788
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1560
1789
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1561
1790
  };
@@ -1564,6 +1793,7 @@ export type MessageUncheckedUpdateManyWithoutSenderShipInput = {
1564
1793
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1565
1794
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1566
1795
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1796
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1567
1797
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1568
1798
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1569
1799
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1571,24 +1801,31 @@ export type MessageUncheckedUpdateManyWithoutSenderShipInput = {
1571
1801
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1572
1802
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1573
1803
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1804
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1805
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1806
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1574
1807
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1575
1808
  };
1576
1809
  export type MessageUpdateWithoutSelectorShipInput = {
1577
1810
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1578
1811
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1579
1812
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1813
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1580
1814
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1581
1815
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1582
1816
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1583
1817
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1584
1818
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1819
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1820
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1821
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1585
1822
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1586
1823
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1587
1824
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1588
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1589
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1590
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1591
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1825
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1826
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1827
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1828
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1592
1829
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1593
1830
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1594
1831
  };
@@ -1597,6 +1834,7 @@ export type MessageUncheckedUpdateWithoutSelectorShipInput = {
1597
1834
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1598
1835
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1599
1836
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1837
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1600
1838
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1601
1839
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1602
1840
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1604,9 +1842,12 @@ export type MessageUncheckedUpdateWithoutSelectorShipInput = {
1604
1842
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1605
1843
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1606
1844
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1845
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1846
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1847
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1607
1848
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1608
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1609
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1849
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1850
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1610
1851
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1611
1852
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1612
1853
  };
@@ -1615,6 +1856,7 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipInput = {
1615
1856
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1616
1857
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1617
1858
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1859
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1618
1860
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1619
1861
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1620
1862
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1622,150 +1864,185 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipInput = {
1622
1864
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1623
1865
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1624
1866
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1867
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1868
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1869
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1625
1870
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1626
1871
  };
1627
- export type MessageCreateManyInReplyToInput = {
1628
- id: string;
1629
- senderShipId: string;
1630
- selectorKind: $Enums.SelectorKind;
1631
- selectorShipId?: string | null;
1632
- selectorType?: string | null;
1633
- payload: string;
1634
- contentType: string;
1635
- model?: string | null;
1636
- idempotencyKey: string;
1637
- requestHash: string;
1638
- resendOfMessageId?: string | null;
1639
- createdAt: Date | string;
1640
- };
1641
- export type MessageCreateManyResendOfInput = {
1872
+ export type MessageCreateManyMeetingInput = {
1642
1873
  id: string;
1643
1874
  senderShipId: string;
1644
1875
  selectorKind: $Enums.SelectorKind;
1645
1876
  selectorShipId?: string | null;
1646
1877
  selectorType?: string | null;
1878
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1647
1879
  payload: string;
1648
1880
  contentType: string;
1649
1881
  model?: string | null;
1650
1882
  idempotencyKey: string;
1651
1883
  requestHash: string;
1652
1884
  inReplyToMessageId?: string | null;
1885
+ resendOfMessageId?: string | null;
1886
+ scheduleId?: string | null;
1887
+ sendTime?: Date | string | null;
1653
1888
  createdAt: Date | string;
1654
1889
  };
1655
- export type MessageUpdateWithoutInReplyToInput = {
1890
+ export type MessageUpdateWithoutMeetingInput = {
1656
1891
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1657
1892
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1658
1893
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1894
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1659
1895
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1660
1896
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1661
1897
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1662
1898
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1663
1899
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1900
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1901
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1902
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1664
1903
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1665
1904
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1666
1905
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1667
1906
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1668
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1669
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1670
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1907
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1908
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1909
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1671
1910
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1672
1911
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1673
1912
  };
1674
- export type MessageUncheckedUpdateWithoutInReplyToInput = {
1913
+ export type MessageUncheckedUpdateWithoutMeetingInput = {
1675
1914
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1676
1915
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1677
1916
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1678
1917
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1679
1918
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1919
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1680
1920
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1681
1921
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1682
1922
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1683
1923
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1684
1924
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1925
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1685
1926
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1927
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1928
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1686
1929
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1687
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1688
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1930
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1931
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1689
1932
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1690
1933
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1691
1934
  };
1692
- export type MessageUncheckedUpdateManyWithoutInReplyToInput = {
1935
+ export type MessageUncheckedUpdateManyWithoutMeetingInput = {
1693
1936
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1694
1937
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1695
1938
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1696
1939
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1697
1940
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1941
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1698
1942
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1699
1943
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1700
1944
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1701
1945
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1702
1946
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1947
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1703
1948
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1949
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1950
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1704
1951
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1705
1952
  };
1706
- export type MessageUpdateWithoutResendOfInput = {
1953
+ export type MessageCreateManyScheduleInput = {
1954
+ id: string;
1955
+ senderShipId: string;
1956
+ selectorKind: $Enums.SelectorKind;
1957
+ selectorShipId?: string | null;
1958
+ selectorType?: string | null;
1959
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1960
+ payload: string;
1961
+ contentType: string;
1962
+ model?: string | null;
1963
+ idempotencyKey: string;
1964
+ requestHash: string;
1965
+ inReplyToMessageId?: string | null;
1966
+ resendOfMessageId?: string | null;
1967
+ meetingId?: string | null;
1968
+ sendTime?: Date | string | null;
1969
+ createdAt: Date | string;
1970
+ };
1971
+ export type MessageUpdateWithoutScheduleInput = {
1707
1972
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1708
1973
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1709
1974
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1975
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1710
1976
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1711
1977
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1712
1978
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1713
1979
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1714
1980
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1981
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1982
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1983
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1715
1984
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1716
1985
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1717
1986
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1718
1987
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1719
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1720
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1721
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1988
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1989
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1990
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1722
1991
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1723
1992
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1724
1993
  };
1725
- export type MessageUncheckedUpdateWithoutResendOfInput = {
1994
+ export type MessageUncheckedUpdateWithoutScheduleInput = {
1726
1995
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1727
1996
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1728
1997
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1729
1998
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1730
1999
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2000
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1731
2001
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1732
2002
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1733
2003
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1734
2004
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1735
2005
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1736
2006
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2007
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2008
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2009
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1737
2010
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1738
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1739
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
2011
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
2012
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1740
2013
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1741
2014
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1742
2015
  };
1743
- export type MessageUncheckedUpdateManyWithoutResendOfInput = {
2016
+ export type MessageUncheckedUpdateManyWithoutScheduleInput = {
1744
2017
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1745
2018
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1746
2019
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1747
2020
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1748
2021
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2022
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1749
2023
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1750
2024
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1751
2025
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1752
2026
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1753
2027
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1754
2028
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2029
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2030
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2031
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1755
2032
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1756
2033
  };
1757
2034
  /**
1758
2035
  * Count Type MessageCountOutputType
1759
2036
  */
1760
2037
  export type MessageCountOutputType = {
1761
- replies: number;
1762
- resends: number;
2038
+ repliedToBySchedules: number;
2039
+ lastSentBySchedules: number;
1763
2040
  deliveries: number;
1764
2041
  events: number;
1765
2042
  };
1766
2043
  export type MessageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1767
- replies?: boolean | MessageCountOutputTypeCountRepliesArgs;
1768
- resends?: boolean | MessageCountOutputTypeCountResendsArgs;
2044
+ repliedToBySchedules?: boolean | MessageCountOutputTypeCountRepliedToBySchedulesArgs;
2045
+ lastSentBySchedules?: boolean | MessageCountOutputTypeCountLastSentBySchedulesArgs;
1769
2046
  deliveries?: boolean | MessageCountOutputTypeCountDeliveriesArgs;
1770
2047
  events?: boolean | MessageCountOutputTypeCountEventsArgs;
1771
2048
  };
@@ -1781,14 +2058,14 @@ export type MessageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Exte
1781
2058
  /**
1782
2059
  * MessageCountOutputType without action
1783
2060
  */
1784
- export type MessageCountOutputTypeCountRepliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1785
- where?: Prisma.MessageWhereInput;
2061
+ export type MessageCountOutputTypeCountRepliedToBySchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2062
+ where?: Prisma.ScheduleWhereInput;
1786
2063
  };
1787
2064
  /**
1788
2065
  * MessageCountOutputType without action
1789
2066
  */
1790
- export type MessageCountOutputTypeCountResendsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1791
- where?: Prisma.MessageWhereInput;
2067
+ export type MessageCountOutputTypeCountLastSentBySchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2068
+ where?: Prisma.ScheduleWhereInput;
1792
2069
  };
1793
2070
  /**
1794
2071
  * MessageCountOutputType without action
@@ -1809,6 +2086,7 @@ export type MessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1809
2086
  selectorKind?: boolean;
1810
2087
  selectorShipId?: boolean;
1811
2088
  selectorType?: boolean;
2089
+ selectorValueIds?: boolean;
1812
2090
  payload?: boolean;
1813
2091
  contentType?: boolean;
1814
2092
  model?: boolean;
@@ -1816,14 +2094,17 @@ export type MessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1816
2094
  requestHash?: boolean;
1817
2095
  inReplyToMessageId?: boolean;
1818
2096
  resendOfMessageId?: boolean;
2097
+ meetingId?: boolean;
2098
+ scheduleId?: boolean;
2099
+ sendTime?: boolean;
1819
2100
  createdAt?: boolean;
1820
2101
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
1821
2102
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
1822
2103
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
1823
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
1824
- replies?: boolean | Prisma.Message$repliesArgs<ExtArgs>;
1825
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
1826
- resends?: boolean | Prisma.Message$resendsArgs<ExtArgs>;
2104
+ meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2105
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
2106
+ repliedToBySchedules?: boolean | Prisma.Message$repliedToBySchedulesArgs<ExtArgs>;
2107
+ lastSentBySchedules?: boolean | Prisma.Message$lastSentBySchedulesArgs<ExtArgs>;
1827
2108
  deliveries?: boolean | Prisma.Message$deliveriesArgs<ExtArgs>;
1828
2109
  events?: boolean | Prisma.Message$eventsArgs<ExtArgs>;
1829
2110
  _count?: boolean | Prisma.MessageCountOutputTypeDefaultArgs<ExtArgs>;
@@ -1835,6 +2116,7 @@ export type MessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
1835
2116
  selectorKind?: boolean;
1836
2117
  selectorShipId?: boolean;
1837
2118
  selectorType?: boolean;
2119
+ selectorValueIds?: boolean;
1838
2120
  payload?: boolean;
1839
2121
  contentType?: boolean;
1840
2122
  model?: boolean;
@@ -1842,12 +2124,15 @@ export type MessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
1842
2124
  requestHash?: boolean;
1843
2125
  inReplyToMessageId?: boolean;
1844
2126
  resendOfMessageId?: boolean;
2127
+ meetingId?: boolean;
2128
+ scheduleId?: boolean;
2129
+ sendTime?: boolean;
1845
2130
  createdAt?: boolean;
1846
2131
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
1847
2132
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
1848
2133
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
1849
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
1850
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2134
+ meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2135
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
1851
2136
  }, ExtArgs["result"]["message"]>;
1852
2137
  export type MessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1853
2138
  id?: boolean;
@@ -1856,6 +2141,7 @@ export type MessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
1856
2141
  selectorKind?: boolean;
1857
2142
  selectorShipId?: boolean;
1858
2143
  selectorType?: boolean;
2144
+ selectorValueIds?: boolean;
1859
2145
  payload?: boolean;
1860
2146
  contentType?: boolean;
1861
2147
  model?: boolean;
@@ -1863,12 +2149,15 @@ export type MessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
1863
2149
  requestHash?: boolean;
1864
2150
  inReplyToMessageId?: boolean;
1865
2151
  resendOfMessageId?: boolean;
2152
+ meetingId?: boolean;
2153
+ scheduleId?: boolean;
2154
+ sendTime?: boolean;
1866
2155
  createdAt?: boolean;
1867
2156
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
1868
2157
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
1869
2158
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
1870
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
1871
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2159
+ meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2160
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
1872
2161
  }, ExtArgs["result"]["message"]>;
1873
2162
  export type MessageSelectScalar = {
1874
2163
  id?: boolean;
@@ -1877,6 +2166,7 @@ export type MessageSelectScalar = {
1877
2166
  selectorKind?: boolean;
1878
2167
  selectorShipId?: boolean;
1879
2168
  selectorType?: boolean;
2169
+ selectorValueIds?: boolean;
1880
2170
  payload?: boolean;
1881
2171
  contentType?: boolean;
1882
2172
  model?: boolean;
@@ -1884,17 +2174,20 @@ export type MessageSelectScalar = {
1884
2174
  requestHash?: boolean;
1885
2175
  inReplyToMessageId?: boolean;
1886
2176
  resendOfMessageId?: boolean;
2177
+ meetingId?: boolean;
2178
+ scheduleId?: boolean;
2179
+ sendTime?: boolean;
1887
2180
  createdAt?: boolean;
1888
2181
  };
1889
- export type MessageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "senderShipId" | "selectorKind" | "selectorShipId" | "selectorType" | "payload" | "contentType" | "model" | "idempotencyKey" | "requestHash" | "inReplyToMessageId" | "resendOfMessageId" | "createdAt", ExtArgs["result"]["message"]>;
2182
+ export type MessageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "senderShipId" | "selectorKind" | "selectorShipId" | "selectorType" | "selectorValueIds" | "payload" | "contentType" | "model" | "idempotencyKey" | "requestHash" | "inReplyToMessageId" | "resendOfMessageId" | "meetingId" | "scheduleId" | "sendTime" | "createdAt", ExtArgs["result"]["message"]>;
1890
2183
  export type MessageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1891
2184
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
1892
2185
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
1893
2186
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
1894
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
1895
- replies?: boolean | Prisma.Message$repliesArgs<ExtArgs>;
1896
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
1897
- resends?: boolean | Prisma.Message$resendsArgs<ExtArgs>;
2187
+ meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2188
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
2189
+ repliedToBySchedules?: boolean | Prisma.Message$repliedToBySchedulesArgs<ExtArgs>;
2190
+ lastSentBySchedules?: boolean | Prisma.Message$lastSentBySchedulesArgs<ExtArgs>;
1898
2191
  deliveries?: boolean | Prisma.Message$deliveriesArgs<ExtArgs>;
1899
2192
  events?: boolean | Prisma.Message$eventsArgs<ExtArgs>;
1900
2193
  _count?: boolean | Prisma.MessageCountOutputTypeDefaultArgs<ExtArgs>;
@@ -1903,15 +2196,15 @@ export type MessageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Exte
1903
2196
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
1904
2197
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
1905
2198
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
1906
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
1907
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2199
+ meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2200
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
1908
2201
  };
1909
2202
  export type MessageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1910
2203
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
1911
2204
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
1912
2205
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
1913
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
1914
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2206
+ meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2207
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
1915
2208
  };
1916
2209
  export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1917
2210
  name: "Message";
@@ -1919,10 +2212,10 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1919
2212
  fleet: Prisma.$FleetPayload<ExtArgs>;
1920
2213
  senderShip: Prisma.$ShipPayload<ExtArgs>;
1921
2214
  selectorShip: Prisma.$ShipPayload<ExtArgs> | null;
1922
- inReplyTo: Prisma.$MessagePayload<ExtArgs> | null;
1923
- replies: Prisma.$MessagePayload<ExtArgs>[];
1924
- resendOf: Prisma.$MessagePayload<ExtArgs> | null;
1925
- resends: Prisma.$MessagePayload<ExtArgs>[];
2215
+ meeting: Prisma.$MeetingPayload<ExtArgs> | null;
2216
+ schedule: Prisma.$SchedulePayload<ExtArgs> | null;
2217
+ repliedToBySchedules: Prisma.$SchedulePayload<ExtArgs>[];
2218
+ lastSentBySchedules: Prisma.$SchedulePayload<ExtArgs>[];
1926
2219
  deliveries: Prisma.$DeliveryPayload<ExtArgs>[];
1927
2220
  events: Prisma.$EventPayload<ExtArgs>[];
1928
2221
  };
@@ -1933,6 +2226,10 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1933
2226
  selectorKind: $Enums.SelectorKind;
1934
2227
  selectorShipId: string | null;
1935
2228
  selectorType: string | null;
2229
+ /**
2230
+ * The label selection a send to a label was sent to, its value ids as sent (decision 0065); none for any other selector.
2231
+ */
2232
+ selectorValueIds: string[];
1936
2233
  payload: string;
1937
2234
  contentType: string;
1938
2235
  /**
@@ -1941,8 +2238,21 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1941
2238
  model: string | null;
1942
2239
  idempotencyKey: string;
1943
2240
  requestHash: string;
2241
+ /**
2242
+ * The message it replies to and the one it resends, as written: no foreign
2243
+ * key, so a kept message may name one that is no longer kept (decision 0066).
2244
+ */
1944
2245
  inReplyToMessageId: string | null;
1945
2246
  resendOfMessageId: string | null;
2247
+ /**
2248
+ * The meeting it was sent to, or the meeting whose added notice it is (decision 0061).
2249
+ */
2250
+ meetingId: string | null;
2251
+ /**
2252
+ * The schedule it was sent for, and that send time; none on a live send (decision 0062).
2253
+ */
2254
+ scheduleId: string | null;
2255
+ sendTime: Date | null;
1946
2256
  createdAt: Date;
1947
2257
  }, ExtArgs["result"]["message"]>;
1948
2258
  composites: {};
@@ -2276,10 +2586,10 @@ export interface Prisma__MessageClient<T, Null = never, ExtArgs extends runtime.
2276
2586
  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>;
2277
2587
  senderShip<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>;
2278
2588
  selectorShip<T extends Prisma.Message$selectorShipArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$selectorShipArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2279
- inReplyTo<T extends Prisma.Message$inReplyToArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$inReplyToArgs<ExtArgs>>): Prisma.Prisma__MessageClient<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2280
- replies<T extends Prisma.Message$repliesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$repliesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2281
- resendOf<T extends Prisma.Message$resendOfArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$resendOfArgs<ExtArgs>>): Prisma.Prisma__MessageClient<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2282
- resends<T extends Prisma.Message$resendsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$resendsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2589
+ meeting<T extends Prisma.Message$meetingArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$meetingArgs<ExtArgs>>): Prisma.Prisma__MeetingClient<runtime.Types.Result.GetResult<Prisma.$MeetingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2590
+ schedule<T extends Prisma.Message$scheduleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$scheduleArgs<ExtArgs>>): Prisma.Prisma__ScheduleClient<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2591
+ repliedToBySchedules<T extends Prisma.Message$repliedToBySchedulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$repliedToBySchedulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2592
+ lastSentBySchedules<T extends Prisma.Message$lastSentBySchedulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$lastSentBySchedulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2283
2593
  deliveries<T extends Prisma.Message$deliveriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$deliveriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2284
2594
  events<T extends Prisma.Message$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2285
2595
  /**
@@ -2313,6 +2623,7 @@ export interface MessageFieldRefs {
2313
2623
  readonly selectorKind: Prisma.FieldRef<"Message", 'SelectorKind'>;
2314
2624
  readonly selectorShipId: Prisma.FieldRef<"Message", 'String'>;
2315
2625
  readonly selectorType: Prisma.FieldRef<"Message", 'String'>;
2626
+ readonly selectorValueIds: Prisma.FieldRef<"Message", 'String[]'>;
2316
2627
  readonly payload: Prisma.FieldRef<"Message", 'String'>;
2317
2628
  readonly contentType: Prisma.FieldRef<"Message", 'String'>;
2318
2629
  readonly model: Prisma.FieldRef<"Message", 'String'>;
@@ -2320,6 +2631,9 @@ export interface MessageFieldRefs {
2320
2631
  readonly requestHash: Prisma.FieldRef<"Message", 'String'>;
2321
2632
  readonly inReplyToMessageId: Prisma.FieldRef<"Message", 'String'>;
2322
2633
  readonly resendOfMessageId: Prisma.FieldRef<"Message", 'String'>;
2634
+ readonly meetingId: Prisma.FieldRef<"Message", 'String'>;
2635
+ readonly scheduleId: Prisma.FieldRef<"Message", 'String'>;
2636
+ readonly sendTime: Prisma.FieldRef<"Message", 'DateTime'>;
2323
2637
  readonly createdAt: Prisma.FieldRef<"Message", 'DateTime'>;
2324
2638
  }
2325
2639
  /**
@@ -2723,86 +3037,86 @@ export type Message$selectorShipArgs<ExtArgs extends runtime.Types.Extensions.In
2723
3037
  where?: Prisma.ShipWhereInput;
2724
3038
  };
2725
3039
  /**
2726
- * Message.inReplyTo
3040
+ * Message.meeting
2727
3041
  */
2728
- export type Message$inReplyToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3042
+ export type Message$meetingArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2729
3043
  /**
2730
- * Select specific fields to fetch from the Message
3044
+ * Select specific fields to fetch from the Meeting
2731
3045
  */
2732
- select?: Prisma.MessageSelect<ExtArgs> | null;
3046
+ select?: Prisma.MeetingSelect<ExtArgs> | null;
2733
3047
  /**
2734
- * Omit specific fields from the Message
3048
+ * Omit specific fields from the Meeting
2735
3049
  */
2736
- omit?: Prisma.MessageOmit<ExtArgs> | null;
3050
+ omit?: Prisma.MeetingOmit<ExtArgs> | null;
2737
3051
  /**
2738
3052
  * Choose, which related nodes to fetch as well
2739
3053
  */
2740
- include?: Prisma.MessageInclude<ExtArgs> | null;
2741
- where?: Prisma.MessageWhereInput;
3054
+ include?: Prisma.MeetingInclude<ExtArgs> | null;
3055
+ where?: Prisma.MeetingWhereInput;
2742
3056
  };
2743
3057
  /**
2744
- * Message.replies
3058
+ * Message.schedule
2745
3059
  */
2746
- export type Message$repliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3060
+ export type Message$scheduleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2747
3061
  /**
2748
- * Select specific fields to fetch from the Message
3062
+ * Select specific fields to fetch from the Schedule
2749
3063
  */
2750
- select?: Prisma.MessageSelect<ExtArgs> | null;
3064
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
2751
3065
  /**
2752
- * Omit specific fields from the Message
3066
+ * Omit specific fields from the Schedule
2753
3067
  */
2754
- omit?: Prisma.MessageOmit<ExtArgs> | null;
3068
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
2755
3069
  /**
2756
3070
  * Choose, which related nodes to fetch as well
2757
3071
  */
2758
- include?: Prisma.MessageInclude<ExtArgs> | null;
2759
- where?: Prisma.MessageWhereInput;
2760
- orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[];
2761
- cursor?: Prisma.MessageWhereUniqueInput;
2762
- take?: number;
2763
- skip?: number;
2764
- distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[];
3072
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3073
+ where?: Prisma.ScheduleWhereInput;
2765
3074
  };
2766
3075
  /**
2767
- * Message.resendOf
3076
+ * Message.repliedToBySchedules
2768
3077
  */
2769
- export type Message$resendOfArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3078
+ export type Message$repliedToBySchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2770
3079
  /**
2771
- * Select specific fields to fetch from the Message
3080
+ * Select specific fields to fetch from the Schedule
2772
3081
  */
2773
- select?: Prisma.MessageSelect<ExtArgs> | null;
3082
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
2774
3083
  /**
2775
- * Omit specific fields from the Message
3084
+ * Omit specific fields from the Schedule
2776
3085
  */
2777
- omit?: Prisma.MessageOmit<ExtArgs> | null;
3086
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
2778
3087
  /**
2779
3088
  * Choose, which related nodes to fetch as well
2780
3089
  */
2781
- include?: Prisma.MessageInclude<ExtArgs> | null;
2782
- where?: Prisma.MessageWhereInput;
3090
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3091
+ where?: Prisma.ScheduleWhereInput;
3092
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
3093
+ cursor?: Prisma.ScheduleWhereUniqueInput;
3094
+ take?: number;
3095
+ skip?: number;
3096
+ distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
2783
3097
  };
2784
3098
  /**
2785
- * Message.resends
3099
+ * Message.lastSentBySchedules
2786
3100
  */
2787
- export type Message$resendsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3101
+ export type Message$lastSentBySchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2788
3102
  /**
2789
- * Select specific fields to fetch from the Message
3103
+ * Select specific fields to fetch from the Schedule
2790
3104
  */
2791
- select?: Prisma.MessageSelect<ExtArgs> | null;
3105
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
2792
3106
  /**
2793
- * Omit specific fields from the Message
3107
+ * Omit specific fields from the Schedule
2794
3108
  */
2795
- omit?: Prisma.MessageOmit<ExtArgs> | null;
3109
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
2796
3110
  /**
2797
3111
  * Choose, which related nodes to fetch as well
2798
3112
  */
2799
- include?: Prisma.MessageInclude<ExtArgs> | null;
2800
- where?: Prisma.MessageWhereInput;
2801
- orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[];
2802
- cursor?: Prisma.MessageWhereUniqueInput;
3113
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3114
+ where?: Prisma.ScheduleWhereInput;
3115
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
3116
+ cursor?: Prisma.ScheduleWhereUniqueInput;
2803
3117
  take?: number;
2804
3118
  skip?: number;
2805
- distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[];
3119
+ distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
2806
3120
  };
2807
3121
  /**
2808
3122
  * Message.deliveries