@aeolus-fleet/core 0.39.1 → 0.40.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 (157) hide show
  1. package/README.md +2 -2
  2. package/dist/adapters/cli/fleet-init.d.ts +1 -1
  3. package/dist/adapters/cli/fleet-init.js +5 -3
  4. package/dist/adapters/cli/fleet-init.js.map +1 -1
  5. package/dist/adapters/cli/io.d.ts +5 -2
  6. package/dist/adapters/cli/io.js.map +1 -1
  7. package/dist/adapters/prisma/client.d.ts +8 -2
  8. package/dist/adapters/prisma/client.js +3 -3
  9. package/dist/adapters/prisma/client.js.map +1 -1
  10. package/dist/adapters/prisma/content-type-sql.d.ts +11 -0
  11. package/dist/adapters/prisma/content-type-sql.js +41 -0
  12. package/dist/adapters/prisma/content-type-sql.js.map +1 -0
  13. package/dist/adapters/prisma/exchange-rollups.d.ts +3 -1
  14. package/dist/adapters/prisma/exchange-rollups.js +15 -9
  15. package/dist/adapters/prisma/exchange-rollups.js.map +1 -1
  16. package/dist/adapters/prisma/fill-message-question-ids.d.ts +7 -0
  17. package/dist/adapters/prisma/fill-message-question-ids.js +12 -0
  18. package/dist/adapters/prisma/fill-message-question-ids.js.map +1 -0
  19. package/dist/adapters/prisma/fleet-counter.js +1 -1
  20. package/dist/adapters/prisma/fleet-counter.js.map +1 -1
  21. package/dist/adapters/prisma/fleet-removal.d.ts +17 -0
  22. package/dist/adapters/prisma/fleet-removal.js +109 -0
  23. package/dist/adapters/prisma/fleet-removal.js.map +1 -0
  24. package/dist/adapters/prisma/generated/browser.d.ts +6 -0
  25. package/dist/adapters/prisma/generated/client.d.ts +6 -0
  26. package/dist/adapters/prisma/generated/commonInputTypes.d.ts +0 -30
  27. package/dist/adapters/prisma/generated/enums.d.ts +0 -6
  28. package/dist/adapters/prisma/generated/enums.js +0 -5
  29. package/dist/adapters/prisma/generated/enums.js.map +1 -1
  30. package/dist/adapters/prisma/generated/internal/class.d.ts +11 -0
  31. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  32. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  33. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +89 -10
  34. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +13 -2
  35. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  36. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +13 -1
  37. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +13 -2
  38. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  39. package/dist/adapters/prisma/generated/models/Exchange.d.ts +60 -1
  40. package/dist/adapters/prisma/generated/models/Fleet.d.ts +700 -1
  41. package/dist/adapters/prisma/generated/models/Message.d.ts +174 -1
  42. package/dist/adapters/prisma/generated/models/MessageMetadataBackfill.d.ts +1132 -0
  43. package/dist/adapters/prisma/generated/models/MessageMetadataBackfill.js +2 -0
  44. package/dist/adapters/prisma/generated/models/MessageMetadataBackfill.js.map +1 -0
  45. package/dist/adapters/prisma/generated/models/Operator.d.ts +1 -40
  46. package/dist/adapters/prisma/generated/models.d.ts +1 -0
  47. package/dist/adapters/prisma/health-bootstrap-index.d.ts +2 -0
  48. package/dist/adapters/prisma/health-bootstrap-index.js +15 -0
  49. package/dist/adapters/prisma/health-bootstrap-index.js.map +1 -0
  50. package/dist/adapters/prisma/health-snapshots.js +6 -3
  51. package/dist/adapters/prisma/health-snapshots.js.map +1 -1
  52. package/dist/adapters/prisma/history.d.ts +3 -1
  53. package/dist/adapters/prisma/history.js +22 -4
  54. package/dist/adapters/prisma/history.js.map +1 -1
  55. package/dist/adapters/prisma/identity.js +6 -9
  56. package/dist/adapters/prisma/identity.js.map +1 -1
  57. package/dist/adapters/prisma/index-after-start.d.ts +16 -0
  58. package/dist/adapters/prisma/index-after-start.js +78 -0
  59. package/dist/adapters/prisma/index-after-start.js.map +1 -0
  60. package/dist/adapters/prisma/installation.js +1 -1
  61. package/dist/adapters/prisma/installation.js.map +1 -1
  62. package/dist/adapters/prisma/message-metadata-fill.d.ts +40 -0
  63. package/dist/adapters/prisma/message-metadata-fill.js +122 -0
  64. package/dist/adapters/prisma/message-metadata-fill.js.map +1 -0
  65. package/dist/adapters/prisma/messaging.d.ts +17 -1
  66. package/dist/adapters/prisma/messaging.js +60 -2
  67. package/dist/adapters/prisma/messaging.js.map +1 -1
  68. package/dist/adapters/prisma/page-with-messages.js +2 -0
  69. package/dist/adapters/prisma/page-with-messages.js.map +1 -1
  70. package/dist/adapters/prisma/registry.js +16 -51
  71. package/dist/adapters/prisma/registry.js.map +1 -1
  72. package/dist/adapters/prisma/rows.js +3 -3
  73. package/dist/adapters/prisma/rows.js.map +1 -1
  74. package/dist/adapters/prisma/sealings.js +23 -7
  75. package/dist/adapters/prisma/sealings.js.map +1 -1
  76. package/dist/adapters/prisma/unit-of-work.d.ts +4 -2
  77. package/dist/adapters/prisma/unit-of-work.js +4 -0
  78. package/dist/adapters/prisma/unit-of-work.js.map +1 -1
  79. package/dist/adapters/prisma/unseen-plain-messages.d.ts +3 -0
  80. package/dist/adapters/prisma/unseen-plain-messages.js +20 -0
  81. package/dist/adapters/prisma/unseen-plain-messages.js.map +1 -0
  82. package/dist/adapters/trpc/console.d.ts +1 -10
  83. package/dist/adapters/trpc/console.js +2 -10
  84. package/dist/adapters/trpc/console.js.map +1 -1
  85. package/dist/adapters/trpc/context.d.ts +0 -2
  86. package/dist/adapters/trpc/fleet.js +2 -1
  87. package/dist/adapters/trpc/fleet.js.map +1 -1
  88. package/dist/adapters/trpc/router.d.ts +6 -10
  89. package/dist/adapters/trpc/ship.d.ts +6 -2
  90. package/dist/adapters/trpc/ship.js +4 -2
  91. package/dist/adapters/trpc/ship.js.map +1 -1
  92. package/dist/app.d.ts +4 -0
  93. package/dist/app.js +71 -2
  94. package/dist/app.js.map +1 -1
  95. package/dist/domain/identity/operator-account.d.ts +1 -3
  96. package/dist/domain/identity/operator-account.js.map +1 -1
  97. package/dist/domain/identity/ports.d.ts +1 -6
  98. package/dist/domain/identity/read-account.d.ts +2 -3
  99. package/dist/domain/identity/read-account.js +1 -2
  100. package/dist/domain/identity/read-account.js.map +1 -1
  101. package/dist/domain/messaging/exchange.d.ts +3 -1
  102. package/dist/domain/messaging/exchange.js +10 -6
  103. package/dist/domain/messaging/exchange.js.map +1 -1
  104. package/dist/domain/messaging/fill-message-metadata.d.ts +29 -0
  105. package/dist/domain/messaging/fill-message-metadata.js +54 -0
  106. package/dist/domain/messaging/fill-message-metadata.js.map +1 -0
  107. package/dist/domain/messaging/message.d.ts +4 -0
  108. package/dist/domain/messaging/message.js +7 -1
  109. package/dist/domain/messaging/message.js.map +1 -1
  110. package/dist/domain/messaging/ports.d.ts +62 -2
  111. package/dist/domain/messaging/public.d.ts +1 -0
  112. package/dist/domain/messaging/public.js +1 -0
  113. package/dist/domain/messaging/public.js.map +1 -1
  114. package/dist/domain/messaging/read-exchanges.d.ts +1 -0
  115. package/dist/domain/messaging/read-exchanges.js +2 -1
  116. package/dist/domain/messaging/read-exchanges.js.map +1 -1
  117. package/dist/domain/messaging/retired-asker.d.ts +33 -0
  118. package/dist/domain/messaging/retired-asker.js +81 -0
  119. package/dist/domain/messaging/retired-asker.js.map +1 -0
  120. package/dist/domain/messaging/turn-on-sealing.js +1 -1
  121. package/dist/domain/messaging/turn-on-sealing.js.map +1 -1
  122. package/dist/domain/registry/delete-fleet.d.ts +5 -3
  123. package/dist/domain/registry/delete-fleet.js +6 -4
  124. package/dist/domain/registry/delete-fleet.js.map +1 -1
  125. package/dist/domain/registry/found-fleet.js +1 -1
  126. package/dist/domain/registry/found-fleet.js.map +1 -1
  127. package/dist/domain/registry/ports.d.ts +23 -6
  128. package/dist/domain/registry/public.d.ts +1 -1
  129. package/dist/domain/registry/remove-deleted-fleets.d.ts +30 -0
  130. package/dist/domain/registry/remove-deleted-fleets.js +54 -0
  131. package/dist/domain/registry/remove-deleted-fleets.js.map +1 -0
  132. package/dist/domain/registry/retire-ship.d.ts +6 -2
  133. package/dist/domain/registry/retire-ship.js +9 -1
  134. package/dist/domain/registry/retire-ship.js.map +1 -1
  135. package/dist/domain/shared/health-snapshot.js +7 -2
  136. package/dist/domain/shared/health-snapshot.js.map +1 -1
  137. package/dist/domain/shared/read-sent-message.d.ts +7 -4
  138. package/dist/domain/shared/read-sent-message.js +6 -15
  139. package/dist/domain/shared/read-sent-message.js.map +1 -1
  140. package/dist/maintenance-pass.d.ts +1 -1
  141. package/dist/maintenance-pass.js +4 -1
  142. package/dist/maintenance-pass.js.map +1 -1
  143. package/dist/testing/container-sweeper.d.ts +20 -0
  144. package/dist/testing/container-sweeper.js +47 -14
  145. package/dist/testing/container-sweeper.js.map +1 -1
  146. package/dist/wiring.d.ts +4 -2
  147. package/dist/wiring.js +3 -3
  148. package/dist/wiring.js.map +1 -1
  149. package/package.json +2 -2
  150. package/src/adapters/prisma/migrations/20261115090000_messages_asked_answered_question_id/migration.sql +20 -0
  151. package/src/adapters/prisma/migrations/20261115100000_unseen_plain_messages/migration.sql +3 -0
  152. package/src/adapters/prisma/migrations/20261115110000_theme_per_browser/migration.sql +4 -0
  153. package/src/adapters/prisma/migrations/20261115120000_fleet_deleted_at/migration.sql +2 -0
  154. package/src/adapters/prisma/schema.prisma +27 -14
  155. package/dist/domain/identity/set-theme.d.ts +0 -21
  156. package/dist/domain/identity/set-theme.js +0 -19
  157. package/dist/domain/identity/set-theme.js.map +0 -1
@@ -35,6 +35,8 @@ export type MessageMinAggregateOutputType = {
35
35
  sealedCiphertext: runtime.Bytes | null;
36
36
  sealedPayloadBytes: number | null;
37
37
  questionId: string | null;
38
+ askedQuestionId: string | null;
39
+ answeredQuestionId: string | null;
38
40
  contentType: string | null;
39
41
  model: string | null;
40
42
  idempotencyKey: string | null;
@@ -59,6 +61,8 @@ export type MessageMaxAggregateOutputType = {
59
61
  sealedCiphertext: runtime.Bytes | null;
60
62
  sealedPayloadBytes: number | null;
61
63
  questionId: string | null;
64
+ askedQuestionId: string | null;
65
+ answeredQuestionId: string | null;
62
66
  contentType: string | null;
63
67
  model: string | null;
64
68
  idempotencyKey: string | null;
@@ -84,6 +88,8 @@ export type MessageCountAggregateOutputType = {
84
88
  sealedCiphertext: number;
85
89
  sealedPayloadBytes: number;
86
90
  questionId: number;
91
+ askedQuestionId: number;
92
+ answeredQuestionId: number;
87
93
  contentType: number;
88
94
  model: number;
89
95
  idempotencyKey: number;
@@ -115,6 +121,8 @@ export type MessageMinAggregateInputType = {
115
121
  sealedCiphertext?: true;
116
122
  sealedPayloadBytes?: true;
117
123
  questionId?: true;
124
+ askedQuestionId?: true;
125
+ answeredQuestionId?: true;
118
126
  contentType?: true;
119
127
  model?: true;
120
128
  idempotencyKey?: true;
@@ -139,6 +147,8 @@ export type MessageMaxAggregateInputType = {
139
147
  sealedCiphertext?: true;
140
148
  sealedPayloadBytes?: true;
141
149
  questionId?: true;
150
+ askedQuestionId?: true;
151
+ answeredQuestionId?: true;
142
152
  contentType?: true;
143
153
  model?: true;
144
154
  idempotencyKey?: true;
@@ -164,6 +174,8 @@ export type MessageCountAggregateInputType = {
164
174
  sealedCiphertext?: true;
165
175
  sealedPayloadBytes?: true;
166
176
  questionId?: true;
177
+ askedQuestionId?: true;
178
+ answeredQuestionId?: true;
167
179
  contentType?: true;
168
180
  model?: true;
169
181
  idempotencyKey?: true;
@@ -266,6 +278,8 @@ export type MessageGroupByOutputType = {
266
278
  sealedCiphertext: runtime.Bytes | null;
267
279
  sealedPayloadBytes: number | null;
268
280
  questionId: string | null;
281
+ askedQuestionId: string | null;
282
+ answeredQuestionId: string | null;
269
283
  contentType: string;
270
284
  model: string | null;
271
285
  idempotencyKey: string;
@@ -302,6 +316,8 @@ export type MessageWhereInput = {
302
316
  sealedCiphertext?: Prisma.BytesNullableFilter<"Message"> | runtime.Bytes | null;
303
317
  sealedPayloadBytes?: Prisma.IntNullableFilter<"Message"> | number | null;
304
318
  questionId?: Prisma.StringNullableFilter<"Message"> | string | null;
319
+ askedQuestionId?: Prisma.StringNullableFilter<"Message"> | string | null;
320
+ answeredQuestionId?: Prisma.StringNullableFilter<"Message"> | string | null;
305
321
  contentType?: Prisma.StringFilter<"Message"> | string;
306
322
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
307
323
  idempotencyKey?: Prisma.StringFilter<"Message"> | string;
@@ -338,6 +354,8 @@ export type MessageOrderByWithRelationInput = {
338
354
  sealedCiphertext?: Prisma.SortOrderInput | Prisma.SortOrder;
339
355
  sealedPayloadBytes?: Prisma.SortOrderInput | Prisma.SortOrder;
340
356
  questionId?: Prisma.SortOrderInput | Prisma.SortOrder;
357
+ askedQuestionId?: Prisma.SortOrderInput | Prisma.SortOrder;
358
+ answeredQuestionId?: Prisma.SortOrderInput | Prisma.SortOrder;
341
359
  contentType?: Prisma.SortOrder;
342
360
  model?: Prisma.SortOrderInput | Prisma.SortOrder;
343
361
  idempotencyKey?: Prisma.SortOrder;
@@ -379,6 +397,8 @@ export type MessageWhereUniqueInput = Prisma.AtLeast<{
379
397
  sealedCiphertext?: Prisma.BytesNullableFilter<"Message"> | runtime.Bytes | null;
380
398
  sealedPayloadBytes?: Prisma.IntNullableFilter<"Message"> | number | null;
381
399
  questionId?: Prisma.StringNullableFilter<"Message"> | string | null;
400
+ askedQuestionId?: Prisma.StringNullableFilter<"Message"> | string | null;
401
+ answeredQuestionId?: Prisma.StringNullableFilter<"Message"> | string | null;
382
402
  contentType?: Prisma.StringFilter<"Message"> | string;
383
403
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
384
404
  idempotencyKey?: Prisma.StringFilter<"Message"> | string;
@@ -415,6 +435,8 @@ export type MessageOrderByWithAggregationInput = {
415
435
  sealedCiphertext?: Prisma.SortOrderInput | Prisma.SortOrder;
416
436
  sealedPayloadBytes?: Prisma.SortOrderInput | Prisma.SortOrder;
417
437
  questionId?: Prisma.SortOrderInput | Prisma.SortOrder;
438
+ askedQuestionId?: Prisma.SortOrderInput | Prisma.SortOrder;
439
+ answeredQuestionId?: Prisma.SortOrderInput | Prisma.SortOrder;
418
440
  contentType?: Prisma.SortOrder;
419
441
  model?: Prisma.SortOrderInput | Prisma.SortOrder;
420
442
  idempotencyKey?: Prisma.SortOrder;
@@ -448,6 +470,8 @@ export type MessageScalarWhereWithAggregatesInput = {
448
470
  sealedCiphertext?: Prisma.BytesNullableWithAggregatesFilter<"Message"> | runtime.Bytes | null;
449
471
  sealedPayloadBytes?: Prisma.IntNullableWithAggregatesFilter<"Message"> | number | null;
450
472
  questionId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
473
+ askedQuestionId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
474
+ answeredQuestionId?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
451
475
  contentType?: Prisma.StringWithAggregatesFilter<"Message"> | string;
452
476
  model?: Prisma.StringNullableWithAggregatesFilter<"Message"> | string | null;
453
477
  idempotencyKey?: Prisma.StringWithAggregatesFilter<"Message"> | string;
@@ -469,6 +493,8 @@ export type MessageCreateInput = {
469
493
  sealedCiphertext?: runtime.Bytes | null;
470
494
  sealedPayloadBytes?: number | null;
471
495
  questionId?: string | null;
496
+ askedQuestionId?: string | null;
497
+ answeredQuestionId?: string | null;
472
498
  contentType: string;
473
499
  model?: string | null;
474
500
  idempotencyKey: string;
@@ -503,6 +529,8 @@ export type MessageUncheckedCreateInput = {
503
529
  sealedCiphertext?: runtime.Bytes | null;
504
530
  sealedPayloadBytes?: number | null;
505
531
  questionId?: string | null;
532
+ askedQuestionId?: string | null;
533
+ answeredQuestionId?: string | null;
506
534
  contentType: string;
507
535
  model?: string | null;
508
536
  idempotencyKey: string;
@@ -529,6 +557,8 @@ export type MessageUpdateInput = {
529
557
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
530
558
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
531
559
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
560
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
561
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
532
562
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
533
563
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
534
564
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -563,6 +593,8 @@ export type MessageUncheckedUpdateInput = {
563
593
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
564
594
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
565
595
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
596
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
597
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
566
598
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
567
599
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
568
600
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -593,6 +625,8 @@ export type MessageCreateManyInput = {
593
625
  sealedCiphertext?: runtime.Bytes | null;
594
626
  sealedPayloadBytes?: number | null;
595
627
  questionId?: string | null;
628
+ askedQuestionId?: string | null;
629
+ answeredQuestionId?: string | null;
596
630
  contentType: string;
597
631
  model?: string | null;
598
632
  idempotencyKey: string;
@@ -614,6 +648,8 @@ export type MessageUpdateManyMutationInput = {
614
648
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
615
649
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
616
650
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
651
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
652
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
617
653
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
618
654
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
619
655
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -637,6 +673,8 @@ export type MessageUncheckedUpdateManyInput = {
637
673
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
638
674
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
639
675
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
676
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
677
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
640
678
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
641
679
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
642
680
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -683,6 +721,8 @@ export type MessageCountOrderByAggregateInput = {
683
721
  sealedCiphertext?: Prisma.SortOrder;
684
722
  sealedPayloadBytes?: Prisma.SortOrder;
685
723
  questionId?: Prisma.SortOrder;
724
+ askedQuestionId?: Prisma.SortOrder;
725
+ answeredQuestionId?: Prisma.SortOrder;
686
726
  contentType?: Prisma.SortOrder;
687
727
  model?: Prisma.SortOrder;
688
728
  idempotencyKey?: Prisma.SortOrder;
@@ -710,6 +750,8 @@ export type MessageMaxOrderByAggregateInput = {
710
750
  sealedCiphertext?: Prisma.SortOrder;
711
751
  sealedPayloadBytes?: Prisma.SortOrder;
712
752
  questionId?: Prisma.SortOrder;
753
+ askedQuestionId?: Prisma.SortOrder;
754
+ answeredQuestionId?: Prisma.SortOrder;
713
755
  contentType?: Prisma.SortOrder;
714
756
  model?: Prisma.SortOrder;
715
757
  idempotencyKey?: Prisma.SortOrder;
@@ -734,6 +776,8 @@ export type MessageMinOrderByAggregateInput = {
734
776
  sealedCiphertext?: Prisma.SortOrder;
735
777
  sealedPayloadBytes?: Prisma.SortOrder;
736
778
  questionId?: Prisma.SortOrder;
779
+ askedQuestionId?: Prisma.SortOrder;
780
+ answeredQuestionId?: Prisma.SortOrder;
737
781
  contentType?: Prisma.SortOrder;
738
782
  model?: Prisma.SortOrder;
739
783
  idempotencyKey?: Prisma.SortOrder;
@@ -1069,6 +1113,8 @@ export type MessageCreateWithoutFleetInput = {
1069
1113
  sealedCiphertext?: runtime.Bytes | null;
1070
1114
  sealedPayloadBytes?: number | null;
1071
1115
  questionId?: string | null;
1116
+ askedQuestionId?: string | null;
1117
+ answeredQuestionId?: string | null;
1072
1118
  contentType: string;
1073
1119
  model?: string | null;
1074
1120
  idempotencyKey: string;
@@ -1101,6 +1147,8 @@ export type MessageUncheckedCreateWithoutFleetInput = {
1101
1147
  sealedCiphertext?: runtime.Bytes | null;
1102
1148
  sealedPayloadBytes?: number | null;
1103
1149
  questionId?: string | null;
1150
+ askedQuestionId?: string | null;
1151
+ answeredQuestionId?: string | null;
1104
1152
  contentType: string;
1105
1153
  model?: string | null;
1106
1154
  idempotencyKey: string;
@@ -1155,6 +1203,8 @@ export type MessageScalarWhereInput = {
1155
1203
  sealedCiphertext?: Prisma.BytesNullableFilter<"Message"> | runtime.Bytes | null;
1156
1204
  sealedPayloadBytes?: Prisma.IntNullableFilter<"Message"> | number | null;
1157
1205
  questionId?: Prisma.StringNullableFilter<"Message"> | string | null;
1206
+ askedQuestionId?: Prisma.StringNullableFilter<"Message"> | string | null;
1207
+ answeredQuestionId?: Prisma.StringNullableFilter<"Message"> | string | null;
1158
1208
  contentType?: Prisma.StringFilter<"Message"> | string;
1159
1209
  model?: Prisma.StringNullableFilter<"Message"> | string | null;
1160
1210
  idempotencyKey?: Prisma.StringFilter<"Message"> | string;
@@ -1176,6 +1226,8 @@ export type MessageCreateWithoutSenderShipInput = {
1176
1226
  sealedCiphertext?: runtime.Bytes | null;
1177
1227
  sealedPayloadBytes?: number | null;
1178
1228
  questionId?: string | null;
1229
+ askedQuestionId?: string | null;
1230
+ answeredQuestionId?: string | null;
1179
1231
  contentType: string;
1180
1232
  model?: string | null;
1181
1233
  idempotencyKey: string;
@@ -1207,6 +1259,8 @@ export type MessageUncheckedCreateWithoutSenderShipInput = {
1207
1259
  sealedCiphertext?: runtime.Bytes | null;
1208
1260
  sealedPayloadBytes?: number | null;
1209
1261
  questionId?: string | null;
1262
+ askedQuestionId?: string | null;
1263
+ answeredQuestionId?: string | null;
1210
1264
  contentType: string;
1211
1265
  model?: string | null;
1212
1266
  idempotencyKey: string;
@@ -1241,6 +1295,8 @@ export type MessageCreateWithoutSelectorShipInput = {
1241
1295
  sealedCiphertext?: runtime.Bytes | null;
1242
1296
  sealedPayloadBytes?: number | null;
1243
1297
  questionId?: string | null;
1298
+ askedQuestionId?: string | null;
1299
+ answeredQuestionId?: string | null;
1244
1300
  contentType: string;
1245
1301
  model?: string | null;
1246
1302
  idempotencyKey: string;
@@ -1272,6 +1328,8 @@ export type MessageUncheckedCreateWithoutSelectorShipInput = {
1272
1328
  sealedCiphertext?: runtime.Bytes | null;
1273
1329
  sealedPayloadBytes?: number | null;
1274
1330
  questionId?: string | null;
1331
+ askedQuestionId?: string | null;
1332
+ answeredQuestionId?: string | null;
1275
1333
  contentType: string;
1276
1334
  model?: string | null;
1277
1335
  idempotencyKey: string;
@@ -1332,6 +1390,8 @@ export type MessageCreateWithoutExchangesNewestInput = {
1332
1390
  sealedCiphertext?: runtime.Bytes | null;
1333
1391
  sealedPayloadBytes?: number | null;
1334
1392
  questionId?: string | null;
1393
+ askedQuestionId?: string | null;
1394
+ answeredQuestionId?: string | null;
1335
1395
  contentType: string;
1336
1396
  model?: string | null;
1337
1397
  idempotencyKey: string;
@@ -1365,6 +1425,8 @@ export type MessageUncheckedCreateWithoutExchangesNewestInput = {
1365
1425
  sealedCiphertext?: runtime.Bytes | null;
1366
1426
  sealedPayloadBytes?: number | null;
1367
1427
  questionId?: string | null;
1428
+ askedQuestionId?: string | null;
1429
+ answeredQuestionId?: string | null;
1368
1430
  contentType: string;
1369
1431
  model?: string | null;
1370
1432
  idempotencyKey: string;
@@ -1403,6 +1465,8 @@ export type MessageUpdateWithoutExchangesNewestInput = {
1403
1465
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1404
1466
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1405
1467
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1468
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1469
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1406
1470
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1407
1471
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1408
1472
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1436,6 +1500,8 @@ export type MessageUncheckedUpdateWithoutExchangesNewestInput = {
1436
1500
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1437
1501
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1438
1502
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1503
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1504
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1439
1505
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1440
1506
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1441
1507
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1461,6 +1527,8 @@ export type MessageCreateWithoutMeetingInput = {
1461
1527
  sealedCiphertext?: runtime.Bytes | null;
1462
1528
  sealedPayloadBytes?: number | null;
1463
1529
  questionId?: string | null;
1530
+ askedQuestionId?: string | null;
1531
+ answeredQuestionId?: string | null;
1464
1532
  contentType: string;
1465
1533
  model?: string | null;
1466
1534
  idempotencyKey: string;
@@ -1493,6 +1561,8 @@ export type MessageUncheckedCreateWithoutMeetingInput = {
1493
1561
  sealedCiphertext?: runtime.Bytes | null;
1494
1562
  sealedPayloadBytes?: number | null;
1495
1563
  questionId?: string | null;
1564
+ askedQuestionId?: string | null;
1565
+ answeredQuestionId?: string | null;
1496
1566
  contentType: string;
1497
1567
  model?: string | null;
1498
1568
  idempotencyKey: string;
@@ -1539,6 +1609,8 @@ export type MessageCreateWithoutRepliedToBySchedulesInput = {
1539
1609
  sealedCiphertext?: runtime.Bytes | null;
1540
1610
  sealedPayloadBytes?: number | null;
1541
1611
  questionId?: string | null;
1612
+ askedQuestionId?: string | null;
1613
+ answeredQuestionId?: string | null;
1542
1614
  contentType: string;
1543
1615
  model?: string | null;
1544
1616
  idempotencyKey: string;
@@ -1572,6 +1644,8 @@ export type MessageUncheckedCreateWithoutRepliedToBySchedulesInput = {
1572
1644
  sealedCiphertext?: runtime.Bytes | null;
1573
1645
  sealedPayloadBytes?: number | null;
1574
1646
  questionId?: string | null;
1647
+ askedQuestionId?: string | null;
1648
+ answeredQuestionId?: string | null;
1575
1649
  contentType: string;
1576
1650
  model?: string | null;
1577
1651
  idempotencyKey: string;
@@ -1601,6 +1675,8 @@ export type MessageCreateWithoutLastSentBySchedulesInput = {
1601
1675
  sealedCiphertext?: runtime.Bytes | null;
1602
1676
  sealedPayloadBytes?: number | null;
1603
1677
  questionId?: string | null;
1678
+ askedQuestionId?: string | null;
1679
+ answeredQuestionId?: string | null;
1604
1680
  contentType: string;
1605
1681
  model?: string | null;
1606
1682
  idempotencyKey: string;
@@ -1634,6 +1710,8 @@ export type MessageUncheckedCreateWithoutLastSentBySchedulesInput = {
1634
1710
  sealedCiphertext?: runtime.Bytes | null;
1635
1711
  sealedPayloadBytes?: number | null;
1636
1712
  questionId?: string | null;
1713
+ askedQuestionId?: string | null;
1714
+ answeredQuestionId?: string | null;
1637
1715
  contentType: string;
1638
1716
  model?: string | null;
1639
1717
  idempotencyKey: string;
@@ -1663,6 +1741,8 @@ export type MessageCreateWithoutScheduleInput = {
1663
1741
  sealedCiphertext?: runtime.Bytes | null;
1664
1742
  sealedPayloadBytes?: number | null;
1665
1743
  questionId?: string | null;
1744
+ askedQuestionId?: string | null;
1745
+ answeredQuestionId?: string | null;
1666
1746
  contentType: string;
1667
1747
  model?: string | null;
1668
1748
  idempotencyKey: string;
@@ -1695,6 +1775,8 @@ export type MessageUncheckedCreateWithoutScheduleInput = {
1695
1775
  sealedCiphertext?: runtime.Bytes | null;
1696
1776
  sealedPayloadBytes?: number | null;
1697
1777
  questionId?: string | null;
1778
+ askedQuestionId?: string | null;
1779
+ answeredQuestionId?: string | null;
1698
1780
  contentType: string;
1699
1781
  model?: string | null;
1700
1782
  idempotencyKey: string;
@@ -1737,6 +1819,8 @@ export type MessageUpdateWithoutRepliedToBySchedulesInput = {
1737
1819
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1738
1820
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1739
1821
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1822
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1823
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1740
1824
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1741
1825
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1742
1826
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1770,6 +1854,8 @@ export type MessageUncheckedUpdateWithoutRepliedToBySchedulesInput = {
1770
1854
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1771
1855
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1772
1856
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1857
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1858
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1773
1859
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1774
1860
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1775
1861
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1804,6 +1890,8 @@ export type MessageUpdateWithoutLastSentBySchedulesInput = {
1804
1890
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1805
1891
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1806
1892
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1893
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1894
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1807
1895
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1808
1896
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1809
1897
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1837,6 +1925,8 @@ export type MessageUncheckedUpdateWithoutLastSentBySchedulesInput = {
1837
1925
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1838
1926
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1839
1927
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1928
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1929
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1840
1930
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1841
1931
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1842
1932
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1875,6 +1965,8 @@ export type MessageCreateWithoutDeliveriesInput = {
1875
1965
  sealedCiphertext?: runtime.Bytes | null;
1876
1966
  sealedPayloadBytes?: number | null;
1877
1967
  questionId?: string | null;
1968
+ askedQuestionId?: string | null;
1969
+ answeredQuestionId?: string | null;
1878
1970
  contentType: string;
1879
1971
  model?: string | null;
1880
1972
  idempotencyKey: string;
@@ -1908,6 +2000,8 @@ export type MessageUncheckedCreateWithoutDeliveriesInput = {
1908
2000
  sealedCiphertext?: runtime.Bytes | null;
1909
2001
  sealedPayloadBytes?: number | null;
1910
2002
  questionId?: string | null;
2003
+ askedQuestionId?: string | null;
2004
+ answeredQuestionId?: string | null;
1911
2005
  contentType: string;
1912
2006
  model?: string | null;
1913
2007
  idempotencyKey: string;
@@ -1946,6 +2040,8 @@ export type MessageUpdateWithoutDeliveriesInput = {
1946
2040
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1947
2041
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1948
2042
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2043
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2044
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1949
2045
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1950
2046
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1951
2047
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1979,6 +2075,8 @@ export type MessageUncheckedUpdateWithoutDeliveriesInput = {
1979
2075
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
1980
2076
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1981
2077
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2079
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1982
2080
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
1983
2081
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1984
2082
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2004,6 +2102,8 @@ export type MessageCreateWithoutEventsInput = {
2004
2102
  sealedCiphertext?: runtime.Bytes | null;
2005
2103
  sealedPayloadBytes?: number | null;
2006
2104
  questionId?: string | null;
2105
+ askedQuestionId?: string | null;
2106
+ answeredQuestionId?: string | null;
2007
2107
  contentType: string;
2008
2108
  model?: string | null;
2009
2109
  idempotencyKey: string;
@@ -2037,6 +2137,8 @@ export type MessageUncheckedCreateWithoutEventsInput = {
2037
2137
  sealedCiphertext?: runtime.Bytes | null;
2038
2138
  sealedPayloadBytes?: number | null;
2039
2139
  questionId?: string | null;
2140
+ askedQuestionId?: string | null;
2141
+ answeredQuestionId?: string | null;
2040
2142
  contentType: string;
2041
2143
  model?: string | null;
2042
2144
  idempotencyKey: string;
@@ -2075,6 +2177,8 @@ export type MessageUpdateWithoutEventsInput = {
2075
2177
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2076
2178
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2077
2179
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2180
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2181
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
2182
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2079
2183
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2080
2184
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2108,6 +2212,8 @@ export type MessageUncheckedUpdateWithoutEventsInput = {
2108
2212
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2109
2213
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2110
2214
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2215
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2216
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2111
2217
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2112
2218
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2113
2219
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2133,6 +2239,8 @@ export type MessageCreateWithoutSealedDataKeyInput = {
2133
2239
  sealedCiphertext?: runtime.Bytes | null;
2134
2240
  sealedPayloadBytes?: number | null;
2135
2241
  questionId?: string | null;
2242
+ askedQuestionId?: string | null;
2243
+ answeredQuestionId?: string | null;
2136
2244
  contentType: string;
2137
2245
  model?: string | null;
2138
2246
  idempotencyKey: string;
@@ -2164,6 +2272,8 @@ export type MessageUncheckedCreateWithoutSealedDataKeyInput = {
2164
2272
  sealedCiphertext?: runtime.Bytes | null;
2165
2273
  sealedPayloadBytes?: number | null;
2166
2274
  questionId?: string | null;
2275
+ askedQuestionId?: string | null;
2276
+ answeredQuestionId?: string | null;
2167
2277
  contentType: string;
2168
2278
  model?: string | null;
2169
2279
  idempotencyKey: string;
@@ -2214,6 +2324,8 @@ export type MessageCreateManyFleetInput = {
2214
2324
  sealedCiphertext?: runtime.Bytes | null;
2215
2325
  sealedPayloadBytes?: number | null;
2216
2326
  questionId?: string | null;
2327
+ askedQuestionId?: string | null;
2328
+ answeredQuestionId?: string | null;
2217
2329
  contentType: string;
2218
2330
  model?: string | null;
2219
2331
  idempotencyKey: string;
@@ -2235,6 +2347,8 @@ export type MessageUpdateWithoutFleetInput = {
2235
2347
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2236
2348
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2237
2349
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2350
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2351
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2238
2352
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2239
2353
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2240
2354
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2267,6 +2381,8 @@ export type MessageUncheckedUpdateWithoutFleetInput = {
2267
2381
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2268
2382
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2269
2383
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2384
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2385
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2270
2386
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2271
2387
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2272
2388
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2296,6 +2412,8 @@ export type MessageUncheckedUpdateManyWithoutFleetInput = {
2296
2412
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2297
2413
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2298
2414
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2415
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2416
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2299
2417
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2300
2418
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2301
2419
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2319,6 +2437,8 @@ export type MessageCreateManySenderShipInput = {
2319
2437
  sealedCiphertext?: runtime.Bytes | null;
2320
2438
  sealedPayloadBytes?: number | null;
2321
2439
  questionId?: string | null;
2440
+ askedQuestionId?: string | null;
2441
+ answeredQuestionId?: string | null;
2322
2442
  contentType: string;
2323
2443
  model?: string | null;
2324
2444
  idempotencyKey: string;
@@ -2342,6 +2462,8 @@ export type MessageCreateManySelectorShipInput = {
2342
2462
  sealedCiphertext?: runtime.Bytes | null;
2343
2463
  sealedPayloadBytes?: number | null;
2344
2464
  questionId?: string | null;
2465
+ askedQuestionId?: string | null;
2466
+ answeredQuestionId?: string | null;
2345
2467
  contentType: string;
2346
2468
  model?: string | null;
2347
2469
  idempotencyKey: string;
@@ -2363,6 +2485,8 @@ export type MessageUpdateWithoutSenderShipInput = {
2363
2485
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2364
2486
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2365
2487
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2488
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2489
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2366
2490
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2367
2491
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2368
2492
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2394,6 +2518,8 @@ export type MessageUncheckedUpdateWithoutSenderShipInput = {
2394
2518
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2395
2519
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2396
2520
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2521
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2522
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2397
2523
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2398
2524
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2399
2525
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2422,6 +2548,8 @@ export type MessageUncheckedUpdateManyWithoutSenderShipInput = {
2422
2548
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2423
2549
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2424
2550
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2551
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2552
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2425
2553
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2426
2554
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2427
2555
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2443,6 +2571,8 @@ export type MessageUpdateWithoutSelectorShipInput = {
2443
2571
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2444
2572
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2445
2573
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2574
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2575
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2446
2576
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2447
2577
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2448
2578
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2474,6 +2604,8 @@ export type MessageUncheckedUpdateWithoutSelectorShipInput = {
2474
2604
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2475
2605
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2476
2606
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2607
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2608
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2477
2609
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2478
2610
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2479
2611
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2502,6 +2634,8 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipInput = {
2502
2634
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2503
2635
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2504
2636
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2637
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2638
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2505
2639
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2506
2640
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2507
2641
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2526,6 +2660,8 @@ export type MessageCreateManyMeetingInput = {
2526
2660
  sealedCiphertext?: runtime.Bytes | null;
2527
2661
  sealedPayloadBytes?: number | null;
2528
2662
  questionId?: string | null;
2663
+ askedQuestionId?: string | null;
2664
+ answeredQuestionId?: string | null;
2529
2665
  contentType: string;
2530
2666
  model?: string | null;
2531
2667
  idempotencyKey: string;
@@ -2546,6 +2682,8 @@ export type MessageUpdateWithoutMeetingInput = {
2546
2682
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2547
2683
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2548
2684
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2685
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2686
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2549
2687
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2550
2688
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2551
2689
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2578,6 +2716,8 @@ export type MessageUncheckedUpdateWithoutMeetingInput = {
2578
2716
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2579
2717
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2580
2718
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2719
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2720
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2581
2721
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2582
2722
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2583
2723
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2606,6 +2746,8 @@ export type MessageUncheckedUpdateManyWithoutMeetingInput = {
2606
2746
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2607
2747
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2608
2748
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2749
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2750
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2609
2751
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2610
2752
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2611
2753
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2629,6 +2771,8 @@ export type MessageCreateManyScheduleInput = {
2629
2771
  sealedCiphertext?: runtime.Bytes | null;
2630
2772
  sealedPayloadBytes?: number | null;
2631
2773
  questionId?: string | null;
2774
+ askedQuestionId?: string | null;
2775
+ answeredQuestionId?: string | null;
2632
2776
  contentType: string;
2633
2777
  model?: string | null;
2634
2778
  idempotencyKey: string;
@@ -2649,6 +2793,8 @@ export type MessageUpdateWithoutScheduleInput = {
2649
2793
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2650
2794
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2651
2795
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2796
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2797
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2652
2798
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2653
2799
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2654
2800
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2681,6 +2827,8 @@ export type MessageUncheckedUpdateWithoutScheduleInput = {
2681
2827
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2682
2828
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2683
2829
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2830
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2831
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2684
2832
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2685
2833
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2686
2834
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2709,6 +2857,8 @@ export type MessageUncheckedUpdateManyWithoutScheduleInput = {
2709
2857
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2710
2858
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2711
2859
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2860
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2861
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2712
2862
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2713
2863
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2714
2864
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2731,6 +2881,8 @@ export type MessageCreateManySealedDataKeyInput = {
2731
2881
  sealedCiphertext?: runtime.Bytes | null;
2732
2882
  sealedPayloadBytes?: number | null;
2733
2883
  questionId?: string | null;
2884
+ askedQuestionId?: string | null;
2885
+ answeredQuestionId?: string | null;
2734
2886
  contentType: string;
2735
2887
  model?: string | null;
2736
2888
  idempotencyKey: string;
@@ -2752,6 +2904,8 @@ export type MessageUpdateWithoutSealedDataKeyInput = {
2752
2904
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2753
2905
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2754
2906
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2907
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2908
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2755
2909
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2756
2910
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2757
2911
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2783,6 +2937,8 @@ export type MessageUncheckedUpdateWithoutSealedDataKeyInput = {
2783
2937
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2784
2938
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2785
2939
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2940
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2941
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2786
2942
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2787
2943
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2788
2944
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2811,6 +2967,8 @@ export type MessageUncheckedUpdateManyWithoutSealedDataKeyInput = {
2811
2967
  sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
2812
2968
  sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2813
2969
  questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2970
+ askedQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2971
+ answeredQuestionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2814
2972
  contentType?: Prisma.StringFieldUpdateOperationsInput | string;
2815
2973
  model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2816
2974
  idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2892,6 +3050,8 @@ export type MessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
2892
3050
  sealedCiphertext?: boolean;
2893
3051
  sealedPayloadBytes?: boolean;
2894
3052
  questionId?: boolean;
3053
+ askedQuestionId?: boolean;
3054
+ answeredQuestionId?: boolean;
2895
3055
  contentType?: boolean;
2896
3056
  model?: boolean;
2897
3057
  idempotencyKey?: boolean;
@@ -2929,6 +3089,8 @@ export type MessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exten
2929
3089
  sealedCiphertext?: boolean;
2930
3090
  sealedPayloadBytes?: boolean;
2931
3091
  questionId?: boolean;
3092
+ askedQuestionId?: boolean;
3093
+ answeredQuestionId?: boolean;
2932
3094
  contentType?: boolean;
2933
3095
  model?: boolean;
2934
3096
  idempotencyKey?: boolean;
@@ -2960,6 +3122,8 @@ export type MessageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exten
2960
3122
  sealedCiphertext?: boolean;
2961
3123
  sealedPayloadBytes?: boolean;
2962
3124
  questionId?: boolean;
3125
+ askedQuestionId?: boolean;
3126
+ answeredQuestionId?: boolean;
2963
3127
  contentType?: boolean;
2964
3128
  model?: boolean;
2965
3129
  idempotencyKey?: boolean;
@@ -2991,6 +3155,8 @@ export type MessageSelectScalar = {
2991
3155
  sealedCiphertext?: boolean;
2992
3156
  sealedPayloadBytes?: boolean;
2993
3157
  questionId?: boolean;
3158
+ askedQuestionId?: boolean;
3159
+ answeredQuestionId?: boolean;
2994
3160
  contentType?: boolean;
2995
3161
  model?: boolean;
2996
3162
  idempotencyKey?: boolean;
@@ -3002,7 +3168,7 @@ export type MessageSelectScalar = {
3002
3168
  sendTime?: boolean;
3003
3169
  createdAt?: boolean;
3004
3170
  };
3005
- 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" | "sealedDataKeyId" | "sealedNonce" | "sealedCiphertext" | "sealedPayloadBytes" | "questionId" | "contentType" | "model" | "idempotencyKey" | "requestHash" | "inReplyToMessageId" | "resendOfMessageId" | "meetingId" | "scheduleId" | "sendTime" | "createdAt", ExtArgs["result"]["message"]>;
3171
+ 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" | "sealedDataKeyId" | "sealedNonce" | "sealedCiphertext" | "sealedPayloadBytes" | "questionId" | "askedQuestionId" | "answeredQuestionId" | "contentType" | "model" | "idempotencyKey" | "requestHash" | "inReplyToMessageId" | "resendOfMessageId" | "meetingId" | "scheduleId" | "sendTime" | "createdAt", ExtArgs["result"]["message"]>;
3006
3172
  export type MessageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3007
3173
  fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
3008
3174
  senderShip?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
@@ -3072,6 +3238,11 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
3072
3238
  * The question uuid a withdrawal or a replacement names, read at send (decision 0068, B18).
3073
3239
  */
3074
3240
  questionId: string | null;
3241
+ /**
3242
+ * The question uuid a question or a replacement asks, and the one an answer names, read at send (#1632).
3243
+ */
3244
+ askedQuestionId: string | null;
3245
+ answeredQuestionId: string | null;
3075
3246
  contentType: string;
3076
3247
  /**
3077
3248
  * The model the sender's session stated; none from argo and on messages from before models were stated.
@@ -3473,6 +3644,8 @@ export interface MessageFieldRefs {
3473
3644
  readonly sealedCiphertext: Prisma.FieldRef<"Message", 'Bytes'>;
3474
3645
  readonly sealedPayloadBytes: Prisma.FieldRef<"Message", 'Int'>;
3475
3646
  readonly questionId: Prisma.FieldRef<"Message", 'String'>;
3647
+ readonly askedQuestionId: Prisma.FieldRef<"Message", 'String'>;
3648
+ readonly answeredQuestionId: Prisma.FieldRef<"Message", 'String'>;
3476
3649
  readonly contentType: Prisma.FieldRef<"Message", 'String'>;
3477
3650
  readonly model: Prisma.FieldRef<"Message", 'String'>;
3478
3651
  readonly idempotencyKey: Prisma.FieldRef<"Message", 'String'>;