@aeolus-fleet/core 0.31.0 → 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 (262) 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 +17 -3
  12. package/dist/adapters/prisma/generated/client.d.ts +17 -3
  13. package/dist/adapters/prisma/generated/commonInputTypes.d.ts +196 -46
  14. package/dist/adapters/prisma/generated/enums.d.ts +32 -0
  15. package/dist/adapters/prisma/generated/enums.js +28 -1
  16. package/dist/adapters/prisma/generated/enums.js.map +1 -1
  17. package/dist/adapters/prisma/generated/internal/class.d.ts +22 -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 +254 -1
  21. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +62 -1
  22. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  23. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +63 -0
  24. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +62 -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/Fleet.d.ts +2128 -2
  30. package/dist/adapters/prisma/generated/models/InstallationSettings.d.ts +108 -4
  31. package/dist/adapters/prisma/generated/models/Message.d.ts +557 -516
  32. package/dist/adapters/prisma/generated/models/Schedule.d.ts +3925 -0
  33. package/dist/adapters/prisma/generated/models/Schedule.js +2 -0
  34. package/dist/adapters/prisma/generated/models/Schedule.js.map +1 -0
  35. package/dist/adapters/prisma/generated/models/Ship.d.ts +736 -3
  36. package/dist/adapters/prisma/generated/models.d.ts +2 -0
  37. package/dist/adapters/prisma/history-pruner.d.ts +3 -0
  38. package/dist/adapters/prisma/history-pruner.js +232 -0
  39. package/dist/adapters/prisma/history-pruner.js.map +1 -0
  40. package/dist/adapters/prisma/history.js +67 -14
  41. package/dist/adapters/prisma/history.js.map +1 -1
  42. package/dist/adapters/prisma/installation.js +27 -8
  43. package/dist/adapters/prisma/installation.js.map +1 -1
  44. package/dist/adapters/prisma/messaging.js +7 -3
  45. package/dist/adapters/prisma/messaging.js.map +1 -1
  46. package/dist/adapters/prisma/registry.js +28 -9
  47. package/dist/adapters/prisma/registry.js.map +1 -1
  48. package/dist/adapters/prisma/rows.js +10 -1
  49. package/dist/adapters/prisma/rows.js.map +1 -1
  50. package/dist/adapters/prisma/schedules.d.ts +12 -0
  51. package/dist/adapters/prisma/schedules.js +255 -0
  52. package/dist/adapters/prisma/schedules.js.map +1 -0
  53. package/dist/adapters/prisma/unit-of-work.d.ts +7 -2
  54. package/dist/adapters/prisma/unit-of-work.js +7 -0
  55. package/dist/adapters/prisma/unit-of-work.js.map +1 -1
  56. package/dist/adapters/trpc/console.d.ts +1 -1
  57. package/dist/adapters/trpc/console.js +3 -6
  58. package/dist/adapters/trpc/console.js.map +1 -1
  59. package/dist/adapters/trpc/context.d.ts +20 -0
  60. package/dist/adapters/trpc/fleet.d.ts +210 -8
  61. package/dist/adapters/trpc/fleet.js +111 -11
  62. package/dist/adapters/trpc/fleet.js.map +1 -1
  63. package/dist/adapters/trpc/installation.d.ts +139 -4
  64. package/dist/adapters/trpc/installation.js +4 -4
  65. package/dist/adapters/trpc/installation.js.map +1 -1
  66. package/dist/adapters/trpc/router.d.ts +508 -8
  67. package/dist/adapters/trpc/schedule-output.d.ts +74 -0
  68. package/dist/adapters/trpc/schedule-output.js +71 -0
  69. package/dist/adapters/trpc/schedule-output.js.map +1 -0
  70. package/dist/adapters/trpc/ship-contract.js +7 -0
  71. package/dist/adapters/trpc/ship-contract.js.map +1 -1
  72. package/dist/adapters/trpc/ship.d.ts +188 -3
  73. package/dist/adapters/trpc/ship.js +105 -11
  74. package/dist/adapters/trpc/ship.js.map +1 -1
  75. package/dist/adapters/trpc/starting-prompt-text.js +5 -5
  76. package/dist/adapters/trpc/starting-prompt-text.js.map +1 -1
  77. package/dist/adapters/trpc/trpc.d.ts +8 -0
  78. package/dist/adapters/trpc/trpc.js +19 -2
  79. package/dist/adapters/trpc/trpc.js.map +1 -1
  80. package/dist/app.d.ts +5 -3
  81. package/dist/app.js +30 -4
  82. package/dist/app.js.map +1 -1
  83. package/dist/domain/messaging/add-to-meeting.js +1 -1
  84. package/dist/domain/messaging/add-to-meeting.js.map +1 -1
  85. package/dist/domain/messaging/cancel-schedule.d.ts +35 -0
  86. package/dist/domain/messaging/cancel-schedule.js +45 -0
  87. package/dist/domain/messaging/cancel-schedule.js.map +1 -0
  88. package/dist/domain/messaging/check-reach-to-each.d.ts +25 -0
  89. package/dist/domain/messaging/check-reach-to-each.js +21 -0
  90. package/dist/domain/messaging/check-reach-to-each.js.map +1 -0
  91. package/dist/domain/messaging/cron.d.ts +46 -0
  92. package/dist/domain/messaging/cron.js +164 -0
  93. package/dist/domain/messaging/cron.js.map +1 -0
  94. package/dist/domain/messaging/daily-message-limit.d.ts +7 -5
  95. package/dist/domain/messaging/daily-message-limit.js +8 -7
  96. package/dist/domain/messaging/daily-message-limit.js.map +1 -1
  97. package/dist/domain/messaging/list-schedules.d.ts +38 -0
  98. package/dist/domain/messaging/list-schedules.js +33 -0
  99. package/dist/domain/messaging/list-schedules.js.map +1 -0
  100. package/dist/domain/messaging/message.d.ts +43 -4
  101. package/dist/domain/messaging/message.js +82 -4
  102. package/dist/domain/messaging/message.js.map +1 -1
  103. package/dist/domain/messaging/open-meeting.js +1 -1
  104. package/dist/domain/messaging/open-meeting.js.map +1 -1
  105. package/dist/domain/messaging/pause-schedule.d.ts +34 -0
  106. package/dist/domain/messaging/pause-schedule.js +44 -0
  107. package/dist/domain/messaging/pause-schedule.js.map +1 -0
  108. package/dist/domain/messaging/ports.d.ts +77 -3
  109. package/dist/domain/messaging/public.d.ts +1 -0
  110. package/dist/domain/messaging/public.js +1 -0
  111. package/dist/domain/messaging/public.js.map +1 -1
  112. package/dist/domain/messaging/push-receive-deliveries.d.ts +4 -1
  113. package/dist/domain/messaging/push-receive-deliveries.js +5 -2
  114. package/dist/domain/messaging/push-receive-deliveries.js.map +1 -1
  115. package/dist/domain/messaging/receive-deliveries.d.ts +4 -1
  116. package/dist/domain/messaging/receive-deliveries.js +2 -0
  117. package/dist/domain/messaging/receive-deliveries.js.map +1 -1
  118. package/dist/domain/messaging/resend-delivery.js +2 -2
  119. package/dist/domain/messaging/resend-delivery.js.map +1 -1
  120. package/dist/domain/messaging/resume-schedule.d.ts +34 -0
  121. package/dist/domain/messaging/resume-schedule.js +37 -0
  122. package/dist/domain/messaging/resume-schedule.js.map +1 -0
  123. package/dist/domain/messaging/retired-scheduler.d.ts +31 -0
  124. package/dist/domain/messaging/retired-scheduler.js +30 -0
  125. package/dist/domain/messaging/retired-scheduler.js.map +1 -0
  126. package/dist/domain/messaging/schedule-access.d.ts +20 -0
  127. package/dist/domain/messaging/schedule-access.js +21 -0
  128. package/dist/domain/messaging/schedule-access.js.map +1 -0
  129. package/dist/domain/messaging/schedule-limits.d.ts +25 -0
  130. package/dist/domain/messaging/schedule-limits.js +51 -0
  131. package/dist/domain/messaging/schedule-limits.js.map +1 -0
  132. package/dist/domain/messaging/schedule-message.d.ts +65 -0
  133. package/dist/domain/messaging/schedule-message.js +151 -0
  134. package/dist/domain/messaging/schedule-message.js.map +1 -0
  135. package/dist/domain/messaging/schedule.d.ts +238 -0
  136. package/dist/domain/messaging/schedule.js +316 -0
  137. package/dist/domain/messaging/schedule.js.map +1 -0
  138. package/dist/domain/messaging/send-due-schedules.d.ts +40 -0
  139. package/dist/domain/messaging/send-due-schedules.js +141 -0
  140. package/dist/domain/messaging/send-due-schedules.js.map +1 -0
  141. package/dist/domain/messaging/send-message.d.ts +10 -3
  142. package/dist/domain/messaging/send-message.js +78 -4
  143. package/dist/domain/messaging/send-message.js.map +1 -1
  144. package/dist/domain/messaging/send-request.d.ts +3 -2
  145. package/dist/domain/messaging/send-request.js +5 -2
  146. package/dist/domain/messaging/send-request.js.map +1 -1
  147. package/dist/domain/registry/applied-limits.d.ts +5 -7
  148. package/dist/domain/registry/applied-limits.js +5 -9
  149. package/dist/domain/registry/applied-limits.js.map +1 -1
  150. package/dist/domain/registry/check-manage.d.ts +23 -0
  151. package/dist/domain/registry/check-manage.js +19 -0
  152. package/dist/domain/registry/check-manage.js.map +1 -0
  153. package/dist/domain/registry/commission-ship.js +3 -3
  154. package/dist/domain/registry/commission-ship.js.map +1 -1
  155. package/dist/domain/registry/declare-scopes.d.ts +5 -3
  156. package/dist/domain/registry/declare-scopes.js +4 -2
  157. package/dist/domain/registry/declare-scopes.js.map +1 -1
  158. package/dist/domain/registry/define-scope.d.ts +33 -0
  159. package/dist/domain/registry/define-scope.js +30 -0
  160. package/dist/domain/registry/define-scope.js.map +1 -0
  161. package/dist/domain/registry/defined-scope.d.ts +68 -0
  162. package/dist/domain/registry/defined-scope.js +83 -0
  163. package/dist/domain/registry/defined-scope.js.map +1 -0
  164. package/dist/domain/registry/describe-scope.d.ts +31 -0
  165. package/dist/domain/registry/describe-scope.js +28 -0
  166. package/dist/domain/registry/describe-scope.js.map +1 -0
  167. package/dist/domain/registry/get-fleet-limits.d.ts +1 -1
  168. package/dist/domain/registry/get-fleet-limits.js +1 -1
  169. package/dist/domain/registry/get-fleet-limits.js.map +1 -1
  170. package/dist/domain/registry/grant-scopes.d.ts +4 -3
  171. package/dist/domain/registry/grant-scopes.js +4 -4
  172. package/dist/domain/registry/grant-scopes.js.map +1 -1
  173. package/dist/domain/registry/installation-fleet.d.ts +4 -1
  174. package/dist/domain/registry/installation-fleet.js +9 -2
  175. package/dist/domain/registry/installation-fleet.js.map +1 -1
  176. package/dist/domain/registry/label-value-texts.d.ts +16 -0
  177. package/dist/domain/registry/label-value-texts.js +15 -0
  178. package/dist/domain/registry/label-value-texts.js.map +1 -0
  179. package/dist/domain/registry/limits.d.ts +42 -7
  180. package/dist/domain/registry/limits.js +41 -6
  181. package/dist/domain/registry/limits.js.map +1 -1
  182. package/dist/domain/registry/list-scopes.d.ts +13 -6
  183. package/dist/domain/registry/list-scopes.js +15 -6
  184. package/dist/domain/registry/list-scopes.js.map +1 -1
  185. package/dist/domain/registry/named-namespaces.d.ts +18 -8
  186. package/dist/domain/registry/named-namespaces.js +11 -3
  187. package/dist/domain/registry/named-namespaces.js.map +1 -1
  188. package/dist/domain/registry/ports.d.ts +20 -0
  189. package/dist/domain/registry/public.d.ts +2 -0
  190. package/dist/domain/registry/public.js +2 -0
  191. package/dist/domain/registry/public.js.map +1 -1
  192. package/dist/domain/registry/remove-scope.d.ts +29 -0
  193. package/dist/domain/registry/remove-scope.js +32 -0
  194. package/dist/domain/registry/remove-scope.js.map +1 -0
  195. package/dist/domain/registry/resolve-label-selection.d.ts +20 -0
  196. package/dist/domain/registry/resolve-label-selection.js +26 -0
  197. package/dist/domain/registry/resolve-label-selection.js.map +1 -0
  198. package/dist/domain/registry/retire-ship.d.ts +5 -2
  199. package/dist/domain/registry/retire-ship.js +6 -1
  200. package/dist/domain/registry/retire-ship.js.map +1 -1
  201. package/dist/domain/registry/scope-grant.d.ts +6 -2
  202. package/dist/domain/registry/scope-grant.js +9 -5
  203. package/dist/domain/registry/scope-grant.js.map +1 -1
  204. package/dist/domain/registry/scope-namespace.d.ts +5 -1
  205. package/dist/domain/registry/scope-namespace.js +9 -2
  206. package/dist/domain/registry/scope-namespace.js.map +1 -1
  207. package/dist/domain/registry/set-fleet-limits.d.ts +8 -5
  208. package/dist/domain/registry/set-fleet-limits.js +38 -6
  209. package/dist/domain/registry/set-fleet-limits.js.map +1 -1
  210. package/dist/domain/registry/set-installation-settings.d.ts +4 -4
  211. package/dist/domain/registry/set-installation-settings.js +21 -15
  212. package/dist/domain/registry/set-installation-settings.js.map +1 -1
  213. package/dist/domain/registry/ship.d.ts +2 -0
  214. package/dist/domain/registry/ship.js +1 -1
  215. package/dist/domain/registry/ship.js.map +1 -1
  216. package/dist/domain/shared/delivery-way.d.ts +4 -0
  217. package/dist/domain/shared/delivery-way.js +5 -2
  218. package/dist/domain/shared/delivery-way.js.map +1 -1
  219. package/dist/domain/shared/errors.d.ts +1 -1
  220. package/dist/domain/shared/errors.js.map +1 -1
  221. package/dist/domain/shared/history-pruning.d.ts +130 -0
  222. package/dist/domain/shared/history-pruning.js +74 -0
  223. package/dist/domain/shared/history-pruning.js.map +1 -0
  224. package/dist/domain/shared/history.d.ts +33 -5
  225. package/dist/domain/shared/history.js +3 -1
  226. package/dist/domain/shared/history.js.map +1 -1
  227. package/dist/domain/shared/prune-history.d.ts +39 -0
  228. package/dist/domain/shared/prune-history.js +98 -0
  229. package/dist/domain/shared/prune-history.js.map +1 -0
  230. package/dist/domain/shared/read-fleet-limits.d.ts +14 -4
  231. package/dist/domain/shared/read-fleet-limits.js +8 -4
  232. package/dist/domain/shared/read-fleet-limits.js.map +1 -1
  233. package/dist/domain/shared/read-message-deliveries.d.ts +30 -0
  234. package/dist/domain/shared/read-message-deliveries.js +24 -0
  235. package/dist/domain/shared/read-message-deliveries.js.map +1 -0
  236. package/dist/domain/shared/read-message.d.ts +4 -1
  237. package/dist/domain/shared/read-message.js +3 -2
  238. package/dist/domain/shared/read-message.js.map +1 -1
  239. package/dist/domain/shared/read-sent-message.d.ts +21 -7
  240. package/dist/domain/shared/read-sent-message.js +19 -6
  241. package/dist/domain/shared/read-sent-message.js.map +1 -1
  242. package/dist/domain/shared/selector.d.ts +21 -8
  243. package/dist/schedule-timer.d.ts +22 -0
  244. package/dist/schedule-timer.js +78 -0
  245. package/dist/schedule-timer.js.map +1 -0
  246. package/dist/wiring.d.ts +26 -0
  247. package/dist/wiring.js +27 -1
  248. package/dist/wiring.js.map +1 -1
  249. package/package.json +2 -2
  250. package/src/adapters/prisma/migrations/20261025090000_scheduled_messages_envelope/migration.sql +5 -0
  251. package/src/adapters/prisma/migrations/20261025090100_schedules/migration.sql +109 -0
  252. package/src/adapters/prisma/migrations/20261025120000_repeating_schedules/migration.sql +40 -0
  253. package/src/adapters/prisma/migrations/20261025130000_schedule_limits/migration.sql +11 -0
  254. package/src/adapters/prisma/migrations/20261025140000_send_to_a_label/migration.sql +16 -0
  255. package/src/adapters/prisma/migrations/20261025150000_define_scope/migration.sql +64 -0
  256. package/src/adapters/prisma/migrations/20261025150100_defined_scopes/migration.sql +15 -0
  257. package/src/adapters/prisma/migrations/20261025160000_retention/migration.sql +7 -0
  258. package/src/adapters/prisma/migrations/20261025170000_message_deliveries_page/migration.sql +7 -0
  259. package/src/adapters/prisma/migrations/20261025180000_history_pruning/migration.sql +25 -0
  260. package/src/adapters/prisma/migrations/20261025190000_history_pruning_crew_events/migration.sql +2 -0
  261. package/src/adapters/prisma/migrations/20261025200000_schedule_to_a_label/migration.sql +12 -0
  262. package/src/adapters/prisma/schema.prisma +179 -26
@@ -29,6 +29,8 @@ export type MessageMinAggregateOutputType = {
29
29
  inReplyToMessageId: string | null;
30
30
  resendOfMessageId: string | null;
31
31
  meetingId: string | null;
32
+ scheduleId: string | null;
33
+ sendTime: Date | null;
32
34
  createdAt: Date | null;
33
35
  };
34
36
  export type MessageMaxAggregateOutputType = {
@@ -46,6 +48,8 @@ export type MessageMaxAggregateOutputType = {
46
48
  inReplyToMessageId: string | null;
47
49
  resendOfMessageId: string | null;
48
50
  meetingId: string | null;
51
+ scheduleId: string | null;
52
+ sendTime: Date | null;
49
53
  createdAt: Date | null;
50
54
  };
51
55
  export type MessageCountAggregateOutputType = {
@@ -55,6 +59,7 @@ export type MessageCountAggregateOutputType = {
55
59
  selectorKind: number;
56
60
  selectorShipId: number;
57
61
  selectorType: number;
62
+ selectorValueIds: number;
58
63
  payload: number;
59
64
  contentType: number;
60
65
  model: number;
@@ -63,6 +68,8 @@ export type MessageCountAggregateOutputType = {
63
68
  inReplyToMessageId: number;
64
69
  resendOfMessageId: number;
65
70
  meetingId: number;
71
+ scheduleId: number;
72
+ sendTime: number;
66
73
  createdAt: number;
67
74
  _all: number;
68
75
  };
@@ -81,6 +88,8 @@ export type MessageMinAggregateInputType = {
81
88
  inReplyToMessageId?: true;
82
89
  resendOfMessageId?: true;
83
90
  meetingId?: true;
91
+ scheduleId?: true;
92
+ sendTime?: true;
84
93
  createdAt?: true;
85
94
  };
86
95
  export type MessageMaxAggregateInputType = {
@@ -98,6 +107,8 @@ export type MessageMaxAggregateInputType = {
98
107
  inReplyToMessageId?: true;
99
108
  resendOfMessageId?: true;
100
109
  meetingId?: true;
110
+ scheduleId?: true;
111
+ sendTime?: true;
101
112
  createdAt?: true;
102
113
  };
103
114
  export type MessageCountAggregateInputType = {
@@ -107,6 +118,7 @@ export type MessageCountAggregateInputType = {
107
118
  selectorKind?: true;
108
119
  selectorShipId?: true;
109
120
  selectorType?: true;
121
+ selectorValueIds?: true;
110
122
  payload?: true;
111
123
  contentType?: true;
112
124
  model?: true;
@@ -115,6 +127,8 @@ export type MessageCountAggregateInputType = {
115
127
  inReplyToMessageId?: true;
116
128
  resendOfMessageId?: true;
117
129
  meetingId?: true;
130
+ scheduleId?: true;
131
+ sendTime?: true;
118
132
  createdAt?: true;
119
133
  _all?: true;
120
134
  };
@@ -187,6 +201,7 @@ export type MessageGroupByOutputType = {
187
201
  selectorKind: $Enums.SelectorKind;
188
202
  selectorShipId: string | null;
189
203
  selectorType: string | null;
204
+ selectorValueIds: string[];
190
205
  payload: string;
191
206
  contentType: string;
192
207
  model: string | null;
@@ -195,6 +210,8 @@ export type MessageGroupByOutputType = {
195
210
  inReplyToMessageId: string | null;
196
211
  resendOfMessageId: string | null;
197
212
  meetingId: string | null;
213
+ scheduleId: string | null;
214
+ sendTime: Date | null;
198
215
  createdAt: Date;
199
216
  _count: MessageCountAggregateOutputType | null;
200
217
  _min: MessageMinAggregateOutputType | null;
@@ -213,6 +230,7 @@ export type MessageWhereInput = {
213
230
  selectorKind?: Prisma.EnumSelectorKindFilter<"Message"> | $Enums.SelectorKind;
214
231
  selectorShipId?: Prisma.StringNullableFilter<"Message"> | string | null;
215
232
  selectorType?: Prisma.StringNullableFilter<"Message"> | string | null;
233
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
216
234
  payload?: Prisma.StringFilter<"Message"> | string;
217
235
  contentType?: Prisma.StringFilter<"Message"> | string;
218
236
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
@@ -221,15 +239,16 @@ export type MessageWhereInput = {
221
239
  inReplyToMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
222
240
  resendOfMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
223
241
  meetingId?: Prisma.StringNullableFilter<"Message"> | string | null;
242
+ scheduleId?: Prisma.StringNullableFilter<"Message"> | string | null;
243
+ sendTime?: Prisma.DateTimeNullableFilter<"Message"> | Date | string | null;
224
244
  createdAt?: Prisma.DateTimeFilter<"Message"> | Date | string;
225
245
  fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
226
246
  senderShip?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
227
247
  selectorShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
228
- inReplyTo?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
229
- replies?: Prisma.MessageListRelationFilter;
230
- resendOf?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
231
- resends?: Prisma.MessageListRelationFilter;
232
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;
233
252
  deliveries?: Prisma.DeliveryListRelationFilter;
234
253
  events?: Prisma.EventListRelationFilter;
235
254
  };
@@ -240,6 +259,7 @@ export type MessageOrderByWithRelationInput = {
240
259
  selectorKind?: Prisma.SortOrder;
241
260
  selectorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
242
261
  selectorType?: Prisma.SortOrderInput | Prisma.SortOrder;
262
+ selectorValueIds?: Prisma.SortOrder;
243
263
  payload?: Prisma.SortOrder;
244
264
  contentType?: Prisma.SortOrder;
245
265
  model?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -248,15 +268,16 @@ export type MessageOrderByWithRelationInput = {
248
268
  inReplyToMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
249
269
  resendOfMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
250
270
  meetingId?: Prisma.SortOrderInput | Prisma.SortOrder;
271
+ scheduleId?: Prisma.SortOrderInput | Prisma.SortOrder;
272
+ sendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
251
273
  createdAt?: Prisma.SortOrder;
252
274
  fleet?: Prisma.FleetOrderByWithRelationInput;
253
275
  senderShip?: Prisma.ShipOrderByWithRelationInput;
254
276
  selectorShip?: Prisma.ShipOrderByWithRelationInput;
255
- inReplyTo?: Prisma.MessageOrderByWithRelationInput;
256
- replies?: Prisma.MessageOrderByRelationAggregateInput;
257
- resendOf?: Prisma.MessageOrderByWithRelationInput;
258
- resends?: Prisma.MessageOrderByRelationAggregateInput;
259
277
  meeting?: Prisma.MeetingOrderByWithRelationInput;
278
+ schedule?: Prisma.ScheduleOrderByWithRelationInput;
279
+ repliedToBySchedules?: Prisma.ScheduleOrderByRelationAggregateInput;
280
+ lastSentBySchedules?: Prisma.ScheduleOrderByRelationAggregateInput;
260
281
  deliveries?: Prisma.DeliveryOrderByRelationAggregateInput;
261
282
  events?: Prisma.EventOrderByRelationAggregateInput;
262
283
  };
@@ -272,6 +293,7 @@ export type MessageWhereUniqueInput = Prisma.AtLeast<{
272
293
  selectorKind?: Prisma.EnumSelectorKindFilter<"Message"> | $Enums.SelectorKind;
273
294
  selectorShipId?: Prisma.StringNullableFilter<"Message"> | string | null;
274
295
  selectorType?: Prisma.StringNullableFilter<"Message"> | string | null;
296
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
275
297
  payload?: Prisma.StringFilter<"Message"> | string;
276
298
  contentType?: Prisma.StringFilter<"Message"> | string;
277
299
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
@@ -280,15 +302,16 @@ export type MessageWhereUniqueInput = Prisma.AtLeast<{
280
302
  inReplyToMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
281
303
  resendOfMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
282
304
  meetingId?: Prisma.StringNullableFilter<"Message"> | string | null;
305
+ scheduleId?: Prisma.StringNullableFilter<"Message"> | string | null;
306
+ sendTime?: Prisma.DateTimeNullableFilter<"Message"> | Date | string | null;
283
307
  createdAt?: Prisma.DateTimeFilter<"Message"> | Date | string;
284
308
  fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
285
309
  senderShip?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
286
310
  selectorShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
287
- inReplyTo?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
288
- replies?: Prisma.MessageListRelationFilter;
289
- resendOf?: Prisma.XOR<Prisma.MessageNullableScalarRelationFilter, Prisma.MessageWhereInput> | null;
290
- resends?: Prisma.MessageListRelationFilter;
291
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;
292
315
  deliveries?: Prisma.DeliveryListRelationFilter;
293
316
  events?: Prisma.EventListRelationFilter;
294
317
  }, "id" | "fleetId_id" | "fleetId_senderShipId_idempotencyKey">;
@@ -299,6 +322,7 @@ export type MessageOrderByWithAggregationInput = {
299
322
  selectorKind?: Prisma.SortOrder;
300
323
  selectorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
301
324
  selectorType?: Prisma.SortOrderInput | Prisma.SortOrder;
325
+ selectorValueIds?: Prisma.SortOrder;
302
326
  payload?: Prisma.SortOrder;
303
327
  contentType?: Prisma.SortOrder;
304
328
  model?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -307,6 +331,8 @@ export type MessageOrderByWithAggregationInput = {
307
331
  inReplyToMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
308
332
  resendOfMessageId?: Prisma.SortOrderInput | Prisma.SortOrder;
309
333
  meetingId?: Prisma.SortOrderInput | Prisma.SortOrder;
334
+ scheduleId?: Prisma.SortOrderInput | Prisma.SortOrder;
335
+ sendTime?: Prisma.SortOrderInput | Prisma.SortOrder;
310
336
  createdAt?: Prisma.SortOrder;
311
337
  _count?: Prisma.MessageCountOrderByAggregateInput;
312
338
  _max?: Prisma.MessageMaxOrderByAggregateInput;
@@ -322,6 +348,7 @@ export type MessageScalarWhereWithAggregatesInput = {
322
348
  selectorKind?: Prisma.EnumSelectorKindWithAggregatesFilter<"Message"> | $Enums.SelectorKind;
323
349
  selectorShipId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
324
350
  selectorType?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
351
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
325
352
  payload?: Prisma.StringWithAggregatesFilter<"Message"> | string;
326
353
  contentType?: Prisma.StringWithAggregatesFilter<"Message"> | string;
327
354
  model?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
@@ -330,26 +357,31 @@ export type MessageScalarWhereWithAggregatesInput = {
330
357
  inReplyToMessageId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
331
358
  resendOfMessageId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
332
359
  meetingId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
360
+ scheduleId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
361
+ sendTime?: Prisma.DateTimeNullableWithAggregatesFilter<"Message"> | Date | string | null;
333
362
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Message"> | Date | string;
334
363
  };
335
364
  export type MessageCreateInput = {
336
365
  id: string;
337
366
  selectorKind: $Enums.SelectorKind;
338
367
  selectorType?: string | null;
368
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
339
369
  payload: string;
340
370
  contentType: string;
341
371
  model?: string | null;
342
372
  idempotencyKey: string;
343
373
  requestHash: string;
374
+ inReplyToMessageId?: string | null;
375
+ resendOfMessageId?: string | null;
376
+ sendTime?: Date | string | null;
344
377
  createdAt: Date | string;
345
378
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
346
379
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
347
380
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
348
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
349
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
350
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
351
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
352
381
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
382
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
383
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
384
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
353
385
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
354
386
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
355
387
  };
@@ -360,6 +392,7 @@ export type MessageUncheckedCreateInput = {
360
392
  selectorKind: $Enums.SelectorKind;
361
393
  selectorShipId?: string | null;
362
394
  selectorType?: string | null;
395
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
363
396
  payload: string;
364
397
  contentType: string;
365
398
  model?: string | null;
@@ -368,9 +401,11 @@ export type MessageUncheckedCreateInput = {
368
401
  inReplyToMessageId?: string | null;
369
402
  resendOfMessageId?: string | null;
370
403
  meetingId?: string | null;
404
+ scheduleId?: string | null;
405
+ sendTime?: Date | string | null;
371
406
  createdAt: Date | string;
372
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
373
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
407
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
408
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
374
409
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
375
410
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
376
411
  };
@@ -378,20 +413,23 @@ export type MessageUpdateInput = {
378
413
  id?: Prisma.StringFieldUpdateOperationsInput | string;
379
414
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
380
415
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
416
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
381
417
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
382
418
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
383
419
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
384
420
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
385
421
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
422
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
423
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
424
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
386
425
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
387
426
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
388
427
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
389
428
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
390
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
391
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
392
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
393
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
394
429
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
430
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
431
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
432
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
395
433
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
396
434
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
397
435
  };
@@ -402,6 +440,7 @@ export type MessageUncheckedUpdateInput = {
402
440
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
403
441
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
404
442
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
443
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
405
444
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
406
445
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
407
446
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -410,9 +449,11 @@ export type MessageUncheckedUpdateInput = {
410
449
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
411
450
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
412
451
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
452
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
453
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
413
454
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
414
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
415
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
455
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
456
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
416
457
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
417
458
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
418
459
  };
@@ -423,6 +464,7 @@ export type MessageCreateManyInput = {
423
464
  selectorKind: $Enums.SelectorKind;
424
465
  selectorShipId?: string | null;
425
466
  selectorType?: string | null;
467
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
426
468
  payload: string;
427
469
  contentType: string;
428
470
  model?: string | null;
@@ -431,17 +473,23 @@ export type MessageCreateManyInput = {
431
473
  inReplyToMessageId?: string | null;
432
474
  resendOfMessageId?: string | null;
433
475
  meetingId?: string | null;
476
+ scheduleId?: string | null;
477
+ sendTime?: Date | string | null;
434
478
  createdAt: Date | string;
435
479
  };
436
480
  export type MessageUpdateManyMutationInput = {
437
481
  id?: Prisma.StringFieldUpdateOperationsInput | string;
438
482
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
439
483
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
484
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
440
485
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
441
486
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
442
487
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
443
488
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
444
489
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
490
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
491
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
492
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
445
493
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
446
494
  };
447
495
  export type MessageUncheckedUpdateManyInput = {
@@ -451,6 +499,7 @@ export type MessageUncheckedUpdateManyInput = {
451
499
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
452
500
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
453
501
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
502
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
454
503
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
455
504
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
456
505
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -459,6 +508,8 @@ export type MessageUncheckedUpdateManyInput = {
459
508
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
460
509
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
461
510
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
511
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
512
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
462
513
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
463
514
  };
464
515
  export type MessageListRelationFilter = {
@@ -469,10 +520,6 @@ export type MessageListRelationFilter = {
469
520
  export type MessageOrderByRelationAggregateInput = {
470
521
  _count?: Prisma.SortOrder;
471
522
  };
472
- export type MessageNullableScalarRelationFilter = {
473
- is?: Prisma.MessageWhereInput | null;
474
- isNot?: Prisma.MessageWhereInput | null;
475
- };
476
523
  export type MessageFleetIdIdCompoundUniqueInput = {
477
524
  fleetId: string;
478
525
  id: string;
@@ -489,6 +536,7 @@ export type MessageCountOrderByAggregateInput = {
489
536
  selectorKind?: Prisma.SortOrder;
490
537
  selectorShipId?: Prisma.SortOrder;
491
538
  selectorType?: Prisma.SortOrder;
539
+ selectorValueIds?: Prisma.SortOrder;
492
540
  payload?: Prisma.SortOrder;
493
541
  contentType?: Prisma.SortOrder;
494
542
  model?: Prisma.SortOrder;
@@ -497,6 +545,8 @@ export type MessageCountOrderByAggregateInput = {
497
545
  inReplyToMessageId?: Prisma.SortOrder;
498
546
  resendOfMessageId?: Prisma.SortOrder;
499
547
  meetingId?: Prisma.SortOrder;
548
+ scheduleId?: Prisma.SortOrder;
549
+ sendTime?: Prisma.SortOrder;
500
550
  createdAt?: Prisma.SortOrder;
501
551
  };
502
552
  export type MessageMaxOrderByAggregateInput = {
@@ -514,6 +564,8 @@ export type MessageMaxOrderByAggregateInput = {
514
564
  inReplyToMessageId?: Prisma.SortOrder;
515
565
  resendOfMessageId?: Prisma.SortOrder;
516
566
  meetingId?: Prisma.SortOrder;
567
+ scheduleId?: Prisma.SortOrder;
568
+ sendTime?: Prisma.SortOrder;
517
569
  createdAt?: Prisma.SortOrder;
518
570
  };
519
571
  export type MessageMinOrderByAggregateInput = {
@@ -531,8 +583,14 @@ export type MessageMinOrderByAggregateInput = {
531
583
  inReplyToMessageId?: Prisma.SortOrder;
532
584
  resendOfMessageId?: Prisma.SortOrder;
533
585
  meetingId?: Prisma.SortOrder;
586
+ scheduleId?: Prisma.SortOrder;
587
+ sendTime?: Prisma.SortOrder;
534
588
  createdAt?: Prisma.SortOrder;
535
589
  };
590
+ export type MessageNullableScalarRelationFilter = {
591
+ is?: Prisma.MessageWhereInput | null;
592
+ isNot?: Prisma.MessageWhereInput | null;
593
+ };
536
594
  export type MessageScalarRelationFilter = {
537
595
  is?: Prisma.MessageWhereInput;
538
596
  isNot?: Prisma.MessageWhereInput;
@@ -651,112 +709,15 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipNestedInput = {
651
709
  updateMany?: Prisma.MessageUpdateManyWithWhereWithoutSelectorShipInput | Prisma.MessageUpdateManyWithWhereWithoutSelectorShipInput[];
652
710
  deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
653
711
  };
654
- export type MessageCreateNestedOneWithoutRepliesInput = {
655
- create?: Prisma.XOR<Prisma.MessageCreateWithoutRepliesInput, Prisma.MessageUncheckedCreateWithoutRepliesInput>;
656
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutRepliesInput;
657
- connect?: Prisma.MessageWhereUniqueInput;
658
- };
659
- export type MessageCreateNestedManyWithoutInReplyToInput = {
660
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
661
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
662
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
663
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
664
- };
665
- export type MessageCreateNestedOneWithoutResendsInput = {
666
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendsInput, Prisma.MessageUncheckedCreateWithoutResendsInput>;
667
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendsInput;
668
- connect?: Prisma.MessageWhereUniqueInput;
669
- };
670
- export type MessageCreateNestedManyWithoutResendOfInput = {
671
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
672
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
673
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
674
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
675
- };
676
- export type MessageUncheckedCreateNestedManyWithoutInReplyToInput = {
677
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
678
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
679
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
680
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
681
- };
682
- export type MessageUncheckedCreateNestedManyWithoutResendOfInput = {
683
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
684
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
685
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
686
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
712
+ export type MessageCreateselectorValueIdsInput = {
713
+ set: string[];
687
714
  };
688
715
  export type EnumSelectorKindFieldUpdateOperationsInput = {
689
716
  set?: $Enums.SelectorKind;
690
717
  };
691
- export type MessageUpdateOneWithoutRepliesNestedInput = {
692
- create?: Prisma.XOR<Prisma.MessageCreateWithoutRepliesInput, Prisma.MessageUncheckedCreateWithoutRepliesInput>;
693
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutRepliesInput;
694
- upsert?: Prisma.MessageUpsertWithoutRepliesInput;
695
- disconnect?: Prisma.MessageWhereInput | boolean;
696
- delete?: Prisma.MessageWhereInput | boolean;
697
- connect?: Prisma.MessageWhereUniqueInput;
698
- update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutRepliesInput, Prisma.MessageUpdateWithoutRepliesInput>, Prisma.MessageUncheckedUpdateWithoutRepliesInput>;
699
- };
700
- export type MessageUpdateManyWithoutInReplyToNestedInput = {
701
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
702
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
703
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput[];
704
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
705
- set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
706
- disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
707
- delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
708
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
709
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput[];
710
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput | Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput[];
711
- deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
712
- };
713
- export type MessageUpdateOneWithoutResendsNestedInput = {
714
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendsInput, Prisma.MessageUncheckedCreateWithoutResendsInput>;
715
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendsInput;
716
- upsert?: Prisma.MessageUpsertWithoutResendsInput;
717
- disconnect?: Prisma.MessageWhereInput | boolean;
718
- delete?: Prisma.MessageWhereInput | boolean;
719
- connect?: Prisma.MessageWhereUniqueInput;
720
- update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutResendsInput, Prisma.MessageUpdateWithoutResendsInput>, Prisma.MessageUncheckedUpdateWithoutResendsInput>;
721
- };
722
- export type MessageUpdateManyWithoutResendOfNestedInput = {
723
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
724
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
725
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput[];
726
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
727
- set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
728
- disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
729
- delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
730
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
731
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput[];
732
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutResendOfInput | Prisma.MessageUpdateManyWithWhereWithoutResendOfInput[];
733
- deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
734
- };
735
- export type MessageUncheckedUpdateManyWithoutInReplyToNestedInput = {
736
- create?: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput> | Prisma.MessageCreateWithoutInReplyToInput[] | Prisma.MessageUncheckedCreateWithoutInReplyToInput[];
737
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutInReplyToInput | Prisma.MessageCreateOrConnectWithoutInReplyToInput[];
738
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpsertWithWhereUniqueWithoutInReplyToInput[];
739
- createMany?: Prisma.MessageCreateManyInReplyToInputEnvelope;
740
- set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
741
- disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
742
- delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
743
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
744
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput | Prisma.MessageUpdateWithWhereUniqueWithoutInReplyToInput[];
745
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput | Prisma.MessageUpdateManyWithWhereWithoutInReplyToInput[];
746
- deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
747
- };
748
- export type MessageUncheckedUpdateManyWithoutResendOfNestedInput = {
749
- create?: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput> | Prisma.MessageCreateWithoutResendOfInput[] | Prisma.MessageUncheckedCreateWithoutResendOfInput[];
750
- connectOrCreate?: Prisma.MessageCreateOrConnectWithoutResendOfInput | Prisma.MessageCreateOrConnectWithoutResendOfInput[];
751
- upsert?: Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpsertWithWhereUniqueWithoutResendOfInput[];
752
- createMany?: Prisma.MessageCreateManyResendOfInputEnvelope;
753
- set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
754
- disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
755
- delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
756
- connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
757
- update?: Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput | Prisma.MessageUpdateWithWhereUniqueWithoutResendOfInput[];
758
- updateMany?: Prisma.MessageUpdateManyWithWhereWithoutResendOfInput | Prisma.MessageUpdateManyWithWhereWithoutResendOfInput[];
759
- deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
718
+ export type MessageUpdateselectorValueIdsInput = {
719
+ set?: string[];
720
+ push?: string | string[];
760
721
  };
761
722
  export type MessageCreateNestedManyWithoutMeetingInput = {
762
723
  create?: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput> | Prisma.MessageCreateWithoutMeetingInput[] | Prisma.MessageUncheckedCreateWithoutMeetingInput[];
@@ -796,6 +757,72 @@ export type MessageUncheckedUpdateManyWithoutMeetingNestedInput = {
796
757
  updateMany?: Prisma.MessageUpdateManyWithWhereWithoutMeetingInput | Prisma.MessageUpdateManyWithWhereWithoutMeetingInput[];
797
758
  deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
798
759
  };
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;
786
+ disconnect?: Prisma.MessageWhereInput | boolean;
787
+ delete?: Prisma.MessageWhereInput | boolean;
788
+ connect?: Prisma.MessageWhereUniqueInput;
789
+ update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutRepliedToBySchedulesInput, Prisma.MessageUpdateWithoutRepliedToBySchedulesInput>, Prisma.MessageUncheckedUpdateWithoutRepliedToBySchedulesInput>;
790
+ };
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>;
799
+ };
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;
805
+ set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
806
+ disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
807
+ delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
808
+ connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
809
+ update?: Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput | Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput[];
810
+ updateMany?: Prisma.MessageUpdateManyWithWhereWithoutScheduleInput | Prisma.MessageUpdateManyWithWhereWithoutScheduleInput[];
811
+ deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
812
+ };
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;
818
+ set?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
819
+ disconnect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
820
+ delete?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
821
+ connect?: Prisma.MessageWhereUniqueInput | Prisma.MessageWhereUniqueInput[];
822
+ update?: Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput | Prisma.MessageUpdateWithWhereUniqueWithoutScheduleInput[];
823
+ updateMany?: Prisma.MessageUpdateManyWithWhereWithoutScheduleInput | Prisma.MessageUpdateManyWithWhereWithoutScheduleInput[];
824
+ deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
825
+ };
799
826
  export type MessageCreateNestedOneWithoutDeliveriesInput = {
800
827
  create?: Prisma.XOR<Prisma.MessageCreateWithoutDeliveriesInput, Prisma.MessageUncheckedCreateWithoutDeliveriesInput>;
801
828
  connectOrCreate?: Prisma.MessageCreateOrConnectWithoutDeliveriesInput;
@@ -826,19 +853,22 @@ export type MessageCreateWithoutFleetInput = {
826
853
  id: string;
827
854
  selectorKind: $Enums.SelectorKind;
828
855
  selectorType?: string | null;
856
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
829
857
  payload: string;
830
858
  contentType: string;
831
859
  model?: string | null;
832
860
  idempotencyKey: string;
833
861
  requestHash: string;
862
+ inReplyToMessageId?: string | null;
863
+ resendOfMessageId?: string | null;
864
+ sendTime?: Date | string | null;
834
865
  createdAt: Date | string;
835
866
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
836
867
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
837
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
838
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
839
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
840
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
841
868
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
869
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
870
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
871
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
842
872
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
843
873
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
844
874
  };
@@ -848,6 +878,7 @@ export type MessageUncheckedCreateWithoutFleetInput = {
848
878
  selectorKind: $Enums.SelectorKind;
849
879
  selectorShipId?: string | null;
850
880
  selectorType?: string | null;
881
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
851
882
  payload: string;
852
883
  contentType: string;
853
884
  model?: string | null;
@@ -856,9 +887,11 @@ export type MessageUncheckedCreateWithoutFleetInput = {
856
887
  inReplyToMessageId?: string | null;
857
888
  resendOfMessageId?: string | null;
858
889
  meetingId?: string | null;
890
+ scheduleId?: string | null;
891
+ sendTime?: Date | string | null;
859
892
  createdAt: Date | string;
860
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
861
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
893
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
894
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
862
895
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
863
896
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
864
897
  };
@@ -893,6 +926,7 @@ export type MessageScalarWhereInput = {
893
926
  selectorKind?: Prisma.EnumSelectorKindFilter<"Message"> | $Enums.SelectorKind;
894
927
  selectorShipId?: Prisma.StringNullableFilter<"Message"> | string | null;
895
928
  selectorType?: Prisma.StringNullableFilter<"Message"> | string | null;
929
+ selectorValueIds?: Prisma.StringNullableListFilter<"Message">;
896
930
  payload?: Prisma.StringFilter<"Message"> | string;
897
931
  contentType?: Prisma.StringFilter<"Message"> | string;
898
932
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
@@ -901,25 +935,30 @@ export type MessageScalarWhereInput = {
901
935
  inReplyToMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
902
936
  resendOfMessageId?: Prisma.StringNullableFilter<"Message"> | string | null;
903
937
  meetingId?: Prisma.StringNullableFilter<"Message"> | string | null;
938
+ scheduleId?: Prisma.StringNullableFilter<"Message"> | string | null;
939
+ sendTime?: Prisma.DateTimeNullableFilter<"Message"> | Date | string | null;
904
940
  createdAt?: Prisma.DateTimeFilter<"Message"> | Date | string;
905
941
  };
906
942
  export type MessageCreateWithoutSenderShipInput = {
907
943
  id: string;
908
944
  selectorKind: $Enums.SelectorKind;
909
945
  selectorType?: string | null;
946
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
910
947
  payload: string;
911
948
  contentType: string;
912
949
  model?: string | null;
913
950
  idempotencyKey: string;
914
951
  requestHash: string;
952
+ inReplyToMessageId?: string | null;
953
+ resendOfMessageId?: string | null;
954
+ sendTime?: Date | string | null;
915
955
  createdAt: Date | string;
916
956
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
917
957
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
918
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
919
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
920
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
921
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
922
958
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
959
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
960
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
961
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
923
962
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
924
963
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
925
964
  };
@@ -928,6 +967,7 @@ export type MessageUncheckedCreateWithoutSenderShipInput = {
928
967
  selectorKind: $Enums.SelectorKind;
929
968
  selectorShipId?: string | null;
930
969
  selectorType?: string | null;
970
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
931
971
  payload: string;
932
972
  contentType: string;
933
973
  model?: string | null;
@@ -936,9 +976,11 @@ export type MessageUncheckedCreateWithoutSenderShipInput = {
936
976
  inReplyToMessageId?: string | null;
937
977
  resendOfMessageId?: string | null;
938
978
  meetingId?: string | null;
979
+ scheduleId?: string | null;
980
+ sendTime?: Date | string | null;
939
981
  createdAt: Date | string;
940
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
941
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
982
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
983
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
942
984
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
943
985
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
944
986
  };
@@ -954,19 +996,22 @@ export type MessageCreateWithoutSelectorShipInput = {
954
996
  id: string;
955
997
  selectorKind: $Enums.SelectorKind;
956
998
  selectorType?: string | null;
999
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
957
1000
  payload: string;
958
1001
  contentType: string;
959
1002
  model?: string | null;
960
1003
  idempotencyKey: string;
961
1004
  requestHash: string;
1005
+ inReplyToMessageId?: string | null;
1006
+ resendOfMessageId?: string | null;
1007
+ sendTime?: Date | string | null;
962
1008
  createdAt: Date | string;
963
1009
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
964
1010
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
965
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
966
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
967
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
968
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
969
1011
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1012
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1013
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1014
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
970
1015
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
971
1016
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
972
1017
  };
@@ -975,6 +1020,7 @@ export type MessageUncheckedCreateWithoutSelectorShipInput = {
975
1020
  senderShipId: string;
976
1021
  selectorKind: $Enums.SelectorKind;
977
1022
  selectorType?: string | null;
1023
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
978
1024
  payload: string;
979
1025
  contentType: string;
980
1026
  model?: string | null;
@@ -983,9 +1029,11 @@ export type MessageUncheckedCreateWithoutSelectorShipInput = {
983
1029
  inReplyToMessageId?: string | null;
984
1030
  resendOfMessageId?: string | null;
985
1031
  meetingId?: string | null;
1032
+ scheduleId?: string | null;
1033
+ sendTime?: Date | string | null;
986
1034
  createdAt: Date | string;
987
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
988
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1035
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1036
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
989
1037
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
990
1038
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
991
1039
  };
@@ -1023,33 +1071,36 @@ export type MessageUpdateManyWithWhereWithoutSelectorShipInput = {
1023
1071
  where: Prisma.MessageScalarWhereInput;
1024
1072
  data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutSelectorShipInput>;
1025
1073
  };
1026
- export type MessageCreateWithoutRepliesInput = {
1074
+ export type MessageCreateWithoutMeetingInput = {
1027
1075
  id: string;
1028
1076
  selectorKind: $Enums.SelectorKind;
1029
1077
  selectorType?: string | null;
1078
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1030
1079
  payload: string;
1031
1080
  contentType: string;
1032
1081
  model?: string | null;
1033
1082
  idempotencyKey: string;
1034
1083
  requestHash: string;
1084
+ inReplyToMessageId?: string | null;
1085
+ resendOfMessageId?: string | null;
1086
+ sendTime?: Date | string | null;
1035
1087
  createdAt: Date | string;
1036
1088
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1037
1089
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1038
1090
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1039
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1040
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1041
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1042
- meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1091
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1092
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1093
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1043
1094
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1044
1095
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1045
1096
  };
1046
- export type MessageUncheckedCreateWithoutRepliesInput = {
1097
+ export type MessageUncheckedCreateWithoutMeetingInput = {
1047
1098
  id: string;
1048
- fleetId: string;
1049
1099
  senderShipId: string;
1050
1100
  selectorKind: $Enums.SelectorKind;
1051
1101
  selectorShipId?: string | null;
1052
1102
  selectorType?: string | null;
1103
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1053
1104
  payload: string;
1054
1105
  contentType: string;
1055
1106
  model?: string | null;
@@ -1057,90 +1108,116 @@ export type MessageUncheckedCreateWithoutRepliesInput = {
1057
1108
  requestHash: string;
1058
1109
  inReplyToMessageId?: string | null;
1059
1110
  resendOfMessageId?: string | null;
1060
- meetingId?: string | null;
1111
+ scheduleId?: string | null;
1112
+ sendTime?: Date | string | null;
1061
1113
  createdAt: Date | string;
1062
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1114
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1115
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1063
1116
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1064
1117
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1065
1118
  };
1066
- 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 = {
1128
+ where: Prisma.MessageWhereUniqueInput;
1129
+ update: Prisma.XOR<Prisma.MessageUpdateWithoutMeetingInput, Prisma.MessageUncheckedUpdateWithoutMeetingInput>;
1130
+ create: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput>;
1131
+ };
1132
+ export type MessageUpdateWithWhereUniqueWithoutMeetingInput = {
1067
1133
  where: Prisma.MessageWhereUniqueInput;
1068
- create: Prisma.XOR<Prisma.MessageCreateWithoutRepliesInput, Prisma.MessageUncheckedCreateWithoutRepliesInput>;
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>;
1069
1139
  };
1070
- export type MessageCreateWithoutInReplyToInput = {
1140
+ export type MessageCreateWithoutRepliedToBySchedulesInput = {
1071
1141
  id: string;
1072
1142
  selectorKind: $Enums.SelectorKind;
1073
1143
  selectorType?: string | null;
1144
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1074
1145
  payload: string;
1075
1146
  contentType: string;
1076
1147
  model?: string | null;
1077
1148
  idempotencyKey: string;
1078
1149
  requestHash: string;
1150
+ inReplyToMessageId?: string | null;
1151
+ resendOfMessageId?: string | null;
1152
+ sendTime?: Date | string | null;
1079
1153
  createdAt: Date | string;
1080
1154
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1081
1155
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1082
1156
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1083
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1084
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1085
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1086
1157
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1158
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1159
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1087
1160
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1088
1161
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1089
1162
  };
1090
- export type MessageUncheckedCreateWithoutInReplyToInput = {
1163
+ export type MessageUncheckedCreateWithoutRepliedToBySchedulesInput = {
1091
1164
  id: string;
1165
+ fleetId: string;
1092
1166
  senderShipId: string;
1093
1167
  selectorKind: $Enums.SelectorKind;
1094
1168
  selectorShipId?: string | null;
1095
1169
  selectorType?: string | null;
1170
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1096
1171
  payload: string;
1097
1172
  contentType: string;
1098
1173
  model?: string | null;
1099
1174
  idempotencyKey: string;
1100
1175
  requestHash: string;
1176
+ inReplyToMessageId?: string | null;
1101
1177
  resendOfMessageId?: string | null;
1102
1178
  meetingId?: string | null;
1179
+ scheduleId?: string | null;
1180
+ sendTime?: Date | string | null;
1103
1181
  createdAt: Date | string;
1104
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1105
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1182
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1106
1183
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1107
1184
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1108
1185
  };
1109
- export type MessageCreateOrConnectWithoutInReplyToInput = {
1186
+ export type MessageCreateOrConnectWithoutRepliedToBySchedulesInput = {
1110
1187
  where: Prisma.MessageWhereUniqueInput;
1111
- create: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput>;
1112
- };
1113
- export type MessageCreateManyInReplyToInputEnvelope = {
1114
- data: Prisma.MessageCreateManyInReplyToInput | Prisma.MessageCreateManyInReplyToInput[];
1115
- skipDuplicates?: boolean;
1188
+ create: Prisma.XOR<Prisma.MessageCreateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedCreateWithoutRepliedToBySchedulesInput>;
1116
1189
  };
1117
- export type MessageCreateWithoutResendsInput = {
1190
+ export type MessageCreateWithoutLastSentBySchedulesInput = {
1118
1191
  id: string;
1119
1192
  selectorKind: $Enums.SelectorKind;
1120
1193
  selectorType?: string | null;
1194
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1121
1195
  payload: string;
1122
1196
  contentType: string;
1123
1197
  model?: string | null;
1124
1198
  idempotencyKey: string;
1125
1199
  requestHash: string;
1200
+ inReplyToMessageId?: string | null;
1201
+ resendOfMessageId?: string | null;
1202
+ sendTime?: Date | string | null;
1126
1203
  createdAt: Date | string;
1127
1204
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1128
1205
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1129
1206
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1130
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1131
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1132
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1133
1207
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1208
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1209
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1134
1210
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1135
1211
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1136
1212
  };
1137
- export type MessageUncheckedCreateWithoutResendsInput = {
1213
+ export type MessageUncheckedCreateWithoutLastSentBySchedulesInput = {
1138
1214
  id: string;
1139
1215
  fleetId: string;
1140
1216
  senderShipId: string;
1141
1217
  selectorKind: $Enums.SelectorKind;
1142
1218
  selectorShipId?: string | null;
1143
1219
  selectorType?: string | null;
1220
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1144
1221
  payload: string;
1145
1222
  contentType: string;
1146
1223
  model?: string | null;
@@ -1149,98 +1226,110 @@ export type MessageUncheckedCreateWithoutResendsInput = {
1149
1226
  inReplyToMessageId?: string | null;
1150
1227
  resendOfMessageId?: string | null;
1151
1228
  meetingId?: string | null;
1229
+ scheduleId?: string | null;
1230
+ sendTime?: Date | string | null;
1152
1231
  createdAt: Date | string;
1153
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1232
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1154
1233
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1155
1234
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1156
1235
  };
1157
- export type MessageCreateOrConnectWithoutResendsInput = {
1236
+ export type MessageCreateOrConnectWithoutLastSentBySchedulesInput = {
1158
1237
  where: Prisma.MessageWhereUniqueInput;
1159
- create: Prisma.XOR<Prisma.MessageCreateWithoutResendsInput, Prisma.MessageUncheckedCreateWithoutResendsInput>;
1238
+ create: Prisma.XOR<Prisma.MessageCreateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedCreateWithoutLastSentBySchedulesInput>;
1160
1239
  };
1161
- export type MessageCreateWithoutResendOfInput = {
1240
+ export type MessageCreateWithoutScheduleInput = {
1162
1241
  id: string;
1163
1242
  selectorKind: $Enums.SelectorKind;
1164
1243
  selectorType?: string | null;
1244
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1165
1245
  payload: string;
1166
1246
  contentType: string;
1167
1247
  model?: string | null;
1168
1248
  idempotencyKey: string;
1169
1249
  requestHash: string;
1250
+ inReplyToMessageId?: string | null;
1251
+ resendOfMessageId?: string | null;
1252
+ sendTime?: Date | string | null;
1170
1253
  createdAt: Date | string;
1171
1254
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1172
1255
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1173
1256
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1174
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1175
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1176
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1177
1257
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1258
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1259
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1178
1260
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1179
1261
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1180
1262
  };
1181
- export type MessageUncheckedCreateWithoutResendOfInput = {
1263
+ export type MessageUncheckedCreateWithoutScheduleInput = {
1182
1264
  id: string;
1183
1265
  senderShipId: string;
1184
1266
  selectorKind: $Enums.SelectorKind;
1185
1267
  selectorShipId?: string | null;
1186
1268
  selectorType?: string | null;
1269
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1187
1270
  payload: string;
1188
1271
  contentType: string;
1189
1272
  model?: string | null;
1190
1273
  idempotencyKey: string;
1191
1274
  requestHash: string;
1192
1275
  inReplyToMessageId?: string | null;
1276
+ resendOfMessageId?: string | null;
1193
1277
  meetingId?: string | null;
1278
+ sendTime?: Date | string | null;
1194
1279
  createdAt: Date | string;
1195
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1196
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1280
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1281
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1197
1282
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1198
1283
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1199
1284
  };
1200
- export type MessageCreateOrConnectWithoutResendOfInput = {
1285
+ export type MessageCreateOrConnectWithoutScheduleInput = {
1201
1286
  where: Prisma.MessageWhereUniqueInput;
1202
- create: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput>;
1287
+ create: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput>;
1203
1288
  };
1204
- export type MessageCreateManyResendOfInputEnvelope = {
1205
- data: Prisma.MessageCreateManyResendOfInput | Prisma.MessageCreateManyResendOfInput[];
1289
+ export type MessageCreateManyScheduleInputEnvelope = {
1290
+ data: Prisma.MessageCreateManyScheduleInput | Prisma.MessageCreateManyScheduleInput[];
1206
1291
  skipDuplicates?: boolean;
1207
1292
  };
1208
- export type MessageUpsertWithoutRepliesInput = {
1209
- update: Prisma.XOR<Prisma.MessageUpdateWithoutRepliesInput, Prisma.MessageUncheckedUpdateWithoutRepliesInput>;
1210
- 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>;
1211
1296
  where?: Prisma.MessageWhereInput;
1212
1297
  };
1213
- export type MessageUpdateToOneWithWhereWithoutRepliesInput = {
1298
+ export type MessageUpdateToOneWithWhereWithoutRepliedToBySchedulesInput = {
1214
1299
  where?: Prisma.MessageWhereInput;
1215
- data: Prisma.XOR<Prisma.MessageUpdateWithoutRepliesInput, Prisma.MessageUncheckedUpdateWithoutRepliesInput>;
1300
+ data: Prisma.XOR<Prisma.MessageUpdateWithoutRepliedToBySchedulesInput, Prisma.MessageUncheckedUpdateWithoutRepliedToBySchedulesInput>;
1216
1301
  };
1217
- export type MessageUpdateWithoutRepliesInput = {
1302
+ export type MessageUpdateWithoutRepliedToBySchedulesInput = {
1218
1303
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1219
1304
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1220
1305
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1306
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1221
1307
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1222
1308
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1223
1309
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1224
1310
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1225
1311
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1312
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1313
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1314
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1226
1315
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1227
1316
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1228
1317
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1229
1318
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1230
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1231
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1232
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1233
1319
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1320
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1321
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1234
1322
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1235
1323
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1236
1324
  };
1237
- export type MessageUncheckedUpdateWithoutRepliesInput = {
1325
+ export type MessageUncheckedUpdateWithoutRepliedToBySchedulesInput = {
1238
1326
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1239
1327
  fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
1240
1328
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1241
1329
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1242
1330
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1243
1331
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1332
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1244
1333
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1245
1334
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1246
1335
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1249,60 +1338,53 @@ export type MessageUncheckedUpdateWithoutRepliesInput = {
1249
1338
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1250
1339
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1251
1340
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1341
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1342
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1252
1343
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1253
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1344
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1254
1345
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1255
1346
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1256
1347
  };
1257
- export type MessageUpsertWithWhereUniqueWithoutInReplyToInput = {
1258
- where: Prisma.MessageWhereUniqueInput;
1259
- update: Prisma.XOR<Prisma.MessageUpdateWithoutInReplyToInput, Prisma.MessageUncheckedUpdateWithoutInReplyToInput>;
1260
- create: Prisma.XOR<Prisma.MessageCreateWithoutInReplyToInput, Prisma.MessageUncheckedCreateWithoutInReplyToInput>;
1261
- };
1262
- export type MessageUpdateWithWhereUniqueWithoutInReplyToInput = {
1263
- where: Prisma.MessageWhereUniqueInput;
1264
- data: Prisma.XOR<Prisma.MessageUpdateWithoutInReplyToInput, Prisma.MessageUncheckedUpdateWithoutInReplyToInput>;
1265
- };
1266
- export type MessageUpdateManyWithWhereWithoutInReplyToInput = {
1267
- where: Prisma.MessageScalarWhereInput;
1268
- data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutInReplyToInput>;
1269
- };
1270
- export type MessageUpsertWithoutResendsInput = {
1271
- update: Prisma.XOR<Prisma.MessageUpdateWithoutResendsInput, Prisma.MessageUncheckedUpdateWithoutResendsInput>;
1272
- 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>;
1273
1351
  where?: Prisma.MessageWhereInput;
1274
1352
  };
1275
- export type MessageUpdateToOneWithWhereWithoutResendsInput = {
1353
+ export type MessageUpdateToOneWithWhereWithoutLastSentBySchedulesInput = {
1276
1354
  where?: Prisma.MessageWhereInput;
1277
- data: Prisma.XOR<Prisma.MessageUpdateWithoutResendsInput, Prisma.MessageUncheckedUpdateWithoutResendsInput>;
1355
+ data: Prisma.XOR<Prisma.MessageUpdateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedUpdateWithoutLastSentBySchedulesInput>;
1278
1356
  };
1279
- export type MessageUpdateWithoutResendsInput = {
1357
+ export type MessageUpdateWithoutLastSentBySchedulesInput = {
1280
1358
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1281
1359
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1282
1360
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1361
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1283
1362
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1284
1363
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1285
1364
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1286
1365
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1287
1366
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1367
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1368
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1369
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1288
1370
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1289
1371
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1290
1372
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1291
1373
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1292
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1293
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1294
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1295
1374
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1375
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1376
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1296
1377
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1297
1378
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1298
1379
  };
1299
- export type MessageUncheckedUpdateWithoutResendsInput = {
1380
+ export type MessageUncheckedUpdateWithoutLastSentBySchedulesInput = {
1300
1381
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1301
1382
  fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
1302
1383
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1303
1384
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1304
1385
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1305
1386
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1387
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1306
1388
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1307
1389
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1308
1390
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1311,50 +1393,31 @@ export type MessageUncheckedUpdateWithoutResendsInput = {
1311
1393
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1312
1394
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1313
1395
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1396
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1397
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1314
1398
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1315
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1399
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1316
1400
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1317
1401
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1318
1402
  };
1319
- export type MessageUpsertWithWhereUniqueWithoutResendOfInput = {
1403
+ export type MessageUpsertWithWhereUniqueWithoutScheduleInput = {
1320
1404
  where: Prisma.MessageWhereUniqueInput;
1321
- update: Prisma.XOR<Prisma.MessageUpdateWithoutResendOfInput, Prisma.MessageUncheckedUpdateWithoutResendOfInput>;
1322
- create: Prisma.XOR<Prisma.MessageCreateWithoutResendOfInput, Prisma.MessageUncheckedCreateWithoutResendOfInput>;
1405
+ update: Prisma.XOR<Prisma.MessageUpdateWithoutScheduleInput, Prisma.MessageUncheckedUpdateWithoutScheduleInput>;
1406
+ create: Prisma.XOR<Prisma.MessageCreateWithoutScheduleInput, Prisma.MessageUncheckedCreateWithoutScheduleInput>;
1323
1407
  };
1324
- export type MessageUpdateWithWhereUniqueWithoutResendOfInput = {
1408
+ export type MessageUpdateWithWhereUniqueWithoutScheduleInput = {
1325
1409
  where: Prisma.MessageWhereUniqueInput;
1326
- data: Prisma.XOR<Prisma.MessageUpdateWithoutResendOfInput, Prisma.MessageUncheckedUpdateWithoutResendOfInput>;
1410
+ data: Prisma.XOR<Prisma.MessageUpdateWithoutScheduleInput, Prisma.MessageUncheckedUpdateWithoutScheduleInput>;
1327
1411
  };
1328
- export type MessageUpdateManyWithWhereWithoutResendOfInput = {
1412
+ export type MessageUpdateManyWithWhereWithoutScheduleInput = {
1329
1413
  where: Prisma.MessageScalarWhereInput;
1330
- data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutResendOfInput>;
1331
- };
1332
- export type MessageCreateWithoutMeetingInput = {
1333
- id: string;
1334
- selectorKind: $Enums.SelectorKind;
1335
- selectorType?: string | null;
1336
- payload: string;
1337
- contentType: string;
1338
- model?: string | null;
1339
- idempotencyKey: string;
1340
- requestHash: string;
1341
- createdAt: Date | string;
1342
- fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1343
- senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1344
- selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1345
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1346
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1347
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1348
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1349
- deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1350
- events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1414
+ data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutScheduleInput>;
1351
1415
  };
1352
- export type MessageUncheckedCreateWithoutMeetingInput = {
1416
+ export type MessageCreateWithoutDeliveriesInput = {
1353
1417
  id: string;
1354
- senderShipId: string;
1355
1418
  selectorKind: $Enums.SelectorKind;
1356
- selectorShipId?: string | null;
1357
1419
  selectorType?: string | null;
1420
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1358
1421
  payload: string;
1359
1422
  contentType: string;
1360
1423
  model?: string | null;
@@ -1362,51 +1425,15 @@ export type MessageUncheckedCreateWithoutMeetingInput = {
1362
1425
  requestHash: string;
1363
1426
  inReplyToMessageId?: string | null;
1364
1427
  resendOfMessageId?: string | null;
1365
- createdAt: Date | string;
1366
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1367
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1368
- deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1369
- events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1370
- };
1371
- export type MessageCreateOrConnectWithoutMeetingInput = {
1372
- where: Prisma.MessageWhereUniqueInput;
1373
- create: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput>;
1374
- };
1375
- export type MessageCreateManyMeetingInputEnvelope = {
1376
- data: Prisma.MessageCreateManyMeetingInput | Prisma.MessageCreateManyMeetingInput[];
1377
- skipDuplicates?: boolean;
1378
- };
1379
- export type MessageUpsertWithWhereUniqueWithoutMeetingInput = {
1380
- where: Prisma.MessageWhereUniqueInput;
1381
- update: Prisma.XOR<Prisma.MessageUpdateWithoutMeetingInput, Prisma.MessageUncheckedUpdateWithoutMeetingInput>;
1382
- create: Prisma.XOR<Prisma.MessageCreateWithoutMeetingInput, Prisma.MessageUncheckedCreateWithoutMeetingInput>;
1383
- };
1384
- export type MessageUpdateWithWhereUniqueWithoutMeetingInput = {
1385
- where: Prisma.MessageWhereUniqueInput;
1386
- data: Prisma.XOR<Prisma.MessageUpdateWithoutMeetingInput, Prisma.MessageUncheckedUpdateWithoutMeetingInput>;
1387
- };
1388
- export type MessageUpdateManyWithWhereWithoutMeetingInput = {
1389
- where: Prisma.MessageScalarWhereInput;
1390
- data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutMeetingInput>;
1391
- };
1392
- export type MessageCreateWithoutDeliveriesInput = {
1393
- id: string;
1394
- selectorKind: $Enums.SelectorKind;
1395
- selectorType?: string | null;
1396
- payload: string;
1397
- contentType: string;
1398
- model?: string | null;
1399
- idempotencyKey: string;
1400
- requestHash: string;
1428
+ sendTime?: Date | string | null;
1401
1429
  createdAt: Date | string;
1402
1430
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1403
1431
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1404
1432
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1405
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1406
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1407
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1408
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1409
1433
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1434
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1435
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1436
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1410
1437
  events?: Prisma.EventCreateNestedManyWithoutMessageInput;
1411
1438
  };
1412
1439
  export type MessageUncheckedCreateWithoutDeliveriesInput = {
@@ -1416,6 +1443,7 @@ export type MessageUncheckedCreateWithoutDeliveriesInput = {
1416
1443
  selectorKind: $Enums.SelectorKind;
1417
1444
  selectorShipId?: string | null;
1418
1445
  selectorType?: string | null;
1446
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1419
1447
  payload: string;
1420
1448
  contentType: string;
1421
1449
  model?: string | null;
@@ -1424,9 +1452,11 @@ export type MessageUncheckedCreateWithoutDeliveriesInput = {
1424
1452
  inReplyToMessageId?: string | null;
1425
1453
  resendOfMessageId?: string | null;
1426
1454
  meetingId?: string | null;
1455
+ scheduleId?: string | null;
1456
+ sendTime?: Date | string | null;
1427
1457
  createdAt: Date | string;
1428
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1429
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1458
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1459
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1430
1460
  events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
1431
1461
  };
1432
1462
  export type MessageCreateOrConnectWithoutDeliveriesInput = {
@@ -1446,20 +1476,23 @@ export type MessageUpdateWithoutDeliveriesInput = {
1446
1476
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1447
1477
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1448
1478
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1479
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1449
1480
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1450
1481
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1451
1482
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1452
1483
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1453
1484
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1485
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1486
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1487
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1454
1488
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1455
1489
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1456
1490
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1457
1491
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1458
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1459
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1460
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1461
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1462
1492
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1493
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1494
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1495
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1463
1496
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1464
1497
  };
1465
1498
  export type MessageUncheckedUpdateWithoutDeliveriesInput = {
@@ -1469,6 +1502,7 @@ export type MessageUncheckedUpdateWithoutDeliveriesInput = {
1469
1502
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1470
1503
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1471
1504
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1505
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1472
1506
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1473
1507
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1474
1508
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1477,29 +1511,34 @@ export type MessageUncheckedUpdateWithoutDeliveriesInput = {
1477
1511
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1478
1512
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1479
1513
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1514
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1515
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1480
1516
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1481
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1482
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1517
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1518
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1483
1519
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1484
1520
  };
1485
1521
  export type MessageCreateWithoutEventsInput = {
1486
1522
  id: string;
1487
1523
  selectorKind: $Enums.SelectorKind;
1488
1524
  selectorType?: string | null;
1525
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1489
1526
  payload: string;
1490
1527
  contentType: string;
1491
1528
  model?: string | null;
1492
1529
  idempotencyKey: string;
1493
1530
  requestHash: string;
1531
+ inReplyToMessageId?: string | null;
1532
+ resendOfMessageId?: string | null;
1533
+ sendTime?: Date | string | null;
1494
1534
  createdAt: Date | string;
1495
1535
  fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
1496
1536
  senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
1497
1537
  selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
1498
- inReplyTo?: Prisma.MessageCreateNestedOneWithoutRepliesInput;
1499
- replies?: Prisma.MessageCreateNestedManyWithoutInReplyToInput;
1500
- resendOf?: Prisma.MessageCreateNestedOneWithoutResendsInput;
1501
- resends?: Prisma.MessageCreateNestedManyWithoutResendOfInput;
1502
1538
  meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
1539
+ schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
1540
+ repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
1541
+ lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
1503
1542
  deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
1504
1543
  };
1505
1544
  export type MessageUncheckedCreateWithoutEventsInput = {
@@ -1509,6 +1548,7 @@ export type MessageUncheckedCreateWithoutEventsInput = {
1509
1548
  selectorKind: $Enums.SelectorKind;
1510
1549
  selectorShipId?: string | null;
1511
1550
  selectorType?: string | null;
1551
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1512
1552
  payload: string;
1513
1553
  contentType: string;
1514
1554
  model?: string | null;
@@ -1517,9 +1557,11 @@ export type MessageUncheckedCreateWithoutEventsInput = {
1517
1557
  inReplyToMessageId?: string | null;
1518
1558
  resendOfMessageId?: string | null;
1519
1559
  meetingId?: string | null;
1560
+ scheduleId?: string | null;
1561
+ sendTime?: Date | string | null;
1520
1562
  createdAt: Date | string;
1521
- replies?: Prisma.MessageUncheckedCreateNestedManyWithoutInReplyToInput;
1522
- resends?: Prisma.MessageUncheckedCreateNestedManyWithoutResendOfInput;
1563
+ repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
1564
+ lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
1523
1565
  deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
1524
1566
  };
1525
1567
  export type MessageCreateOrConnectWithoutEventsInput = {
@@ -1539,20 +1581,23 @@ export type MessageUpdateWithoutEventsInput = {
1539
1581
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1540
1582
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1541
1583
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1584
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1542
1585
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1543
1586
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1544
1587
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1545
1588
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1546
1589
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1590
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1591
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1592
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1547
1593
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1548
1594
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1549
1595
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1550
1596
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1551
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1552
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1553
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1554
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1555
1597
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1598
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1599
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1600
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1556
1601
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1557
1602
  };
1558
1603
  export type MessageUncheckedUpdateWithoutEventsInput = {
@@ -1562,6 +1607,7 @@ export type MessageUncheckedUpdateWithoutEventsInput = {
1562
1607
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1563
1608
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1564
1609
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1610
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1565
1611
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1566
1612
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1567
1613
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1570,9 +1616,11 @@ export type MessageUncheckedUpdateWithoutEventsInput = {
1570
1616
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1571
1617
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1572
1618
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1619
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1620
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1573
1621
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1574
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1575
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1622
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1623
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1576
1624
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1577
1625
  };
1578
1626
  export type MessageCreateManyFleetInput = {
@@ -1581,6 +1629,7 @@ export type MessageCreateManyFleetInput = {
1581
1629
  selectorKind: $Enums.SelectorKind;
1582
1630
  selectorShipId?: string | null;
1583
1631
  selectorType?: string | null;
1632
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1584
1633
  payload: string;
1585
1634
  contentType: string;
1586
1635
  model?: string | null;
@@ -1589,25 +1638,30 @@ export type MessageCreateManyFleetInput = {
1589
1638
  inReplyToMessageId?: string | null;
1590
1639
  resendOfMessageId?: string | null;
1591
1640
  meetingId?: string | null;
1641
+ scheduleId?: string | null;
1642
+ sendTime?: Date | string | null;
1592
1643
  createdAt: Date | string;
1593
1644
  };
1594
1645
  export type MessageUpdateWithoutFleetInput = {
1595
1646
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1596
1647
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1597
1648
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1649
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1598
1650
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1599
1651
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1600
1652
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1601
1653
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1602
1654
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1655
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1656
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1657
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1603
1658
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1604
1659
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1605
1660
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1606
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1607
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1608
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1609
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1610
1661
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1662
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1663
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1664
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1611
1665
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1612
1666
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1613
1667
  };
@@ -1617,6 +1671,7 @@ export type MessageUncheckedUpdateWithoutFleetInput = {
1617
1671
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1618
1672
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1619
1673
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1674
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1620
1675
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1621
1676
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1622
1677
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1625,9 +1680,11 @@ export type MessageUncheckedUpdateWithoutFleetInput = {
1625
1680
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1626
1681
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1627
1682
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1683
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1684
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1628
1685
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1629
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1630
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1686
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1687
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1631
1688
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1632
1689
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1633
1690
  };
@@ -1637,6 +1694,7 @@ export type MessageUncheckedUpdateManyWithoutFleetInput = {
1637
1694
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1638
1695
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1639
1696
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1697
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1640
1698
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1641
1699
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1642
1700
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1645,6 +1703,8 @@ export type MessageUncheckedUpdateManyWithoutFleetInput = {
1645
1703
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1646
1704
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1647
1705
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1706
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1707
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1648
1708
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1649
1709
  };
1650
1710
  export type MessageCreateManySenderShipInput = {
@@ -1652,6 +1712,7 @@ export type MessageCreateManySenderShipInput = {
1652
1712
  selectorKind: $Enums.SelectorKind;
1653
1713
  selectorShipId?: string | null;
1654
1714
  selectorType?: string | null;
1715
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1655
1716
  payload: string;
1656
1717
  contentType: string;
1657
1718
  model?: string | null;
@@ -1660,6 +1721,8 @@ export type MessageCreateManySenderShipInput = {
1660
1721
  inReplyToMessageId?: string | null;
1661
1722
  resendOfMessageId?: string | null;
1662
1723
  meetingId?: string | null;
1724
+ scheduleId?: string | null;
1725
+ sendTime?: Date | string | null;
1663
1726
  createdAt: Date | string;
1664
1727
  };
1665
1728
  export type MessageCreateManySelectorShipInput = {
@@ -1667,6 +1730,7 @@ export type MessageCreateManySelectorShipInput = {
1667
1730
  senderShipId: string;
1668
1731
  selectorKind: $Enums.SelectorKind;
1669
1732
  selectorType?: string | null;
1733
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1670
1734
  payload: string;
1671
1735
  contentType: string;
1672
1736
  model?: string | null;
@@ -1675,25 +1739,30 @@ export type MessageCreateManySelectorShipInput = {
1675
1739
  inReplyToMessageId?: string | null;
1676
1740
  resendOfMessageId?: string | null;
1677
1741
  meetingId?: string | null;
1742
+ scheduleId?: string | null;
1743
+ sendTime?: Date | string | null;
1678
1744
  createdAt: Date | string;
1679
1745
  };
1680
1746
  export type MessageUpdateWithoutSenderShipInput = {
1681
1747
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1682
1748
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1683
1749
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1750
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1684
1751
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1685
1752
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1686
1753
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1687
1754
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1688
1755
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1756
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1757
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1758
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1689
1759
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1690
1760
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1691
1761
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1692
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1693
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1694
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1695
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1696
1762
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1763
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1764
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1765
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1697
1766
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1698
1767
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1699
1768
  };
@@ -1702,6 +1771,7 @@ export type MessageUncheckedUpdateWithoutSenderShipInput = {
1702
1771
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1703
1772
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1704
1773
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1774
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1705
1775
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1706
1776
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1707
1777
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1710,9 +1780,11 @@ export type MessageUncheckedUpdateWithoutSenderShipInput = {
1710
1780
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1711
1781
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1712
1782
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1783
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1784
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1713
1785
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1714
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1715
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1786
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1787
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1716
1788
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1717
1789
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1718
1790
  };
@@ -1721,6 +1793,7 @@ export type MessageUncheckedUpdateManyWithoutSenderShipInput = {
1721
1793
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1722
1794
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1723
1795
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1796
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1724
1797
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1725
1798
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1726
1799
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1729,25 +1802,30 @@ export type MessageUncheckedUpdateManyWithoutSenderShipInput = {
1729
1802
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1730
1803
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1731
1804
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1805
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1806
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1732
1807
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1733
1808
  };
1734
1809
  export type MessageUpdateWithoutSelectorShipInput = {
1735
1810
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1736
1811
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1737
1812
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1813
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1738
1814
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1739
1815
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1740
1816
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1741
1817
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1742
1818
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1819
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1820
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1821
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1743
1822
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1744
1823
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1745
1824
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1746
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1747
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1748
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1749
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1750
1825
  meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1826
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1827
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1828
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1751
1829
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1752
1830
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1753
1831
  };
@@ -1756,6 +1834,7 @@ export type MessageUncheckedUpdateWithoutSelectorShipInput = {
1756
1834
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1757
1835
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1758
1836
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1837
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1759
1838
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1760
1839
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1761
1840
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1764,9 +1843,11 @@ export type MessageUncheckedUpdateWithoutSelectorShipInput = {
1764
1843
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1765
1844
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1766
1845
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1846
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1847
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1767
1848
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1768
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1769
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1849
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1850
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1770
1851
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1771
1852
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1772
1853
  };
@@ -1775,6 +1856,7 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipInput = {
1775
1856
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1776
1857
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1777
1858
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1859
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1778
1860
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1779
1861
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1780
1862
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1783,152 +1865,98 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipInput = {
1783
1865
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1784
1866
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1785
1867
  meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1868
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1869
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1786
1870
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1787
1871
  };
1788
- export type MessageCreateManyInReplyToInput = {
1789
- id: string;
1790
- senderShipId: string;
1791
- selectorKind: $Enums.SelectorKind;
1792
- selectorShipId?: string | null;
1793
- selectorType?: string | null;
1794
- payload: string;
1795
- contentType: string;
1796
- model?: string | null;
1797
- idempotencyKey: string;
1798
- requestHash: string;
1799
- resendOfMessageId?: string | null;
1800
- meetingId?: string | null;
1801
- createdAt: Date | string;
1802
- };
1803
- export type MessageCreateManyResendOfInput = {
1872
+ export type MessageCreateManyMeetingInput = {
1804
1873
  id: string;
1805
1874
  senderShipId: string;
1806
1875
  selectorKind: $Enums.SelectorKind;
1807
1876
  selectorShipId?: string | null;
1808
1877
  selectorType?: string | null;
1878
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1809
1879
  payload: string;
1810
1880
  contentType: string;
1811
1881
  model?: string | null;
1812
1882
  idempotencyKey: string;
1813
1883
  requestHash: string;
1814
1884
  inReplyToMessageId?: string | null;
1815
- meetingId?: string | null;
1885
+ resendOfMessageId?: string | null;
1886
+ scheduleId?: string | null;
1887
+ sendTime?: Date | string | null;
1816
1888
  createdAt: Date | string;
1817
1889
  };
1818
- export type MessageUpdateWithoutInReplyToInput = {
1819
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1820
- selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1821
- selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1822
- payload?: Prisma.StringFieldUpdateOperationsInput | string;
1823
- contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1824
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1825
- idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1826
- requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1827
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1828
- fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1829
- senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1830
- selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1831
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1832
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1833
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1834
- meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1835
- deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1836
- events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1837
- };
1838
- export type MessageUncheckedUpdateWithoutInReplyToInput = {
1839
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1840
- senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1841
- selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1842
- selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1843
- selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1844
- payload?: Prisma.StringFieldUpdateOperationsInput | string;
1845
- contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1846
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1847
- idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1848
- requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1849
- resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1850
- meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1851
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1852
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1853
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1854
- deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1855
- events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1856
- };
1857
- export type MessageUncheckedUpdateManyWithoutInReplyToInput = {
1890
+ export type MessageUpdateWithoutMeetingInput = {
1858
1891
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1859
- senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1860
1892
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1861
- selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1862
1893
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1894
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1863
1895
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1864
1896
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1865
1897
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1866
1898
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1867
1899
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1900
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1868
1901
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1869
- meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1870
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1871
- };
1872
- export type MessageUpdateWithoutResendOfInput = {
1873
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1874
- selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1875
- selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1876
- payload?: Prisma.StringFieldUpdateOperationsInput | string;
1877
- contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1878
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1879
- idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1880
- requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1902
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1881
1903
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1882
1904
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1883
1905
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1884
1906
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1885
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1886
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1887
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1888
- meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1907
+ schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
1908
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1909
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1889
1910
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1890
1911
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1891
1912
  };
1892
- export type MessageUncheckedUpdateWithoutResendOfInput = {
1913
+ export type MessageUncheckedUpdateWithoutMeetingInput = {
1893
1914
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1894
1915
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1895
1916
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1896
1917
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1897
1918
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1919
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1898
1920
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1899
1921
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1900
1922
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1901
1923
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1902
1924
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1903
1925
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1904
- meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1926
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1927
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1928
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1905
1929
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1906
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1907
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
1930
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
1931
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1908
1932
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1909
1933
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1910
1934
  };
1911
- export type MessageUncheckedUpdateManyWithoutResendOfInput = {
1935
+ export type MessageUncheckedUpdateManyWithoutMeetingInput = {
1912
1936
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1913
1937
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1914
1938
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1915
1939
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1916
1940
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1941
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1917
1942
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1918
1943
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1919
1944
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1920
1945
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1921
1946
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1922
1947
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1923
- meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1948
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1949
+ scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1950
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1924
1951
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1925
1952
  };
1926
- export type MessageCreateManyMeetingInput = {
1953
+ export type MessageCreateManyScheduleInput = {
1927
1954
  id: string;
1928
1955
  senderShipId: string;
1929
1956
  selectorKind: $Enums.SelectorKind;
1930
1957
  selectorShipId?: string | null;
1931
1958
  selectorType?: string | null;
1959
+ selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
1932
1960
  payload: string;
1933
1961
  contentType: string;
1934
1962
  model?: string | null;
@@ -1936,34 +1964,40 @@ export type MessageCreateManyMeetingInput = {
1936
1964
  requestHash: string;
1937
1965
  inReplyToMessageId?: string | null;
1938
1966
  resendOfMessageId?: string | null;
1967
+ meetingId?: string | null;
1968
+ sendTime?: Date | string | null;
1939
1969
  createdAt: Date | string;
1940
1970
  };
1941
- export type MessageUpdateWithoutMeetingInput = {
1971
+ export type MessageUpdateWithoutScheduleInput = {
1942
1972
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1943
1973
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1944
1974
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1975
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1945
1976
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1946
1977
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1947
1978
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1948
1979
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
1949
1980
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1981
+ inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1982
+ resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1983
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1950
1984
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1951
1985
  fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
1952
1986
  senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
1953
1987
  selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
1954
- inReplyTo?: Prisma.MessageUpdateOneWithoutRepliesNestedInput;
1955
- replies?: Prisma.MessageUpdateManyWithoutInReplyToNestedInput;
1956
- resendOf?: Prisma.MessageUpdateOneWithoutResendsNestedInput;
1957
- resends?: Prisma.MessageUpdateManyWithoutResendOfNestedInput;
1988
+ meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
1989
+ repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
1990
+ lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
1958
1991
  deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
1959
1992
  events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
1960
1993
  };
1961
- export type MessageUncheckedUpdateWithoutMeetingInput = {
1994
+ export type MessageUncheckedUpdateWithoutScheduleInput = {
1962
1995
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1963
1996
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1964
1997
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1965
1998
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1966
1999
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2000
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1967
2001
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1968
2002
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1969
2003
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1971,18 +2005,21 @@ export type MessageUncheckedUpdateWithoutMeetingInput = {
1971
2005
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1972
2006
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1973
2007
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2008
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2009
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1974
2010
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1975
- replies?: Prisma.MessageUncheckedUpdateManyWithoutInReplyToNestedInput;
1976
- resends?: Prisma.MessageUncheckedUpdateManyWithoutResendOfNestedInput;
2011
+ repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
2012
+ lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
1977
2013
  deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
1978
2014
  events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
1979
2015
  };
1980
- export type MessageUncheckedUpdateManyWithoutMeetingInput = {
2016
+ export type MessageUncheckedUpdateManyWithoutScheduleInput = {
1981
2017
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1982
2018
  senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
1983
2019
  selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
1984
2020
  selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1985
2021
  selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2022
+ selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
1986
2023
  payload?: Prisma.StringFieldUpdateOperationsInput | string;
1987
2024
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1988
2025
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1990,20 +2027,22 @@ export type MessageUncheckedUpdateManyWithoutMeetingInput = {
1990
2027
  requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
1991
2028
  inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1992
2029
  resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2030
+ meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2031
+ sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1993
2032
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1994
2033
  };
1995
2034
  /**
1996
2035
  * Count Type MessageCountOutputType
1997
2036
  */
1998
2037
  export type MessageCountOutputType = {
1999
- replies: number;
2000
- resends: number;
2038
+ repliedToBySchedules: number;
2039
+ lastSentBySchedules: number;
2001
2040
  deliveries: number;
2002
2041
  events: number;
2003
2042
  };
2004
2043
  export type MessageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2005
- replies?: boolean | MessageCountOutputTypeCountRepliesArgs;
2006
- resends?: boolean | MessageCountOutputTypeCountResendsArgs;
2044
+ repliedToBySchedules?: boolean | MessageCountOutputTypeCountRepliedToBySchedulesArgs;
2045
+ lastSentBySchedules?: boolean | MessageCountOutputTypeCountLastSentBySchedulesArgs;
2007
2046
  deliveries?: boolean | MessageCountOutputTypeCountDeliveriesArgs;
2008
2047
  events?: boolean | MessageCountOutputTypeCountEventsArgs;
2009
2048
  };
@@ -2019,14 +2058,14 @@ export type MessageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Exte
2019
2058
  /**
2020
2059
  * MessageCountOutputType without action
2021
2060
  */
2022
- export type MessageCountOutputTypeCountRepliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2023
- where?: Prisma.MessageWhereInput;
2061
+ export type MessageCountOutputTypeCountRepliedToBySchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2062
+ where?: Prisma.ScheduleWhereInput;
2024
2063
  };
2025
2064
  /**
2026
2065
  * MessageCountOutputType without action
2027
2066
  */
2028
- export type MessageCountOutputTypeCountResendsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2029
- where?: Prisma.MessageWhereInput;
2067
+ export type MessageCountOutputTypeCountLastSentBySchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2068
+ where?: Prisma.ScheduleWhereInput;
2030
2069
  };
2031
2070
  /**
2032
2071
  * MessageCountOutputType without action
@@ -2047,6 +2086,7 @@ export type MessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
2047
2086
  selectorKind?: boolean;
2048
2087
  selectorShipId?: boolean;
2049
2088
  selectorType?: boolean;
2089
+ selectorValueIds?: boolean;
2050
2090
  payload?: boolean;
2051
2091
  contentType?: boolean;
2052
2092
  model?: boolean;
@@ -2055,15 +2095,16 @@ export type MessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
2055
2095
  inReplyToMessageId?: boolean;
2056
2096
  resendOfMessageId?: boolean;
2057
2097
  meetingId?: boolean;
2098
+ scheduleId?: boolean;
2099
+ sendTime?: boolean;
2058
2100
  createdAt?: boolean;
2059
2101
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2060
2102
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2061
2103
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
2062
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
2063
- replies?: boolean | Prisma.Message$repliesArgs<ExtArgs>;
2064
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2065
- resends?: boolean | Prisma.Message$resendsArgs<ExtArgs>;
2066
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>;
2067
2108
  deliveries?: boolean | Prisma.Message$deliveriesArgs<ExtArgs>;
2068
2109
  events?: boolean | Prisma.Message$eventsArgs<ExtArgs>;
2069
2110
  _count?: boolean | Prisma.MessageCountOutputTypeDefaultArgs<ExtArgs>;
@@ -2075,6 +2116,7 @@ export type MessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
2075
2116
  selectorKind?: boolean;
2076
2117
  selectorShipId?: boolean;
2077
2118
  selectorType?: boolean;
2119
+ selectorValueIds?: boolean;
2078
2120
  payload?: boolean;
2079
2121
  contentType?: boolean;
2080
2122
  model?: boolean;
@@ -2083,13 +2125,14 @@ export type MessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
2083
2125
  inReplyToMessageId?: boolean;
2084
2126
  resendOfMessageId?: boolean;
2085
2127
  meetingId?: boolean;
2128
+ scheduleId?: boolean;
2129
+ sendTime?: boolean;
2086
2130
  createdAt?: boolean;
2087
2131
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2088
2132
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2089
2133
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
2090
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
2091
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2092
2134
  meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2135
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
2093
2136
  }, ExtArgs["result"]["message"]>;
2094
2137
  export type MessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2095
2138
  id?: boolean;
@@ -2098,6 +2141,7 @@ export type MessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
2098
2141
  selectorKind?: boolean;
2099
2142
  selectorShipId?: boolean;
2100
2143
  selectorType?: boolean;
2144
+ selectorValueIds?: boolean;
2101
2145
  payload?: boolean;
2102
2146
  contentType?: boolean;
2103
2147
  model?: boolean;
@@ -2106,13 +2150,14 @@ export type MessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
2106
2150
  inReplyToMessageId?: boolean;
2107
2151
  resendOfMessageId?: boolean;
2108
2152
  meetingId?: boolean;
2153
+ scheduleId?: boolean;
2154
+ sendTime?: boolean;
2109
2155
  createdAt?: boolean;
2110
2156
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2111
2157
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2112
2158
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
2113
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
2114
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2115
2159
  meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2160
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
2116
2161
  }, ExtArgs["result"]["message"]>;
2117
2162
  export type MessageSelectScalar = {
2118
2163
  id?: boolean;
@@ -2121,6 +2166,7 @@ export type MessageSelectScalar = {
2121
2166
  selectorKind?: boolean;
2122
2167
  selectorShipId?: boolean;
2123
2168
  selectorType?: boolean;
2169
+ selectorValueIds?: boolean;
2124
2170
  payload?: boolean;
2125
2171
  contentType?: boolean;
2126
2172
  model?: boolean;
@@ -2129,18 +2175,19 @@ export type MessageSelectScalar = {
2129
2175
  inReplyToMessageId?: boolean;
2130
2176
  resendOfMessageId?: boolean;
2131
2177
  meetingId?: boolean;
2178
+ scheduleId?: boolean;
2179
+ sendTime?: boolean;
2132
2180
  createdAt?: boolean;
2133
2181
  };
2134
- 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" | "meetingId" | "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"]>;
2135
2183
  export type MessageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2136
2184
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2137
2185
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2138
2186
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
2139
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
2140
- replies?: boolean | Prisma.Message$repliesArgs<ExtArgs>;
2141
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2142
- resends?: boolean | Prisma.Message$resendsArgs<ExtArgs>;
2143
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>;
2144
2191
  deliveries?: boolean | Prisma.Message$deliveriesArgs<ExtArgs>;
2145
2192
  events?: boolean | Prisma.Message$eventsArgs<ExtArgs>;
2146
2193
  _count?: boolean | Prisma.MessageCountOutputTypeDefaultArgs<ExtArgs>;
@@ -2149,17 +2196,15 @@ export type MessageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Exte
2149
2196
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2150
2197
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2151
2198
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
2152
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
2153
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2154
2199
  meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2200
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
2155
2201
  };
2156
2202
  export type MessageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2157
2203
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
2158
2204
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
2159
2205
  selectorShip?: boolean | Prisma.Message$selectorShipArgs<ExtArgs>;
2160
- inReplyTo?: boolean | Prisma.Message$inReplyToArgs<ExtArgs>;
2161
- resendOf?: boolean | Prisma.Message$resendOfArgs<ExtArgs>;
2162
2206
  meeting?: boolean | Prisma.Message$meetingArgs<ExtArgs>;
2207
+ schedule?: boolean | Prisma.Message$scheduleArgs<ExtArgs>;
2163
2208
  };
2164
2209
  export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2165
2210
  name: "Message";
@@ -2167,11 +2212,10 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
2167
2212
  fleet: Prisma.$FleetPayload<ExtArgs>;
2168
2213
  senderShip: Prisma.$ShipPayload<ExtArgs>;
2169
2214
  selectorShip: Prisma.$ShipPayload<ExtArgs> | null;
2170
- inReplyTo: Prisma.$MessagePayload<ExtArgs> | null;
2171
- replies: Prisma.$MessagePayload<ExtArgs>[];
2172
- resendOf: Prisma.$MessagePayload<ExtArgs> | null;
2173
- resends: Prisma.$MessagePayload<ExtArgs>[];
2174
2215
  meeting: Prisma.$MeetingPayload<ExtArgs> | null;
2216
+ schedule: Prisma.$SchedulePayload<ExtArgs> | null;
2217
+ repliedToBySchedules: Prisma.$SchedulePayload<ExtArgs>[];
2218
+ lastSentBySchedules: Prisma.$SchedulePayload<ExtArgs>[];
2175
2219
  deliveries: Prisma.$DeliveryPayload<ExtArgs>[];
2176
2220
  events: Prisma.$EventPayload<ExtArgs>[];
2177
2221
  };
@@ -2182,6 +2226,10 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
2182
2226
  selectorKind: $Enums.SelectorKind;
2183
2227
  selectorShipId: string | null;
2184
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[];
2185
2233
  payload: string;
2186
2234
  contentType: string;
2187
2235
  /**
@@ -2190,12 +2238,21 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
2190
2238
  model: string | null;
2191
2239
  idempotencyKey: string;
2192
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
+ */
2193
2245
  inReplyToMessageId: string | null;
2194
2246
  resendOfMessageId: string | null;
2195
2247
  /**
2196
2248
  * The meeting it was sent to, or the meeting whose added notice it is (decision 0061).
2197
2249
  */
2198
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;
2199
2256
  createdAt: Date;
2200
2257
  }, ExtArgs["result"]["message"]>;
2201
2258
  composites: {};
@@ -2529,11 +2586,10 @@ export interface Prisma__MessageClient<T, Null = never, ExtArgs extends runtime.
2529
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>;
2530
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>;
2531
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>;
2532
- 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>;
2533
- 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>;
2534
- 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>;
2535
- 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>;
2536
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>;
2537
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>;
2538
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>;
2539
2595
  /**
@@ -2567,6 +2623,7 @@ export interface MessageFieldRefs {
2567
2623
  readonly selectorKind: Prisma.FieldRef<"Message", 'SelectorKind'>;
2568
2624
  readonly selectorShipId: Prisma.FieldRef<"Message", 'String'>;
2569
2625
  readonly selectorType: Prisma.FieldRef<"Message", 'String'>;
2626
+ readonly selectorValueIds: Prisma.FieldRef<"Message", 'String[]'>;
2570
2627
  readonly payload: Prisma.FieldRef<"Message", 'String'>;
2571
2628
  readonly contentType: Prisma.FieldRef<"Message", 'String'>;
2572
2629
  readonly model: Prisma.FieldRef<"Message", 'String'>;
@@ -2575,6 +2632,8 @@ export interface MessageFieldRefs {
2575
2632
  readonly inReplyToMessageId: Prisma.FieldRef<"Message", 'String'>;
2576
2633
  readonly resendOfMessageId: Prisma.FieldRef<"Message", 'String'>;
2577
2634
  readonly meetingId: Prisma.FieldRef<"Message", 'String'>;
2635
+ readonly scheduleId: Prisma.FieldRef<"Message", 'String'>;
2636
+ readonly sendTime: Prisma.FieldRef<"Message", 'DateTime'>;
2578
2637
  readonly createdAt: Prisma.FieldRef<"Message", 'DateTime'>;
2579
2638
  }
2580
2639
  /**
@@ -2978,104 +3037,86 @@ export type Message$selectorShipArgs<ExtArgs extends runtime.Types.Extensions.In
2978
3037
  where?: Prisma.ShipWhereInput;
2979
3038
  };
2980
3039
  /**
2981
- * Message.inReplyTo
2982
- */
2983
- export type Message$inReplyToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2984
- /**
2985
- * Select specific fields to fetch from the Message
2986
- */
2987
- select?: Prisma.MessageSelect<ExtArgs> | null;
2988
- /**
2989
- * Omit specific fields from the Message
2990
- */
2991
- omit?: Prisma.MessageOmit<ExtArgs> | null;
2992
- /**
2993
- * Choose, which related nodes to fetch as well
2994
- */
2995
- include?: Prisma.MessageInclude<ExtArgs> | null;
2996
- where?: Prisma.MessageWhereInput;
2997
- };
2998
- /**
2999
- * Message.replies
3040
+ * Message.meeting
3000
3041
  */
3001
- export type Message$repliesArgs<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> = {
3002
3043
  /**
3003
- * Select specific fields to fetch from the Message
3044
+ * Select specific fields to fetch from the Meeting
3004
3045
  */
3005
- select?: Prisma.MessageSelect<ExtArgs> | null;
3046
+ select?: Prisma.MeetingSelect<ExtArgs> | null;
3006
3047
  /**
3007
- * Omit specific fields from the Message
3048
+ * Omit specific fields from the Meeting
3008
3049
  */
3009
- omit?: Prisma.MessageOmit<ExtArgs> | null;
3050
+ omit?: Prisma.MeetingOmit<ExtArgs> | null;
3010
3051
  /**
3011
3052
  * Choose, which related nodes to fetch as well
3012
3053
  */
3013
- include?: Prisma.MessageInclude<ExtArgs> | null;
3014
- where?: Prisma.MessageWhereInput;
3015
- orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[];
3016
- cursor?: Prisma.MessageWhereUniqueInput;
3017
- take?: number;
3018
- skip?: number;
3019
- distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[];
3054
+ include?: Prisma.MeetingInclude<ExtArgs> | null;
3055
+ where?: Prisma.MeetingWhereInput;
3020
3056
  };
3021
3057
  /**
3022
- * Message.resendOf
3058
+ * Message.schedule
3023
3059
  */
3024
- export type Message$resendOfArgs<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> = {
3025
3061
  /**
3026
- * Select specific fields to fetch from the Message
3062
+ * Select specific fields to fetch from the Schedule
3027
3063
  */
3028
- select?: Prisma.MessageSelect<ExtArgs> | null;
3064
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3029
3065
  /**
3030
- * Omit specific fields from the Message
3066
+ * Omit specific fields from the Schedule
3031
3067
  */
3032
- omit?: Prisma.MessageOmit<ExtArgs> | null;
3068
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3033
3069
  /**
3034
3070
  * Choose, which related nodes to fetch as well
3035
3071
  */
3036
- include?: Prisma.MessageInclude<ExtArgs> | null;
3037
- where?: Prisma.MessageWhereInput;
3072
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3073
+ where?: Prisma.ScheduleWhereInput;
3038
3074
  };
3039
3075
  /**
3040
- * Message.resends
3076
+ * Message.repliedToBySchedules
3041
3077
  */
3042
- export type Message$resendsArgs<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> = {
3043
3079
  /**
3044
- * Select specific fields to fetch from the Message
3080
+ * Select specific fields to fetch from the Schedule
3045
3081
  */
3046
- select?: Prisma.MessageSelect<ExtArgs> | null;
3082
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3047
3083
  /**
3048
- * Omit specific fields from the Message
3084
+ * Omit specific fields from the Schedule
3049
3085
  */
3050
- omit?: Prisma.MessageOmit<ExtArgs> | null;
3086
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3051
3087
  /**
3052
3088
  * Choose, which related nodes to fetch as well
3053
3089
  */
3054
- include?: Prisma.MessageInclude<ExtArgs> | null;
3055
- where?: Prisma.MessageWhereInput;
3056
- orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[];
3057
- cursor?: Prisma.MessageWhereUniqueInput;
3090
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3091
+ where?: Prisma.ScheduleWhereInput;
3092
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
3093
+ cursor?: Prisma.ScheduleWhereUniqueInput;
3058
3094
  take?: number;
3059
3095
  skip?: number;
3060
- distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[];
3096
+ distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
3061
3097
  };
3062
3098
  /**
3063
- * Message.meeting
3099
+ * Message.lastSentBySchedules
3064
3100
  */
3065
- export type Message$meetingArgs<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> = {
3066
3102
  /**
3067
- * Select specific fields to fetch from the Meeting
3103
+ * Select specific fields to fetch from the Schedule
3068
3104
  */
3069
- select?: Prisma.MeetingSelect<ExtArgs> | null;
3105
+ select?: Prisma.ScheduleSelect<ExtArgs> | null;
3070
3106
  /**
3071
- * Omit specific fields from the Meeting
3107
+ * Omit specific fields from the Schedule
3072
3108
  */
3073
- omit?: Prisma.MeetingOmit<ExtArgs> | null;
3109
+ omit?: Prisma.ScheduleOmit<ExtArgs> | null;
3074
3110
  /**
3075
3111
  * Choose, which related nodes to fetch as well
3076
3112
  */
3077
- include?: Prisma.MeetingInclude<ExtArgs> | null;
3078
- where?: Prisma.MeetingWhereInput;
3113
+ include?: Prisma.ScheduleInclude<ExtArgs> | null;
3114
+ where?: Prisma.ScheduleWhereInput;
3115
+ orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
3116
+ cursor?: Prisma.ScheduleWhereUniqueInput;
3117
+ take?: number;
3118
+ skip?: number;
3119
+ distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
3079
3120
  };
3080
3121
  /**
3081
3122
  * Message.deliveries