@aeolus-fleet/core 0.38.1 → 0.38.3
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.
- package/dist/adapters/prisma/exchange-rollups.d.ts +74 -0
- package/dist/adapters/prisma/exchange-rollups.js +121 -0
- package/dist/adapters/prisma/exchange-rollups.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +7 -0
- package/dist/adapters/prisma/generated/client.d.ts +7 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +11 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +88 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +11 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +12 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +11 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +208 -1
- package/dist/adapters/prisma/generated/models/Exchange.d.ts +1524 -0
- package/dist/adapters/prisma/generated/models/Exchange.js +2 -0
- package/dist/adapters/prisma/generated/models/Exchange.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +487 -0
- package/dist/adapters/prisma/generated/models/Message.d.ts +227 -4
- package/dist/adapters/prisma/generated/models/Ship.d.ts +806 -0
- package/dist/adapters/prisma/generated/models.d.ts +1 -0
- package/dist/adapters/prisma/history-pruner.js +29 -2
- package/dist/adapters/prisma/history-pruner.js.map +1 -1
- package/dist/adapters/prisma/messaging.d.ts +33 -1
- package/dist/adapters/prisma/messaging.js +112 -13
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/registry.d.ts +2 -1
- package/dist/adapters/prisma/registry.js +25 -6
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +8 -3
- package/dist/adapters/prisma/unit-of-work.js +10 -4
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/context.d.ts +6 -0
- package/dist/adapters/trpc/fleet.d.ts +12 -12
- package/dist/adapters/trpc/router.d.ts +75 -12
- package/dist/adapters/trpc/ship-protocol.js +1 -0
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +78 -0
- package/dist/adapters/trpc/ship.js +70 -1
- package/dist/adapters/trpc/ship.js.map +1 -1
- package/dist/adapters/trpc/trpc.js +1 -0
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/domain/messaging/acknowledge-up-to.d.ts +38 -0
- package/dist/domain/messaging/acknowledge-up-to.js +56 -0
- package/dist/domain/messaging/acknowledge-up-to.js.map +1 -0
- package/dist/domain/messaging/delivery.d.ts +16 -0
- package/dist/domain/messaging/delivery.js +41 -0
- package/dist/domain/messaging/delivery.js.map +1 -1
- package/dist/domain/messaging/exchange.d.ts +35 -0
- package/dist/domain/messaging/exchange.js +44 -0
- package/dist/domain/messaging/exchange.js.map +1 -0
- package/dist/domain/messaging/meeting-notice.js +1 -1
- package/dist/domain/messaging/meeting-notice.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +65 -2
- package/dist/domain/messaging/read-exchange.d.ts +62 -0
- package/dist/domain/messaging/read-exchange.js +108 -0
- package/dist/domain/messaging/read-exchange.js.map +1 -0
- package/dist/domain/messaging/read-exchanges.d.ts +46 -0
- package/dist/domain/messaging/read-exchanges.js +40 -0
- package/dist/domain/messaging/read-exchanges.js.map +1 -0
- package/dist/domain/messaging/resend-delivery.js +1 -1
- package/dist/domain/messaging/resend-delivery.js.map +1 -1
- package/dist/domain/messaging/send-message.js +3 -3
- package/dist/domain/messaging/send-message.js.map +1 -1
- package/dist/domain/shared/errors.d.ts +1 -1
- package/dist/domain/shared/errors.js.map +1 -1
- package/dist/domain/shared/history-pruning.d.ts +10 -3
- package/dist/domain/shared/history-pruning.js +9 -6
- package/dist/domain/shared/history-pruning.js.map +1 -1
- package/dist/wiring.d.ts +6 -0
- package/dist/wiring.js +6 -0
- package/dist/wiring.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/prisma/migrations/20261109090000_delivery_exchange/migration.sql +19 -0
- package/src/adapters/prisma/migrations/20261109100000_exchanges/migration.sql +35 -0
- package/src/adapters/prisma/migrations/20261109110000_delivery_in_flight_claimed_index/migration.sql +4 -0
- package/src/adapters/prisma/schema.prisma +36 -0
|
@@ -322,6 +322,7 @@ export type MessageWhereInput = {
|
|
|
322
322
|
lastSentBySchedules?: Prisma.ScheduleListRelationFilter;
|
|
323
323
|
deliveries?: Prisma.DeliveryListRelationFilter;
|
|
324
324
|
events?: Prisma.EventListRelationFilter;
|
|
325
|
+
exchangesNewest?: Prisma.ExchangeListRelationFilter;
|
|
325
326
|
};
|
|
326
327
|
export type MessageOrderByWithRelationInput = {
|
|
327
328
|
id?: Prisma.SortOrder;
|
|
@@ -357,6 +358,7 @@ export type MessageOrderByWithRelationInput = {
|
|
|
357
358
|
lastSentBySchedules?: Prisma.ScheduleOrderByRelationAggregateInput;
|
|
358
359
|
deliveries?: Prisma.DeliveryOrderByRelationAggregateInput;
|
|
359
360
|
events?: Prisma.EventOrderByRelationAggregateInput;
|
|
361
|
+
exchangesNewest?: Prisma.ExchangeOrderByRelationAggregateInput;
|
|
360
362
|
};
|
|
361
363
|
export type MessageWhereUniqueInput = Prisma.AtLeast<{
|
|
362
364
|
id?: string;
|
|
@@ -397,6 +399,7 @@ export type MessageWhereUniqueInput = Prisma.AtLeast<{
|
|
|
397
399
|
lastSentBySchedules?: Prisma.ScheduleListRelationFilter;
|
|
398
400
|
deliveries?: Prisma.DeliveryListRelationFilter;
|
|
399
401
|
events?: Prisma.EventListRelationFilter;
|
|
402
|
+
exchangesNewest?: Prisma.ExchangeListRelationFilter;
|
|
400
403
|
}, "id" | "fleetId_id" | "fleetId_senderShipId_idempotencyKey">;
|
|
401
404
|
export type MessageOrderByWithAggregationInput = {
|
|
402
405
|
id?: Prisma.SortOrder;
|
|
@@ -484,6 +487,7 @@ export type MessageCreateInput = {
|
|
|
484
487
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
485
488
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
486
489
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
490
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
487
491
|
};
|
|
488
492
|
export type MessageUncheckedCreateInput = {
|
|
489
493
|
id: string;
|
|
@@ -513,6 +517,7 @@ export type MessageUncheckedCreateInput = {
|
|
|
513
517
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
514
518
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
515
519
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
520
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
516
521
|
};
|
|
517
522
|
export type MessageUpdateInput = {
|
|
518
523
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -542,6 +547,7 @@ export type MessageUpdateInput = {
|
|
|
542
547
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
543
548
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
544
549
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
550
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
545
551
|
};
|
|
546
552
|
export type MessageUncheckedUpdateInput = {
|
|
547
553
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -571,6 +577,7 @@ export type MessageUncheckedUpdateInput = {
|
|
|
571
577
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
572
578
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
573
579
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
580
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
574
581
|
};
|
|
575
582
|
export type MessageCreateManyInput = {
|
|
576
583
|
id: string;
|
|
@@ -649,6 +656,10 @@ export type MessageListRelationFilter = {
|
|
|
649
656
|
export type MessageOrderByRelationAggregateInput = {
|
|
650
657
|
_count?: Prisma.SortOrder;
|
|
651
658
|
};
|
|
659
|
+
export type MessageScalarRelationFilter = {
|
|
660
|
+
is?: Prisma.MessageWhereInput;
|
|
661
|
+
isNot?: Prisma.MessageWhereInput;
|
|
662
|
+
};
|
|
652
663
|
export type MessageFleetIdIdCompoundUniqueInput = {
|
|
653
664
|
fleetId: string;
|
|
654
665
|
id: string;
|
|
@@ -741,10 +752,6 @@ export type MessageNullableScalarRelationFilter = {
|
|
|
741
752
|
is?: Prisma.MessageWhereInput | null;
|
|
742
753
|
isNot?: Prisma.MessageWhereInput | null;
|
|
743
754
|
};
|
|
744
|
-
export type MessageScalarRelationFilter = {
|
|
745
|
-
is?: Prisma.MessageWhereInput;
|
|
746
|
-
isNot?: Prisma.MessageWhereInput;
|
|
747
|
-
};
|
|
748
755
|
export type MessageCreateNestedManyWithoutFleetInput = {
|
|
749
756
|
create?: Prisma.XOR<Prisma.MessageCreateWithoutFleetInput, Prisma.MessageUncheckedCreateWithoutFleetInput> | Prisma.MessageCreateWithoutFleetInput[] | Prisma.MessageUncheckedCreateWithoutFleetInput[];
|
|
750
757
|
connectOrCreate?: Prisma.MessageCreateOrConnectWithoutFleetInput | Prisma.MessageCreateOrConnectWithoutFleetInput[];
|
|
@@ -859,6 +866,18 @@ export type MessageUncheckedUpdateManyWithoutSelectorShipNestedInput = {
|
|
|
859
866
|
updateMany?: Prisma.MessageUpdateManyWithWhereWithoutSelectorShipInput | Prisma.MessageUpdateManyWithWhereWithoutSelectorShipInput[];
|
|
860
867
|
deleteMany?: Prisma.MessageScalarWhereInput | Prisma.MessageScalarWhereInput[];
|
|
861
868
|
};
|
|
869
|
+
export type MessageCreateNestedOneWithoutExchangesNewestInput = {
|
|
870
|
+
create?: Prisma.XOR<Prisma.MessageCreateWithoutExchangesNewestInput, Prisma.MessageUncheckedCreateWithoutExchangesNewestInput>;
|
|
871
|
+
connectOrCreate?: Prisma.MessageCreateOrConnectWithoutExchangesNewestInput;
|
|
872
|
+
connect?: Prisma.MessageWhereUniqueInput;
|
|
873
|
+
};
|
|
874
|
+
export type MessageUpdateOneRequiredWithoutExchangesNewestNestedInput = {
|
|
875
|
+
create?: Prisma.XOR<Prisma.MessageCreateWithoutExchangesNewestInput, Prisma.MessageUncheckedCreateWithoutExchangesNewestInput>;
|
|
876
|
+
connectOrCreate?: Prisma.MessageCreateOrConnectWithoutExchangesNewestInput;
|
|
877
|
+
upsert?: Prisma.MessageUpsertWithoutExchangesNewestInput;
|
|
878
|
+
connect?: Prisma.MessageWhereUniqueInput;
|
|
879
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.MessageUpdateToOneWithWhereWithoutExchangesNewestInput, Prisma.MessageUpdateWithoutExchangesNewestInput>, Prisma.MessageUncheckedUpdateWithoutExchangesNewestInput>;
|
|
880
|
+
};
|
|
862
881
|
export type MessageCreateselectorValueIdsInput = {
|
|
863
882
|
set: string[];
|
|
864
883
|
};
|
|
@@ -1067,6 +1086,7 @@ export type MessageCreateWithoutFleetInput = {
|
|
|
1067
1086
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1068
1087
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1069
1088
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1089
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1070
1090
|
};
|
|
1071
1091
|
export type MessageUncheckedCreateWithoutFleetInput = {
|
|
1072
1092
|
id: string;
|
|
@@ -1095,6 +1115,7 @@ export type MessageUncheckedCreateWithoutFleetInput = {
|
|
|
1095
1115
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1096
1116
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1097
1117
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1118
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1098
1119
|
};
|
|
1099
1120
|
export type MessageCreateOrConnectWithoutFleetInput = {
|
|
1100
1121
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1172,6 +1193,7 @@ export type MessageCreateWithoutSenderShipInput = {
|
|
|
1172
1193
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1173
1194
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1174
1195
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1196
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1175
1197
|
};
|
|
1176
1198
|
export type MessageUncheckedCreateWithoutSenderShipInput = {
|
|
1177
1199
|
id: string;
|
|
@@ -1199,6 +1221,7 @@ export type MessageUncheckedCreateWithoutSenderShipInput = {
|
|
|
1199
1221
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1200
1222
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1201
1223
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1224
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1202
1225
|
};
|
|
1203
1226
|
export type MessageCreateOrConnectWithoutSenderShipInput = {
|
|
1204
1227
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1235,6 +1258,7 @@ export type MessageCreateWithoutSelectorShipInput = {
|
|
|
1235
1258
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1236
1259
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1237
1260
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1261
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1238
1262
|
};
|
|
1239
1263
|
export type MessageUncheckedCreateWithoutSelectorShipInput = {
|
|
1240
1264
|
id: string;
|
|
@@ -1262,6 +1286,7 @@ export type MessageUncheckedCreateWithoutSelectorShipInput = {
|
|
|
1262
1286
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1263
1287
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1264
1288
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1289
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1265
1290
|
};
|
|
1266
1291
|
export type MessageCreateOrConnectWithoutSelectorShipInput = {
|
|
1267
1292
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1297,6 +1322,135 @@ export type MessageUpdateManyWithWhereWithoutSelectorShipInput = {
|
|
|
1297
1322
|
where: Prisma.MessageScalarWhereInput;
|
|
1298
1323
|
data: Prisma.XOR<Prisma.MessageUpdateManyMutationInput, Prisma.MessageUncheckedUpdateManyWithoutSelectorShipInput>;
|
|
1299
1324
|
};
|
|
1325
|
+
export type MessageCreateWithoutExchangesNewestInput = {
|
|
1326
|
+
id: string;
|
|
1327
|
+
selectorKind: $Enums.SelectorKind;
|
|
1328
|
+
selectorType?: string | null;
|
|
1329
|
+
selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
|
|
1330
|
+
payload?: string | null;
|
|
1331
|
+
sealedNonce?: runtime.Bytes | null;
|
|
1332
|
+
sealedCiphertext?: runtime.Bytes | null;
|
|
1333
|
+
sealedPayloadBytes?: number | null;
|
|
1334
|
+
questionId?: string | null;
|
|
1335
|
+
contentType: string;
|
|
1336
|
+
model?: string | null;
|
|
1337
|
+
idempotencyKey: string;
|
|
1338
|
+
requestHash: string;
|
|
1339
|
+
inReplyToMessageId?: string | null;
|
|
1340
|
+
resendOfMessageId?: string | null;
|
|
1341
|
+
sendTime?: Date | string | null;
|
|
1342
|
+
createdAt: Date | string;
|
|
1343
|
+
fleet: Prisma.FleetCreateNestedOneWithoutMessagesInput;
|
|
1344
|
+
senderShip: Prisma.ShipCreateNestedOneWithoutSentMessagesInput;
|
|
1345
|
+
selectorShip?: Prisma.ShipCreateNestedOneWithoutAddressedMessagesInput;
|
|
1346
|
+
meeting?: Prisma.MeetingCreateNestedOneWithoutMessagesInput;
|
|
1347
|
+
schedule?: Prisma.ScheduleCreateNestedOneWithoutMessagesInput;
|
|
1348
|
+
sealedDataKey?: Prisma.DataKeyCreateNestedOneWithoutMessagesInput;
|
|
1349
|
+
repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
|
|
1350
|
+
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1351
|
+
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1352
|
+
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1353
|
+
};
|
|
1354
|
+
export type MessageUncheckedCreateWithoutExchangesNewestInput = {
|
|
1355
|
+
id: string;
|
|
1356
|
+
fleetId: string;
|
|
1357
|
+
senderShipId: string;
|
|
1358
|
+
selectorKind: $Enums.SelectorKind;
|
|
1359
|
+
selectorShipId?: string | null;
|
|
1360
|
+
selectorType?: string | null;
|
|
1361
|
+
selectorValueIds?: Prisma.MessageCreateselectorValueIdsInput | string[];
|
|
1362
|
+
payload?: string | null;
|
|
1363
|
+
sealedDataKeyId?: string | null;
|
|
1364
|
+
sealedNonce?: runtime.Bytes | null;
|
|
1365
|
+
sealedCiphertext?: runtime.Bytes | null;
|
|
1366
|
+
sealedPayloadBytes?: number | null;
|
|
1367
|
+
questionId?: string | null;
|
|
1368
|
+
contentType: string;
|
|
1369
|
+
model?: string | null;
|
|
1370
|
+
idempotencyKey: string;
|
|
1371
|
+
requestHash: string;
|
|
1372
|
+
inReplyToMessageId?: string | null;
|
|
1373
|
+
resendOfMessageId?: string | null;
|
|
1374
|
+
meetingId?: string | null;
|
|
1375
|
+
scheduleId?: string | null;
|
|
1376
|
+
sendTime?: Date | string | null;
|
|
1377
|
+
createdAt: Date | string;
|
|
1378
|
+
repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
|
|
1379
|
+
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1380
|
+
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1381
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1382
|
+
};
|
|
1383
|
+
export type MessageCreateOrConnectWithoutExchangesNewestInput = {
|
|
1384
|
+
where: Prisma.MessageWhereUniqueInput;
|
|
1385
|
+
create: Prisma.XOR<Prisma.MessageCreateWithoutExchangesNewestInput, Prisma.MessageUncheckedCreateWithoutExchangesNewestInput>;
|
|
1386
|
+
};
|
|
1387
|
+
export type MessageUpsertWithoutExchangesNewestInput = {
|
|
1388
|
+
update: Prisma.XOR<Prisma.MessageUpdateWithoutExchangesNewestInput, Prisma.MessageUncheckedUpdateWithoutExchangesNewestInput>;
|
|
1389
|
+
create: Prisma.XOR<Prisma.MessageCreateWithoutExchangesNewestInput, Prisma.MessageUncheckedCreateWithoutExchangesNewestInput>;
|
|
1390
|
+
where?: Prisma.MessageWhereInput;
|
|
1391
|
+
};
|
|
1392
|
+
export type MessageUpdateToOneWithWhereWithoutExchangesNewestInput = {
|
|
1393
|
+
where?: Prisma.MessageWhereInput;
|
|
1394
|
+
data: Prisma.XOR<Prisma.MessageUpdateWithoutExchangesNewestInput, Prisma.MessageUncheckedUpdateWithoutExchangesNewestInput>;
|
|
1395
|
+
};
|
|
1396
|
+
export type MessageUpdateWithoutExchangesNewestInput = {
|
|
1397
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1398
|
+
selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
|
|
1399
|
+
selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1400
|
+
selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
|
|
1401
|
+
payload?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1402
|
+
sealedNonce?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
1403
|
+
sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
1404
|
+
sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1405
|
+
questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1406
|
+
contentType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1407
|
+
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1408
|
+
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1409
|
+
requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1410
|
+
inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1411
|
+
resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1412
|
+
sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1413
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1414
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutMessagesNestedInput;
|
|
1415
|
+
senderShip?: Prisma.ShipUpdateOneRequiredWithoutSentMessagesNestedInput;
|
|
1416
|
+
selectorShip?: Prisma.ShipUpdateOneWithoutAddressedMessagesNestedInput;
|
|
1417
|
+
meeting?: Prisma.MeetingUpdateOneWithoutMessagesNestedInput;
|
|
1418
|
+
schedule?: Prisma.ScheduleUpdateOneWithoutMessagesNestedInput;
|
|
1419
|
+
sealedDataKey?: Prisma.DataKeyUpdateOneWithoutMessagesNestedInput;
|
|
1420
|
+
repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
|
|
1421
|
+
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
1422
|
+
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
1423
|
+
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
1424
|
+
};
|
|
1425
|
+
export type MessageUncheckedUpdateWithoutExchangesNewestInput = {
|
|
1426
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1427
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1428
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1429
|
+
selectorKind?: Prisma.EnumSelectorKindFieldUpdateOperationsInput | $Enums.SelectorKind;
|
|
1430
|
+
selectorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1431
|
+
selectorType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1432
|
+
selectorValueIds?: Prisma.MessageUpdateselectorValueIdsInput | string[];
|
|
1433
|
+
payload?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1434
|
+
sealedDataKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1435
|
+
sealedNonce?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
1436
|
+
sealedCiphertext?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
1437
|
+
sealedPayloadBytes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1438
|
+
questionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1439
|
+
contentType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1440
|
+
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1441
|
+
idempotencyKey?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1442
|
+
requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1443
|
+
inReplyToMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1444
|
+
resendOfMessageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1445
|
+
meetingId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1446
|
+
scheduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1447
|
+
sendTime?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1448
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1449
|
+
repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
|
|
1450
|
+
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
1451
|
+
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
1452
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
1453
|
+
};
|
|
1300
1454
|
export type MessageCreateWithoutMeetingInput = {
|
|
1301
1455
|
id: string;
|
|
1302
1456
|
selectorKind: $Enums.SelectorKind;
|
|
@@ -1324,6 +1478,7 @@ export type MessageCreateWithoutMeetingInput = {
|
|
|
1324
1478
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1325
1479
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1326
1480
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1481
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1327
1482
|
};
|
|
1328
1483
|
export type MessageUncheckedCreateWithoutMeetingInput = {
|
|
1329
1484
|
id: string;
|
|
@@ -1351,6 +1506,7 @@ export type MessageUncheckedCreateWithoutMeetingInput = {
|
|
|
1351
1506
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1352
1507
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1353
1508
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1509
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1354
1510
|
};
|
|
1355
1511
|
export type MessageCreateOrConnectWithoutMeetingInput = {
|
|
1356
1512
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1400,6 +1556,7 @@ export type MessageCreateWithoutRepliedToBySchedulesInput = {
|
|
|
1400
1556
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1401
1557
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1402
1558
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1559
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1403
1560
|
};
|
|
1404
1561
|
export type MessageUncheckedCreateWithoutRepliedToBySchedulesInput = {
|
|
1405
1562
|
id: string;
|
|
@@ -1428,6 +1585,7 @@ export type MessageUncheckedCreateWithoutRepliedToBySchedulesInput = {
|
|
|
1428
1585
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1429
1586
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1430
1587
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1588
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1431
1589
|
};
|
|
1432
1590
|
export type MessageCreateOrConnectWithoutRepliedToBySchedulesInput = {
|
|
1433
1591
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1460,6 +1618,7 @@ export type MessageCreateWithoutLastSentBySchedulesInput = {
|
|
|
1460
1618
|
repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
|
|
1461
1619
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1462
1620
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1621
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1463
1622
|
};
|
|
1464
1623
|
export type MessageUncheckedCreateWithoutLastSentBySchedulesInput = {
|
|
1465
1624
|
id: string;
|
|
@@ -1488,6 +1647,7 @@ export type MessageUncheckedCreateWithoutLastSentBySchedulesInput = {
|
|
|
1488
1647
|
repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
|
|
1489
1648
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1490
1649
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1650
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1491
1651
|
};
|
|
1492
1652
|
export type MessageCreateOrConnectWithoutLastSentBySchedulesInput = {
|
|
1493
1653
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1520,6 +1680,7 @@ export type MessageCreateWithoutScheduleInput = {
|
|
|
1520
1680
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1521
1681
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1522
1682
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1683
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1523
1684
|
};
|
|
1524
1685
|
export type MessageUncheckedCreateWithoutScheduleInput = {
|
|
1525
1686
|
id: string;
|
|
@@ -1547,6 +1708,7 @@ export type MessageUncheckedCreateWithoutScheduleInput = {
|
|
|
1547
1708
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1548
1709
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
1549
1710
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1711
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1550
1712
|
};
|
|
1551
1713
|
export type MessageCreateOrConnectWithoutScheduleInput = {
|
|
1552
1714
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1592,6 +1754,7 @@ export type MessageUpdateWithoutRepliedToBySchedulesInput = {
|
|
|
1592
1754
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
1593
1755
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
1594
1756
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
1757
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
1595
1758
|
};
|
|
1596
1759
|
export type MessageUncheckedUpdateWithoutRepliedToBySchedulesInput = {
|
|
1597
1760
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1620,6 +1783,7 @@ export type MessageUncheckedUpdateWithoutRepliedToBySchedulesInput = {
|
|
|
1620
1783
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
1621
1784
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
1622
1785
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
1786
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
1623
1787
|
};
|
|
1624
1788
|
export type MessageUpsertWithoutLastSentBySchedulesInput = {
|
|
1625
1789
|
update: Prisma.XOR<Prisma.MessageUpdateWithoutLastSentBySchedulesInput, Prisma.MessageUncheckedUpdateWithoutLastSentBySchedulesInput>;
|
|
@@ -1657,6 +1821,7 @@ export type MessageUpdateWithoutLastSentBySchedulesInput = {
|
|
|
1657
1821
|
repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
|
|
1658
1822
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
1659
1823
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
1824
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
1660
1825
|
};
|
|
1661
1826
|
export type MessageUncheckedUpdateWithoutLastSentBySchedulesInput = {
|
|
1662
1827
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1685,6 +1850,7 @@ export type MessageUncheckedUpdateWithoutLastSentBySchedulesInput = {
|
|
|
1685
1850
|
repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
|
|
1686
1851
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
1687
1852
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
1853
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
1688
1854
|
};
|
|
1689
1855
|
export type MessageUpsertWithWhereUniqueWithoutScheduleInput = {
|
|
1690
1856
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1726,6 +1892,7 @@ export type MessageCreateWithoutDeliveriesInput = {
|
|
|
1726
1892
|
repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
|
|
1727
1893
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1728
1894
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
1895
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1729
1896
|
};
|
|
1730
1897
|
export type MessageUncheckedCreateWithoutDeliveriesInput = {
|
|
1731
1898
|
id: string;
|
|
@@ -1754,6 +1921,7 @@ export type MessageUncheckedCreateWithoutDeliveriesInput = {
|
|
|
1754
1921
|
repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
|
|
1755
1922
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1756
1923
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
1924
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1757
1925
|
};
|
|
1758
1926
|
export type MessageCreateOrConnectWithoutDeliveriesInput = {
|
|
1759
1927
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1795,6 +1963,7 @@ export type MessageUpdateWithoutDeliveriesInput = {
|
|
|
1795
1963
|
repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
|
|
1796
1964
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
1797
1965
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
1966
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
1798
1967
|
};
|
|
1799
1968
|
export type MessageUncheckedUpdateWithoutDeliveriesInput = {
|
|
1800
1969
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1823,6 +1992,7 @@ export type MessageUncheckedUpdateWithoutDeliveriesInput = {
|
|
|
1823
1992
|
repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
|
|
1824
1993
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
1825
1994
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
1995
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
1826
1996
|
};
|
|
1827
1997
|
export type MessageCreateWithoutEventsInput = {
|
|
1828
1998
|
id: string;
|
|
@@ -1851,6 +2021,7 @@ export type MessageCreateWithoutEventsInput = {
|
|
|
1851
2021
|
repliedToBySchedules?: Prisma.ScheduleCreateNestedManyWithoutInReplyToInput;
|
|
1852
2022
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1853
2023
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
2024
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1854
2025
|
};
|
|
1855
2026
|
export type MessageUncheckedCreateWithoutEventsInput = {
|
|
1856
2027
|
id: string;
|
|
@@ -1879,6 +2050,7 @@ export type MessageUncheckedCreateWithoutEventsInput = {
|
|
|
1879
2050
|
repliedToBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutInReplyToInput;
|
|
1880
2051
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
1881
2052
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
2053
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
1882
2054
|
};
|
|
1883
2055
|
export type MessageCreateOrConnectWithoutEventsInput = {
|
|
1884
2056
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -1920,6 +2092,7 @@ export type MessageUpdateWithoutEventsInput = {
|
|
|
1920
2092
|
repliedToBySchedules?: Prisma.ScheduleUpdateManyWithoutInReplyToNestedInput;
|
|
1921
2093
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
1922
2094
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
2095
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
1923
2096
|
};
|
|
1924
2097
|
export type MessageUncheckedUpdateWithoutEventsInput = {
|
|
1925
2098
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1948,6 +2121,7 @@ export type MessageUncheckedUpdateWithoutEventsInput = {
|
|
|
1948
2121
|
repliedToBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutInReplyToNestedInput;
|
|
1949
2122
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
1950
2123
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2124
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
1951
2125
|
};
|
|
1952
2126
|
export type MessageCreateWithoutSealedDataKeyInput = {
|
|
1953
2127
|
id: string;
|
|
@@ -1976,6 +2150,7 @@ export type MessageCreateWithoutSealedDataKeyInput = {
|
|
|
1976
2150
|
lastSentBySchedules?: Prisma.ScheduleCreateNestedManyWithoutLastMessageInput;
|
|
1977
2151
|
deliveries?: Prisma.DeliveryCreateNestedManyWithoutMessageInput;
|
|
1978
2152
|
events?: Prisma.EventCreateNestedManyWithoutMessageInput;
|
|
2153
|
+
exchangesNewest?: Prisma.ExchangeCreateNestedManyWithoutNewestMessageInput;
|
|
1979
2154
|
};
|
|
1980
2155
|
export type MessageUncheckedCreateWithoutSealedDataKeyInput = {
|
|
1981
2156
|
id: string;
|
|
@@ -2003,6 +2178,7 @@ export type MessageUncheckedCreateWithoutSealedDataKeyInput = {
|
|
|
2003
2178
|
lastSentBySchedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutLastMessageInput;
|
|
2004
2179
|
deliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutMessageInput;
|
|
2005
2180
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutMessageInput;
|
|
2181
|
+
exchangesNewest?: Prisma.ExchangeUncheckedCreateNestedManyWithoutNewestMessageInput;
|
|
2006
2182
|
};
|
|
2007
2183
|
export type MessageCreateOrConnectWithoutSealedDataKeyInput = {
|
|
2008
2184
|
where: Prisma.MessageWhereUniqueInput;
|
|
@@ -2076,6 +2252,7 @@ export type MessageUpdateWithoutFleetInput = {
|
|
|
2076
2252
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
2077
2253
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
2078
2254
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
2255
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
2079
2256
|
};
|
|
2080
2257
|
export type MessageUncheckedUpdateWithoutFleetInput = {
|
|
2081
2258
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2104,6 +2281,7 @@ export type MessageUncheckedUpdateWithoutFleetInput = {
|
|
|
2104
2281
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
2105
2282
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2106
2283
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2284
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
2107
2285
|
};
|
|
2108
2286
|
export type MessageUncheckedUpdateManyWithoutFleetInput = {
|
|
2109
2287
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2202,6 +2380,7 @@ export type MessageUpdateWithoutSenderShipInput = {
|
|
|
2202
2380
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
2203
2381
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
2204
2382
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
2383
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
2205
2384
|
};
|
|
2206
2385
|
export type MessageUncheckedUpdateWithoutSenderShipInput = {
|
|
2207
2386
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2229,6 +2408,7 @@ export type MessageUncheckedUpdateWithoutSenderShipInput = {
|
|
|
2229
2408
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
2230
2409
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2231
2410
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2411
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
2232
2412
|
};
|
|
2233
2413
|
export type MessageUncheckedUpdateManyWithoutSenderShipInput = {
|
|
2234
2414
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2280,6 +2460,7 @@ export type MessageUpdateWithoutSelectorShipInput = {
|
|
|
2280
2460
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
2281
2461
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
2282
2462
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
2463
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
2283
2464
|
};
|
|
2284
2465
|
export type MessageUncheckedUpdateWithoutSelectorShipInput = {
|
|
2285
2466
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2307,6 +2488,7 @@ export type MessageUncheckedUpdateWithoutSelectorShipInput = {
|
|
|
2307
2488
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
2308
2489
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2309
2490
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2491
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
2310
2492
|
};
|
|
2311
2493
|
export type MessageUncheckedUpdateManyWithoutSelectorShipInput = {
|
|
2312
2494
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2381,6 +2563,7 @@ export type MessageUpdateWithoutMeetingInput = {
|
|
|
2381
2563
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
2382
2564
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
2383
2565
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
2566
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
2384
2567
|
};
|
|
2385
2568
|
export type MessageUncheckedUpdateWithoutMeetingInput = {
|
|
2386
2569
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2408,6 +2591,7 @@ export type MessageUncheckedUpdateWithoutMeetingInput = {
|
|
|
2408
2591
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
2409
2592
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2410
2593
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2594
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
2411
2595
|
};
|
|
2412
2596
|
export type MessageUncheckedUpdateManyWithoutMeetingInput = {
|
|
2413
2597
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2482,6 +2666,7 @@ export type MessageUpdateWithoutScheduleInput = {
|
|
|
2482
2666
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
2483
2667
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
2484
2668
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
2669
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
2485
2670
|
};
|
|
2486
2671
|
export type MessageUncheckedUpdateWithoutScheduleInput = {
|
|
2487
2672
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2509,6 +2694,7 @@ export type MessageUncheckedUpdateWithoutScheduleInput = {
|
|
|
2509
2694
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
2510
2695
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2511
2696
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2697
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
2512
2698
|
};
|
|
2513
2699
|
export type MessageUncheckedUpdateManyWithoutScheduleInput = {
|
|
2514
2700
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2583,6 +2769,7 @@ export type MessageUpdateWithoutSealedDataKeyInput = {
|
|
|
2583
2769
|
lastSentBySchedules?: Prisma.ScheduleUpdateManyWithoutLastMessageNestedInput;
|
|
2584
2770
|
deliveries?: Prisma.DeliveryUpdateManyWithoutMessageNestedInput;
|
|
2585
2771
|
events?: Prisma.EventUpdateManyWithoutMessageNestedInput;
|
|
2772
|
+
exchangesNewest?: Prisma.ExchangeUpdateManyWithoutNewestMessageNestedInput;
|
|
2586
2773
|
};
|
|
2587
2774
|
export type MessageUncheckedUpdateWithoutSealedDataKeyInput = {
|
|
2588
2775
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2610,6 +2797,7 @@ export type MessageUncheckedUpdateWithoutSealedDataKeyInput = {
|
|
|
2610
2797
|
lastSentBySchedules?: Prisma.ScheduleUncheckedUpdateManyWithoutLastMessageNestedInput;
|
|
2611
2798
|
deliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2612
2799
|
events?: Prisma.EventUncheckedUpdateManyWithoutMessageNestedInput;
|
|
2800
|
+
exchangesNewest?: Prisma.ExchangeUncheckedUpdateManyWithoutNewestMessageNestedInput;
|
|
2613
2801
|
};
|
|
2614
2802
|
export type MessageUncheckedUpdateManyWithoutSealedDataKeyInput = {
|
|
2615
2803
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2642,12 +2830,14 @@ export type MessageCountOutputType = {
|
|
|
2642
2830
|
lastSentBySchedules: number;
|
|
2643
2831
|
deliveries: number;
|
|
2644
2832
|
events: number;
|
|
2833
|
+
exchangesNewest: number;
|
|
2645
2834
|
};
|
|
2646
2835
|
export type MessageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2647
2836
|
repliedToBySchedules?: boolean | MessageCountOutputTypeCountRepliedToBySchedulesArgs;
|
|
2648
2837
|
lastSentBySchedules?: boolean | MessageCountOutputTypeCountLastSentBySchedulesArgs;
|
|
2649
2838
|
deliveries?: boolean | MessageCountOutputTypeCountDeliveriesArgs;
|
|
2650
2839
|
events?: boolean | MessageCountOutputTypeCountEventsArgs;
|
|
2840
|
+
exchangesNewest?: boolean | MessageCountOutputTypeCountExchangesNewestArgs;
|
|
2651
2841
|
};
|
|
2652
2842
|
/**
|
|
2653
2843
|
* MessageCountOutputType without action
|
|
@@ -2682,6 +2872,12 @@ export type MessageCountOutputTypeCountDeliveriesArgs<ExtArgs extends runtime.Ty
|
|
|
2682
2872
|
export type MessageCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2683
2873
|
where?: Prisma.EventWhereInput;
|
|
2684
2874
|
};
|
|
2875
|
+
/**
|
|
2876
|
+
* MessageCountOutputType without action
|
|
2877
|
+
*/
|
|
2878
|
+
export type MessageCountOutputTypeCountExchangesNewestArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2879
|
+
where?: Prisma.ExchangeWhereInput;
|
|
2880
|
+
};
|
|
2685
2881
|
export type MessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2686
2882
|
id?: boolean;
|
|
2687
2883
|
fleetId?: boolean;
|
|
@@ -2716,6 +2912,7 @@ export type MessageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
2716
2912
|
lastSentBySchedules?: boolean | Prisma.Message$lastSentBySchedulesArgs<ExtArgs>;
|
|
2717
2913
|
deliveries?: boolean | Prisma.Message$deliveriesArgs<ExtArgs>;
|
|
2718
2914
|
events?: boolean | Prisma.Message$eventsArgs<ExtArgs>;
|
|
2915
|
+
exchangesNewest?: boolean | Prisma.Message$exchangesNewestArgs<ExtArgs>;
|
|
2719
2916
|
_count?: boolean | Prisma.MessageCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2720
2917
|
}, ExtArgs["result"]["message"]>;
|
|
2721
2918
|
export type MessageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -2817,6 +3014,7 @@ export type MessageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
2817
3014
|
lastSentBySchedules?: boolean | Prisma.Message$lastSentBySchedulesArgs<ExtArgs>;
|
|
2818
3015
|
deliveries?: boolean | Prisma.Message$deliveriesArgs<ExtArgs>;
|
|
2819
3016
|
events?: boolean | Prisma.Message$eventsArgs<ExtArgs>;
|
|
3017
|
+
exchangesNewest?: boolean | Prisma.Message$exchangesNewestArgs<ExtArgs>;
|
|
2820
3018
|
_count?: boolean | Prisma.MessageCountOutputTypeDefaultArgs<ExtArgs>;
|
|
2821
3019
|
};
|
|
2822
3020
|
export type MessageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -2848,6 +3046,7 @@ export type $MessagePayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
2848
3046
|
lastSentBySchedules: Prisma.$SchedulePayload<ExtArgs>[];
|
|
2849
3047
|
deliveries: Prisma.$DeliveryPayload<ExtArgs>[];
|
|
2850
3048
|
events: Prisma.$EventPayload<ExtArgs>[];
|
|
3049
|
+
exchangesNewest: Prisma.$ExchangePayload<ExtArgs>[];
|
|
2851
3050
|
};
|
|
2852
3051
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2853
3052
|
id: string;
|
|
@@ -3235,6 +3434,7 @@ export interface Prisma__MessageClient<T, Null = never, ExtArgs extends runtime.
|
|
|
3235
3434
|
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>;
|
|
3236
3435
|
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>;
|
|
3237
3436
|
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>;
|
|
3437
|
+
exchangesNewest<T extends Prisma.Message$exchangesNewestArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Message$exchangesNewestArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ExchangePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
3238
3438
|
/**
|
|
3239
3439
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
3240
3440
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -3830,6 +4030,29 @@ export type Message$eventsArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
3830
4030
|
skip?: number;
|
|
3831
4031
|
distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[];
|
|
3832
4032
|
};
|
|
4033
|
+
/**
|
|
4034
|
+
* Message.exchangesNewest
|
|
4035
|
+
*/
|
|
4036
|
+
export type Message$exchangesNewestArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
4037
|
+
/**
|
|
4038
|
+
* Select specific fields to fetch from the Exchange
|
|
4039
|
+
*/
|
|
4040
|
+
select?: Prisma.ExchangeSelect<ExtArgs> | null;
|
|
4041
|
+
/**
|
|
4042
|
+
* Omit specific fields from the Exchange
|
|
4043
|
+
*/
|
|
4044
|
+
omit?: Prisma.ExchangeOmit<ExtArgs> | null;
|
|
4045
|
+
/**
|
|
4046
|
+
* Choose, which related nodes to fetch as well
|
|
4047
|
+
*/
|
|
4048
|
+
include?: Prisma.ExchangeInclude<ExtArgs> | null;
|
|
4049
|
+
where?: Prisma.ExchangeWhereInput;
|
|
4050
|
+
orderBy?: Prisma.ExchangeOrderByWithRelationInput | Prisma.ExchangeOrderByWithRelationInput[];
|
|
4051
|
+
cursor?: Prisma.ExchangeWhereUniqueInput;
|
|
4052
|
+
take?: number;
|
|
4053
|
+
skip?: number;
|
|
4054
|
+
distinct?: Prisma.ExchangeScalarFieldEnum | Prisma.ExchangeScalarFieldEnum[];
|
|
4055
|
+
};
|
|
3833
4056
|
/**
|
|
3834
4057
|
* Message without action
|
|
3835
4058
|
*/
|