@aeolus-fleet/core 0.40.0 → 0.42.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.
- package/README.md +5 -5
- package/dist/adapters/crypto/account-token-signatures.js +1 -1
- package/dist/adapters/crypto/account-token-signatures.js.map +1 -1
- package/dist/adapters/http/plugin-calls.d.ts +14 -0
- package/dist/adapters/http/plugin-calls.js +46 -0
- package/dist/adapters/http/plugin-calls.js.map +1 -0
- package/dist/adapters/http/plugin-targets.d.ts +8 -0
- package/dist/adapters/http/plugin-targets.js +27 -0
- package/dist/adapters/http/plugin-targets.js.map +1 -0
- package/dist/adapters/prisma/delivery-notices.d.ts +2 -2
- package/dist/adapters/prisma/delivery-notices.js +2 -2
- package/dist/adapters/prisma/event-log.d.ts +2 -1
- package/dist/adapters/prisma/event-log.js +7 -2
- package/dist/adapters/prisma/event-log.js.map +1 -1
- package/dist/adapters/prisma/fleet-event-wakeups.d.ts +1 -7
- package/dist/adapters/prisma/fleet-event-wakeups.js +0 -19
- package/dist/adapters/prisma/fleet-event-wakeups.js.map +1 -1
- package/dist/adapters/prisma/fleet-journeys.d.ts +49 -0
- package/dist/adapters/prisma/fleet-journeys.js +112 -0
- package/dist/adapters/prisma/fleet-journeys.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +17 -1
- package/dist/adapters/prisma/generated/client.d.ts +19 -3
- package/dist/adapters/prisma/generated/client.js +2 -2
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +236 -214
- package/dist/adapters/prisma/generated/enums.d.ts +1 -0
- package/dist/adapters/prisma/generated/enums.js +2 -1
- package/dist/adapters/prisma/generated/enums.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/class.d.ts +40 -7
- 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 +266 -16
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +26 -4
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +30 -5
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +26 -4
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +146 -9
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +513 -29
- package/dist/adapters/prisma/generated/models/FleetJourney.d.ts +1212 -0
- package/dist/adapters/prisma/generated/models/FleetJourney.js +2 -0
- package/dist/adapters/prisma/generated/models/FleetJourney.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyChange.d.ts +982 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyChange.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyChange.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyClock.d.ts +964 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyClock.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyClock.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +3 -0
- package/dist/adapters/prisma/installation.js +10 -3
- package/dist/adapters/prisma/installation.js.map +1 -1
- package/dist/adapters/prisma/journey-source-facts.d.ts +7 -0
- package/dist/adapters/prisma/journey-source-facts.js +76 -0
- package/dist/adapters/prisma/journey-source-facts.js.map +1 -0
- package/dist/adapters/prisma/receiver-wakeups.d.ts +11 -17
- package/dist/adapters/prisma/receiver-wakeups.js +0 -60
- package/dist/adapters/prisma/receiver-wakeups.js.map +1 -1
- package/dist/adapters/prisma/registry.js +5 -3
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +7 -4
- package/dist/adapters/prisma/unit-of-work.js +13 -10
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/telemetry/calls.d.ts +0 -8
- package/dist/adapters/telemetry/calls.js +3 -39
- package/dist/adapters/telemetry/calls.js.map +1 -1
- package/dist/adapters/trpc/console.d.ts +5 -1
- package/dist/adapters/trpc/context.d.ts +4 -0
- package/dist/adapters/trpc/fleet.d.ts +41 -33
- package/dist/adapters/trpc/fleet.js +20 -5
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/installation.d.ts +132 -0
- package/dist/adapters/trpc/installation.js +34 -1
- package/dist/adapters/trpc/installation.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +185 -46
- package/dist/adapters/trpc/ship-contract.js +1 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship-protocol.js +1 -1
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +16 -20
- package/dist/adapters/trpc/ship.js +11 -14
- package/dist/adapters/trpc/ship.js.map +1 -1
- package/dist/adapters/trpc/trpc.d.ts +9 -0
- package/dist/adapters/trpc/trpc.js +13 -3
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.d.ts +3 -3
- package/dist/app.js +10 -12
- package/dist/app.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.js +11 -0
- package/dist/config.js.map +1 -1
- package/dist/domain/identity/authenticate-installation.d.ts +1 -1
- package/dist/domain/identity/authenticate-installation.js +2 -2
- package/dist/domain/identity/authenticate-installation.js.map +1 -1
- package/dist/domain/identity/notice.js +1 -0
- package/dist/domain/identity/notice.js.map +1 -1
- package/dist/domain/messaging/check-inbox.d.ts +6 -23
- package/dist/domain/messaging/check-inbox.js +14 -59
- package/dist/domain/messaging/check-inbox.js.map +1 -1
- package/dist/domain/messaging/journey-message.d.ts +18 -0
- package/dist/domain/messaging/journey-message.js +10 -0
- package/dist/domain/messaging/journey-message.js.map +1 -0
- package/dist/domain/messaging/message.d.ts +1 -1
- package/dist/domain/messaging/message.js +2 -2
- package/dist/domain/messaging/message.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +1 -16
- package/dist/domain/messaging/public.d.ts +1 -0
- package/dist/domain/messaging/public.js +1 -0
- package/dist/domain/messaging/public.js.map +1 -1
- package/dist/domain/messaging/push-receive-deliveries.d.ts +4 -6
- package/dist/domain/messaging/push-receive-deliveries.js +5 -7
- package/dist/domain/messaging/push-receive-deliveries.js.map +1 -1
- package/dist/domain/messaging/receive-deliveries.d.ts +4 -34
- package/dist/domain/messaging/receive-deliveries.js +4 -46
- package/dist/domain/messaging/receive-deliveries.js.map +1 -1
- package/dist/domain/messaging/receive-reply.d.ts +5 -8
- package/dist/domain/messaging/receive-reply.js +10 -9
- package/dist/domain/messaging/receive-reply.js.map +1 -1
- package/dist/domain/registry/call-plugin.d.ts +26 -0
- package/dist/domain/registry/call-plugin.js +46 -0
- package/dist/domain/registry/call-plugin.js.map +1 -0
- package/dist/domain/registry/check-reach.d.ts +1 -1
- package/dist/domain/registry/check-reach.js +2 -2
- package/dist/domain/registry/check-reach.js.map +1 -1
- package/dist/domain/registry/expectations.js +1 -0
- package/dist/domain/registry/expectations.js.map +1 -1
- package/dist/domain/registry/installation-fleet.d.ts +2 -1
- package/dist/domain/registry/installation-fleet.js.map +1 -1
- package/dist/domain/registry/network-settings.d.ts +5 -2
- package/dist/domain/registry/network-settings.js +2 -2
- package/dist/domain/registry/network-settings.js.map +1 -1
- package/dist/domain/registry/plugin-calls.d.ts +11 -0
- package/dist/domain/registry/plugin-calls.js +2 -0
- package/dist/domain/registry/plugin-calls.js.map +1 -0
- package/dist/domain/registry/ports.d.ts +4 -3
- package/dist/domain/registry/read-installation-journeys.d.ts +90 -0
- package/dist/domain/registry/read-installation-journeys.js +20 -0
- package/dist/domain/registry/read-installation-journeys.js.map +1 -0
- package/dist/domain/registry/read-reach.js +1 -1
- package/dist/domain/registry/read-reach.js.map +1 -1
- package/dist/domain/registry/ship-order.js +1 -1
- package/dist/domain/registry/ship-order.js.map +1 -1
- package/dist/domain/registry/verified-facts.js +1 -0
- package/dist/domain/registry/verified-facts.js.map +1 -1
- package/dist/domain/shared/caller.d.ts +4 -0
- package/dist/domain/shared/caller.js +5 -0
- package/dist/domain/shared/caller.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/events.d.ts +0 -13
- package/dist/domain/shared/expire-journey-activity.d.ts +18 -0
- package/dist/domain/shared/expire-journey-activity.js +17 -0
- package/dist/domain/shared/expire-journey-activity.js.map +1 -0
- package/dist/domain/shared/fleet-journey.d.ts +35 -0
- package/dist/domain/shared/fleet-journey.js +83 -0
- package/dist/domain/shared/fleet-journey.js.map +1 -0
- package/dist/domain/shared/follow-fleet.d.ts +9 -15
- package/dist/domain/shared/follow-fleet.js +16 -55
- package/dist/domain/shared/follow-fleet.js.map +1 -1
- package/dist/domain/shared/read-fleet-limits.d.ts +2 -2
- package/dist/domain/shared/read-fleet-limits.js +1 -1
- package/dist/domain/shared/record-fleet-journey.d.ts +17 -0
- package/dist/domain/shared/record-fleet-journey.js +8 -0
- package/dist/domain/shared/record-fleet-journey.js.map +1 -0
- package/dist/maintenance-pass.d.ts +1 -1
- package/dist/maintenance-pass.js +1 -0
- package/dist/maintenance-pass.js.map +1 -1
- package/dist/start.d.ts +1 -1
- package/dist/start.js +2 -1
- package/dist/start.js.map +1 -1
- package/dist/testing/container-sweeper.d.ts +47 -0
- package/dist/testing/container-sweeper.js +101 -1
- package/dist/testing/container-sweeper.js.map +1 -1
- package/dist/testing/postgres-container.js +2 -2
- package/dist/testing/postgres-container.js.map +1 -1
- package/dist/testing/postgres-global-setup.d.ts +1 -1
- package/dist/testing/postgres-global-setup.js +3 -2
- package/dist/testing/postgres-global-setup.js.map +1 -1
- package/dist/wiring.d.ts +12 -10
- package/dist/wiring.js +19 -18
- package/dist/wiring.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/prisma/migrations/20261115180000_trierarch_kind/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261115180100_trierarch_kind_backfill/migration.sql +38 -0
- package/src/adapters/prisma/migrations/20261117010000_fleet_journeys/migration.sql +37 -0
- package/src/adapters/prisma/schema.prisma +55 -19
- package/dist/domain/messaging/inbox-wait.d.ts +0 -8
- package/dist/domain/messaging/inbox-wait.js +0 -19
- package/dist/domain/messaging/inbox-wait.js.map +0 -1
|
@@ -22,6 +22,8 @@ export type DeliverySumAggregateOutputType = {
|
|
|
22
22
|
handOverNumber: number | null;
|
|
23
23
|
};
|
|
24
24
|
export type DeliveryMinAggregateOutputType = {
|
|
25
|
+
journeyQualifying: boolean | null;
|
|
26
|
+
journeyBothCrewed: boolean | null;
|
|
25
27
|
id: string | null;
|
|
26
28
|
fleetId: string | null;
|
|
27
29
|
messageId: string | null;
|
|
@@ -41,6 +43,8 @@ export type DeliveryMinAggregateOutputType = {
|
|
|
41
43
|
createdAt: Date | null;
|
|
42
44
|
};
|
|
43
45
|
export type DeliveryMaxAggregateOutputType = {
|
|
46
|
+
journeyQualifying: boolean | null;
|
|
47
|
+
journeyBothCrewed: boolean | null;
|
|
44
48
|
id: string | null;
|
|
45
49
|
fleetId: string | null;
|
|
46
50
|
messageId: string | null;
|
|
@@ -60,6 +64,8 @@ export type DeliveryMaxAggregateOutputType = {
|
|
|
60
64
|
createdAt: Date | null;
|
|
61
65
|
};
|
|
62
66
|
export type DeliveryCountAggregateOutputType = {
|
|
67
|
+
journeyQualifying: number;
|
|
68
|
+
journeyBothCrewed: number;
|
|
63
69
|
id: number;
|
|
64
70
|
fleetId: number;
|
|
65
71
|
messageId: number;
|
|
@@ -89,6 +95,8 @@ export type DeliverySumAggregateInputType = {
|
|
|
89
95
|
handOverNumber?: true;
|
|
90
96
|
};
|
|
91
97
|
export type DeliveryMinAggregateInputType = {
|
|
98
|
+
journeyQualifying?: true;
|
|
99
|
+
journeyBothCrewed?: true;
|
|
92
100
|
id?: true;
|
|
93
101
|
fleetId?: true;
|
|
94
102
|
messageId?: true;
|
|
@@ -108,6 +116,8 @@ export type DeliveryMinAggregateInputType = {
|
|
|
108
116
|
createdAt?: true;
|
|
109
117
|
};
|
|
110
118
|
export type DeliveryMaxAggregateInputType = {
|
|
119
|
+
journeyQualifying?: true;
|
|
120
|
+
journeyBothCrewed?: true;
|
|
111
121
|
id?: true;
|
|
112
122
|
fleetId?: true;
|
|
113
123
|
messageId?: true;
|
|
@@ -127,6 +137,8 @@ export type DeliveryMaxAggregateInputType = {
|
|
|
127
137
|
createdAt?: true;
|
|
128
138
|
};
|
|
129
139
|
export type DeliveryCountAggregateInputType = {
|
|
140
|
+
journeyQualifying?: true;
|
|
141
|
+
journeyBothCrewed?: true;
|
|
130
142
|
id?: true;
|
|
131
143
|
fleetId?: true;
|
|
132
144
|
messageId?: true;
|
|
@@ -224,6 +236,8 @@ export type DeliveryGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
224
236
|
_max?: DeliveryMaxAggregateInputType;
|
|
225
237
|
};
|
|
226
238
|
export type DeliveryGroupByOutputType = {
|
|
239
|
+
journeyQualifying: boolean | null;
|
|
240
|
+
journeyBothCrewed: boolean | null;
|
|
227
241
|
id: string;
|
|
228
242
|
fleetId: string;
|
|
229
243
|
messageId: string;
|
|
@@ -255,6 +269,8 @@ export type DeliveryWhereInput = {
|
|
|
255
269
|
AND?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
256
270
|
OR?: Prisma.DeliveryWhereInput[];
|
|
257
271
|
NOT?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
272
|
+
journeyQualifying?: Prisma.BoolNullableFilter<"Delivery"> | boolean | null;
|
|
273
|
+
journeyBothCrewed?: Prisma.BoolNullableFilter<"Delivery"> | boolean | null;
|
|
258
274
|
id?: Prisma.StringFilter<"Delivery"> | string;
|
|
259
275
|
fleetId?: Prisma.StringFilter<"Delivery"> | string;
|
|
260
276
|
messageId?: Prisma.StringFilter<"Delivery"> | string;
|
|
@@ -282,6 +298,8 @@ export type DeliveryWhereInput = {
|
|
|
282
298
|
overdue?: Prisma.OverdueDeliveryListRelationFilter;
|
|
283
299
|
};
|
|
284
300
|
export type DeliveryOrderByWithRelationInput = {
|
|
301
|
+
journeyQualifying?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
302
|
+
journeyBothCrewed?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
303
|
id?: Prisma.SortOrder;
|
|
286
304
|
fleetId?: Prisma.SortOrder;
|
|
287
305
|
messageId?: Prisma.SortOrder;
|
|
@@ -316,6 +334,8 @@ export type DeliveryWhereUniqueInput = Prisma.AtLeast<{
|
|
|
316
334
|
AND?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
317
335
|
OR?: Prisma.DeliveryWhereInput[];
|
|
318
336
|
NOT?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
337
|
+
journeyQualifying?: Prisma.BoolNullableFilter<"Delivery"> | boolean | null;
|
|
338
|
+
journeyBothCrewed?: Prisma.BoolNullableFilter<"Delivery"> | boolean | null;
|
|
319
339
|
fleetId?: Prisma.StringFilter<"Delivery"> | string;
|
|
320
340
|
messageId?: Prisma.StringFilter<"Delivery"> | string;
|
|
321
341
|
recipientShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
@@ -342,6 +362,8 @@ export type DeliveryWhereUniqueInput = Prisma.AtLeast<{
|
|
|
342
362
|
overdue?: Prisma.OverdueDeliveryListRelationFilter;
|
|
343
363
|
}, "id" | "fleetId_id" | "messageId_recipientShipId" | "messageId_recipientType">;
|
|
344
364
|
export type DeliveryOrderByWithAggregationInput = {
|
|
365
|
+
journeyQualifying?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
366
|
+
journeyBothCrewed?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
345
367
|
id?: Prisma.SortOrder;
|
|
346
368
|
fleetId?: Prisma.SortOrder;
|
|
347
369
|
messageId?: Prisma.SortOrder;
|
|
@@ -370,6 +392,8 @@ export type DeliveryScalarWhereWithAggregatesInput = {
|
|
|
370
392
|
AND?: Prisma.DeliveryScalarWhereWithAggregatesInput | Prisma.DeliveryScalarWhereWithAggregatesInput[];
|
|
371
393
|
OR?: Prisma.DeliveryScalarWhereWithAggregatesInput[];
|
|
372
394
|
NOT?: Prisma.DeliveryScalarWhereWithAggregatesInput | Prisma.DeliveryScalarWhereWithAggregatesInput[];
|
|
395
|
+
journeyQualifying?: Prisma.BoolNullableWithAggregatesFilter<"Delivery"> | boolean | null;
|
|
396
|
+
journeyBothCrewed?: Prisma.BoolNullableWithAggregatesFilter<"Delivery"> | boolean | null;
|
|
373
397
|
id?: Prisma.StringWithAggregatesFilter<"Delivery"> | string;
|
|
374
398
|
fleetId?: Prisma.StringWithAggregatesFilter<"Delivery"> | string;
|
|
375
399
|
messageId?: Prisma.StringWithAggregatesFilter<"Delivery"> | string;
|
|
@@ -390,6 +414,8 @@ export type DeliveryScalarWhereWithAggregatesInput = {
|
|
|
390
414
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Delivery"> | Date | string;
|
|
391
415
|
};
|
|
392
416
|
export type DeliveryCreateInput = {
|
|
417
|
+
journeyQualifying?: boolean | null;
|
|
418
|
+
journeyBothCrewed?: boolean | null;
|
|
393
419
|
id: string;
|
|
394
420
|
recipientType?: string | null;
|
|
395
421
|
state?: $Enums.DeliveryState;
|
|
@@ -412,6 +438,8 @@ export type DeliveryCreateInput = {
|
|
|
412
438
|
overdue?: Prisma.OverdueDeliveryCreateNestedManyWithoutDeliveryInput;
|
|
413
439
|
};
|
|
414
440
|
export type DeliveryUncheckedCreateInput = {
|
|
441
|
+
journeyQualifying?: boolean | null;
|
|
442
|
+
journeyBothCrewed?: boolean | null;
|
|
415
443
|
id: string;
|
|
416
444
|
fleetId: string;
|
|
417
445
|
messageId: string;
|
|
@@ -434,6 +462,8 @@ export type DeliveryUncheckedCreateInput = {
|
|
|
434
462
|
overdue?: Prisma.OverdueDeliveryUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
435
463
|
};
|
|
436
464
|
export type DeliveryUpdateInput = {
|
|
465
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
466
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
437
467
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
438
468
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
439
469
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -456,6 +486,8 @@ export type DeliveryUpdateInput = {
|
|
|
456
486
|
overdue?: Prisma.OverdueDeliveryUpdateManyWithoutDeliveryNestedInput;
|
|
457
487
|
};
|
|
458
488
|
export type DeliveryUncheckedUpdateInput = {
|
|
489
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
490
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
459
491
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
460
492
|
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
461
493
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -478,6 +510,8 @@ export type DeliveryUncheckedUpdateInput = {
|
|
|
478
510
|
overdue?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
479
511
|
};
|
|
480
512
|
export type DeliveryCreateManyInput = {
|
|
513
|
+
journeyQualifying?: boolean | null;
|
|
514
|
+
journeyBothCrewed?: boolean | null;
|
|
481
515
|
id: string;
|
|
482
516
|
fleetId: string;
|
|
483
517
|
messageId: string;
|
|
@@ -498,6 +532,8 @@ export type DeliveryCreateManyInput = {
|
|
|
498
532
|
createdAt: Date | string;
|
|
499
533
|
};
|
|
500
534
|
export type DeliveryUpdateManyMutationInput = {
|
|
535
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
536
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
501
537
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
502
538
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
503
539
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -513,6 +549,8 @@ export type DeliveryUpdateManyMutationInput = {
|
|
|
513
549
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
514
550
|
};
|
|
515
551
|
export type DeliveryUncheckedUpdateManyInput = {
|
|
552
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
553
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
516
554
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
517
555
|
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
518
556
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -553,6 +591,8 @@ export type DeliveryMessageIdRecipientTypeCompoundUniqueInput = {
|
|
|
553
591
|
recipientType: string;
|
|
554
592
|
};
|
|
555
593
|
export type DeliveryCountOrderByAggregateInput = {
|
|
594
|
+
journeyQualifying?: Prisma.SortOrder;
|
|
595
|
+
journeyBothCrewed?: Prisma.SortOrder;
|
|
556
596
|
id?: Prisma.SortOrder;
|
|
557
597
|
fleetId?: Prisma.SortOrder;
|
|
558
598
|
messageId?: Prisma.SortOrder;
|
|
@@ -577,6 +617,8 @@ export type DeliveryAvgOrderByAggregateInput = {
|
|
|
577
617
|
handOverNumber?: Prisma.SortOrder;
|
|
578
618
|
};
|
|
579
619
|
export type DeliveryMaxOrderByAggregateInput = {
|
|
620
|
+
journeyQualifying?: Prisma.SortOrder;
|
|
621
|
+
journeyBothCrewed?: Prisma.SortOrder;
|
|
580
622
|
id?: Prisma.SortOrder;
|
|
581
623
|
fleetId?: Prisma.SortOrder;
|
|
582
624
|
messageId?: Prisma.SortOrder;
|
|
@@ -596,6 +638,8 @@ export type DeliveryMaxOrderByAggregateInput = {
|
|
|
596
638
|
createdAt?: Prisma.SortOrder;
|
|
597
639
|
};
|
|
598
640
|
export type DeliveryMinOrderByAggregateInput = {
|
|
641
|
+
journeyQualifying?: Prisma.SortOrder;
|
|
642
|
+
journeyBothCrewed?: Prisma.SortOrder;
|
|
599
643
|
id?: Prisma.SortOrder;
|
|
600
644
|
fleetId?: Prisma.SortOrder;
|
|
601
645
|
messageId?: Prisma.SortOrder;
|
|
@@ -819,6 +863,9 @@ export type DeliveryUncheckedUpdateManyWithoutMessageNestedInput = {
|
|
|
819
863
|
export type DeliveryCreatereachableShipIdsInput = {
|
|
820
864
|
set: string[];
|
|
821
865
|
};
|
|
866
|
+
export type NullableBoolFieldUpdateOperationsInput = {
|
|
867
|
+
set?: boolean | null;
|
|
868
|
+
};
|
|
822
869
|
export type EnumDeliveryStateFieldUpdateOperationsInput = {
|
|
823
870
|
set?: $Enums.DeliveryState;
|
|
824
871
|
};
|
|
@@ -853,6 +900,8 @@ export type DeliveryUpdateOneWithoutEventsNestedInput = {
|
|
|
853
900
|
update?: Prisma.XOR<Prisma.XOR<Prisma.DeliveryUpdateToOneWithWhereWithoutEventsInput, Prisma.DeliveryUpdateWithoutEventsInput>, Prisma.DeliveryUncheckedUpdateWithoutEventsInput>;
|
|
854
901
|
};
|
|
855
902
|
export type DeliveryCreateWithoutFleetInput = {
|
|
903
|
+
journeyQualifying?: boolean | null;
|
|
904
|
+
journeyBothCrewed?: boolean | null;
|
|
856
905
|
id: string;
|
|
857
906
|
recipientType?: string | null;
|
|
858
907
|
state?: $Enums.DeliveryState;
|
|
@@ -874,6 +923,8 @@ export type DeliveryCreateWithoutFleetInput = {
|
|
|
874
923
|
overdue?: Prisma.OverdueDeliveryCreateNestedManyWithoutDeliveryInput;
|
|
875
924
|
};
|
|
876
925
|
export type DeliveryUncheckedCreateWithoutFleetInput = {
|
|
926
|
+
journeyQualifying?: boolean | null;
|
|
927
|
+
journeyBothCrewed?: boolean | null;
|
|
877
928
|
id: string;
|
|
878
929
|
messageId: string;
|
|
879
930
|
recipientShipId?: string | null;
|
|
@@ -919,6 +970,8 @@ export type DeliveryScalarWhereInput = {
|
|
|
919
970
|
AND?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
920
971
|
OR?: Prisma.DeliveryScalarWhereInput[];
|
|
921
972
|
NOT?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
973
|
+
journeyQualifying?: Prisma.BoolNullableFilter<"Delivery"> | boolean | null;
|
|
974
|
+
journeyBothCrewed?: Prisma.BoolNullableFilter<"Delivery"> | boolean | null;
|
|
922
975
|
id?: Prisma.StringFilter<"Delivery"> | string;
|
|
923
976
|
fleetId?: Prisma.StringFilter<"Delivery"> | string;
|
|
924
977
|
messageId?: Prisma.StringFilter<"Delivery"> | string;
|
|
@@ -939,6 +992,8 @@ export type DeliveryScalarWhereInput = {
|
|
|
939
992
|
createdAt?: Prisma.DateTimeFilter<"Delivery"> | Date | string;
|
|
940
993
|
};
|
|
941
994
|
export type DeliveryCreateWithoutRecipientShipInput = {
|
|
995
|
+
journeyQualifying?: boolean | null;
|
|
996
|
+
journeyBothCrewed?: boolean | null;
|
|
942
997
|
id: string;
|
|
943
998
|
recipientType?: string | null;
|
|
944
999
|
state?: $Enums.DeliveryState;
|
|
@@ -960,6 +1015,8 @@ export type DeliveryCreateWithoutRecipientShipInput = {
|
|
|
960
1015
|
overdue?: Prisma.OverdueDeliveryCreateNestedManyWithoutDeliveryInput;
|
|
961
1016
|
};
|
|
962
1017
|
export type DeliveryUncheckedCreateWithoutRecipientShipInput = {
|
|
1018
|
+
journeyQualifying?: boolean | null;
|
|
1019
|
+
journeyBothCrewed?: boolean | null;
|
|
963
1020
|
id: string;
|
|
964
1021
|
messageId: string;
|
|
965
1022
|
recipientType?: string | null;
|
|
@@ -988,6 +1045,8 @@ export type DeliveryCreateManyRecipientShipInputEnvelope = {
|
|
|
988
1045
|
skipDuplicates?: boolean;
|
|
989
1046
|
};
|
|
990
1047
|
export type DeliveryCreateWithoutClaimedByShipInput = {
|
|
1048
|
+
journeyQualifying?: boolean | null;
|
|
1049
|
+
journeyBothCrewed?: boolean | null;
|
|
991
1050
|
id: string;
|
|
992
1051
|
recipientType?: string | null;
|
|
993
1052
|
state?: $Enums.DeliveryState;
|
|
@@ -1009,6 +1068,8 @@ export type DeliveryCreateWithoutClaimedByShipInput = {
|
|
|
1009
1068
|
overdue?: Prisma.OverdueDeliveryCreateNestedManyWithoutDeliveryInput;
|
|
1010
1069
|
};
|
|
1011
1070
|
export type DeliveryUncheckedCreateWithoutClaimedByShipInput = {
|
|
1071
|
+
journeyQualifying?: boolean | null;
|
|
1072
|
+
journeyBothCrewed?: boolean | null;
|
|
1012
1073
|
id: string;
|
|
1013
1074
|
messageId: string;
|
|
1014
1075
|
recipientShipId?: string | null;
|
|
@@ -1063,6 +1124,8 @@ export type DeliveryUpdateManyWithWhereWithoutClaimedByShipInput = {
|
|
|
1063
1124
|
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByShipInput>;
|
|
1064
1125
|
};
|
|
1065
1126
|
export type DeliveryCreateWithoutClaimedByLeaseInput = {
|
|
1127
|
+
journeyQualifying?: boolean | null;
|
|
1128
|
+
journeyBothCrewed?: boolean | null;
|
|
1066
1129
|
id: string;
|
|
1067
1130
|
recipientType?: string | null;
|
|
1068
1131
|
state?: $Enums.DeliveryState;
|
|
@@ -1084,6 +1147,8 @@ export type DeliveryCreateWithoutClaimedByLeaseInput = {
|
|
|
1084
1147
|
overdue?: Prisma.OverdueDeliveryCreateNestedManyWithoutDeliveryInput;
|
|
1085
1148
|
};
|
|
1086
1149
|
export type DeliveryUncheckedCreateWithoutClaimedByLeaseInput = {
|
|
1150
|
+
journeyQualifying?: boolean | null;
|
|
1151
|
+
journeyBothCrewed?: boolean | null;
|
|
1087
1152
|
id: string;
|
|
1088
1153
|
messageId: string;
|
|
1089
1154
|
recipientShipId?: string | null;
|
|
@@ -1125,6 +1190,8 @@ export type DeliveryUpdateManyWithWhereWithoutClaimedByLeaseInput = {
|
|
|
1125
1190
|
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByLeaseInput>;
|
|
1126
1191
|
};
|
|
1127
1192
|
export type DeliveryCreateWithoutMessageInput = {
|
|
1193
|
+
journeyQualifying?: boolean | null;
|
|
1194
|
+
journeyBothCrewed?: boolean | null;
|
|
1128
1195
|
id: string;
|
|
1129
1196
|
recipientType?: string | null;
|
|
1130
1197
|
state?: $Enums.DeliveryState;
|
|
@@ -1146,6 +1213,8 @@ export type DeliveryCreateWithoutMessageInput = {
|
|
|
1146
1213
|
overdue?: Prisma.OverdueDeliveryCreateNestedManyWithoutDeliveryInput;
|
|
1147
1214
|
};
|
|
1148
1215
|
export type DeliveryUncheckedCreateWithoutMessageInput = {
|
|
1216
|
+
journeyQualifying?: boolean | null;
|
|
1217
|
+
journeyBothCrewed?: boolean | null;
|
|
1149
1218
|
id: string;
|
|
1150
1219
|
recipientShipId?: string | null;
|
|
1151
1220
|
recipientType?: string | null;
|
|
@@ -1187,6 +1256,8 @@ export type DeliveryUpdateManyWithWhereWithoutMessageInput = {
|
|
|
1187
1256
|
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutMessageInput>;
|
|
1188
1257
|
};
|
|
1189
1258
|
export type DeliveryCreateWithoutOverdueInput = {
|
|
1259
|
+
journeyQualifying?: boolean | null;
|
|
1260
|
+
journeyBothCrewed?: boolean | null;
|
|
1190
1261
|
id: string;
|
|
1191
1262
|
recipientType?: string | null;
|
|
1192
1263
|
state?: $Enums.DeliveryState;
|
|
@@ -1208,6 +1279,8 @@ export type DeliveryCreateWithoutOverdueInput = {
|
|
|
1208
1279
|
events?: Prisma.EventCreateNestedManyWithoutDeliveryInput;
|
|
1209
1280
|
};
|
|
1210
1281
|
export type DeliveryUncheckedCreateWithoutOverdueInput = {
|
|
1282
|
+
journeyQualifying?: boolean | null;
|
|
1283
|
+
journeyBothCrewed?: boolean | null;
|
|
1211
1284
|
id: string;
|
|
1212
1285
|
fleetId: string;
|
|
1213
1286
|
messageId: string;
|
|
@@ -1242,6 +1315,8 @@ export type DeliveryUpdateToOneWithWhereWithoutOverdueInput = {
|
|
|
1242
1315
|
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutOverdueInput, Prisma.DeliveryUncheckedUpdateWithoutOverdueInput>;
|
|
1243
1316
|
};
|
|
1244
1317
|
export type DeliveryUpdateWithoutOverdueInput = {
|
|
1318
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1319
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1245
1320
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1246
1321
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1247
1322
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -1263,6 +1338,8 @@ export type DeliveryUpdateWithoutOverdueInput = {
|
|
|
1263
1338
|
events?: Prisma.EventUpdateManyWithoutDeliveryNestedInput;
|
|
1264
1339
|
};
|
|
1265
1340
|
export type DeliveryUncheckedUpdateWithoutOverdueInput = {
|
|
1341
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1342
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1266
1343
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1267
1344
|
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1268
1345
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1284,6 +1361,8 @@ export type DeliveryUncheckedUpdateWithoutOverdueInput = {
|
|
|
1284
1361
|
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1285
1362
|
};
|
|
1286
1363
|
export type DeliveryCreateWithoutEventsInput = {
|
|
1364
|
+
journeyQualifying?: boolean | null;
|
|
1365
|
+
journeyBothCrewed?: boolean | null;
|
|
1287
1366
|
id: string;
|
|
1288
1367
|
recipientType?: string | null;
|
|
1289
1368
|
state?: $Enums.DeliveryState;
|
|
@@ -1305,6 +1384,8 @@ export type DeliveryCreateWithoutEventsInput = {
|
|
|
1305
1384
|
overdue?: Prisma.OverdueDeliveryCreateNestedManyWithoutDeliveryInput;
|
|
1306
1385
|
};
|
|
1307
1386
|
export type DeliveryUncheckedCreateWithoutEventsInput = {
|
|
1387
|
+
journeyQualifying?: boolean | null;
|
|
1388
|
+
journeyBothCrewed?: boolean | null;
|
|
1308
1389
|
id: string;
|
|
1309
1390
|
fleetId: string;
|
|
1310
1391
|
messageId: string;
|
|
@@ -1339,6 +1420,8 @@ export type DeliveryUpdateToOneWithWhereWithoutEventsInput = {
|
|
|
1339
1420
|
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutEventsInput, Prisma.DeliveryUncheckedUpdateWithoutEventsInput>;
|
|
1340
1421
|
};
|
|
1341
1422
|
export type DeliveryUpdateWithoutEventsInput = {
|
|
1423
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1424
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1342
1425
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1343
1426
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1344
1427
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -1360,6 +1443,8 @@ export type DeliveryUpdateWithoutEventsInput = {
|
|
|
1360
1443
|
overdue?: Prisma.OverdueDeliveryUpdateManyWithoutDeliveryNestedInput;
|
|
1361
1444
|
};
|
|
1362
1445
|
export type DeliveryUncheckedUpdateWithoutEventsInput = {
|
|
1446
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1447
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1363
1448
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1364
1449
|
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1365
1450
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1381,6 +1466,8 @@ export type DeliveryUncheckedUpdateWithoutEventsInput = {
|
|
|
1381
1466
|
overdue?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1382
1467
|
};
|
|
1383
1468
|
export type DeliveryCreateManyFleetInput = {
|
|
1469
|
+
journeyQualifying?: boolean | null;
|
|
1470
|
+
journeyBothCrewed?: boolean | null;
|
|
1384
1471
|
id: string;
|
|
1385
1472
|
messageId: string;
|
|
1386
1473
|
recipientShipId?: string | null;
|
|
@@ -1400,6 +1487,8 @@ export type DeliveryCreateManyFleetInput = {
|
|
|
1400
1487
|
createdAt: Date | string;
|
|
1401
1488
|
};
|
|
1402
1489
|
export type DeliveryUpdateWithoutFleetInput = {
|
|
1490
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1491
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1403
1492
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1404
1493
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1405
1494
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -1421,6 +1510,8 @@ export type DeliveryUpdateWithoutFleetInput = {
|
|
|
1421
1510
|
overdue?: Prisma.OverdueDeliveryUpdateManyWithoutDeliveryNestedInput;
|
|
1422
1511
|
};
|
|
1423
1512
|
export type DeliveryUncheckedUpdateWithoutFleetInput = {
|
|
1513
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1514
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1424
1515
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1425
1516
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1426
1517
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1442,6 +1533,8 @@ export type DeliveryUncheckedUpdateWithoutFleetInput = {
|
|
|
1442
1533
|
overdue?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1443
1534
|
};
|
|
1444
1535
|
export type DeliveryUncheckedUpdateManyWithoutFleetInput = {
|
|
1536
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1537
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1445
1538
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1446
1539
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1447
1540
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1461,6 +1554,8 @@ export type DeliveryUncheckedUpdateManyWithoutFleetInput = {
|
|
|
1461
1554
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1462
1555
|
};
|
|
1463
1556
|
export type DeliveryCreateManyRecipientShipInput = {
|
|
1557
|
+
journeyQualifying?: boolean | null;
|
|
1558
|
+
journeyBothCrewed?: boolean | null;
|
|
1464
1559
|
id: string;
|
|
1465
1560
|
messageId: string;
|
|
1466
1561
|
recipientType?: string | null;
|
|
@@ -1479,6 +1574,8 @@ export type DeliveryCreateManyRecipientShipInput = {
|
|
|
1479
1574
|
createdAt: Date | string;
|
|
1480
1575
|
};
|
|
1481
1576
|
export type DeliveryCreateManyClaimedByShipInput = {
|
|
1577
|
+
journeyQualifying?: boolean | null;
|
|
1578
|
+
journeyBothCrewed?: boolean | null;
|
|
1482
1579
|
id: string;
|
|
1483
1580
|
messageId: string;
|
|
1484
1581
|
recipientShipId?: string | null;
|
|
@@ -1497,6 +1594,8 @@ export type DeliveryCreateManyClaimedByShipInput = {
|
|
|
1497
1594
|
createdAt: Date | string;
|
|
1498
1595
|
};
|
|
1499
1596
|
export type DeliveryUpdateWithoutRecipientShipInput = {
|
|
1597
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1598
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1500
1599
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1501
1600
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1502
1601
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -1518,6 +1617,8 @@ export type DeliveryUpdateWithoutRecipientShipInput = {
|
|
|
1518
1617
|
overdue?: Prisma.OverdueDeliveryUpdateManyWithoutDeliveryNestedInput;
|
|
1519
1618
|
};
|
|
1520
1619
|
export type DeliveryUncheckedUpdateWithoutRecipientShipInput = {
|
|
1620
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1621
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1521
1622
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1522
1623
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1523
1624
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1538,6 +1639,8 @@ export type DeliveryUncheckedUpdateWithoutRecipientShipInput = {
|
|
|
1538
1639
|
overdue?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1539
1640
|
};
|
|
1540
1641
|
export type DeliveryUncheckedUpdateManyWithoutRecipientShipInput = {
|
|
1642
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1643
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1541
1644
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1542
1645
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1543
1646
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1556,6 +1659,8 @@ export type DeliveryUncheckedUpdateManyWithoutRecipientShipInput = {
|
|
|
1556
1659
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1557
1660
|
};
|
|
1558
1661
|
export type DeliveryUpdateWithoutClaimedByShipInput = {
|
|
1662
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1663
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1559
1664
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1560
1665
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1561
1666
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -1577,6 +1682,8 @@ export type DeliveryUpdateWithoutClaimedByShipInput = {
|
|
|
1577
1682
|
overdue?: Prisma.OverdueDeliveryUpdateManyWithoutDeliveryNestedInput;
|
|
1578
1683
|
};
|
|
1579
1684
|
export type DeliveryUncheckedUpdateWithoutClaimedByShipInput = {
|
|
1685
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1686
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1580
1687
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1581
1688
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1582
1689
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1597,6 +1704,8 @@ export type DeliveryUncheckedUpdateWithoutClaimedByShipInput = {
|
|
|
1597
1704
|
overdue?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1598
1705
|
};
|
|
1599
1706
|
export type DeliveryUncheckedUpdateManyWithoutClaimedByShipInput = {
|
|
1707
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1708
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1600
1709
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1601
1710
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1602
1711
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1615,6 +1724,8 @@ export type DeliveryUncheckedUpdateManyWithoutClaimedByShipInput = {
|
|
|
1615
1724
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1616
1725
|
};
|
|
1617
1726
|
export type DeliveryCreateManyClaimedByLeaseInput = {
|
|
1727
|
+
journeyQualifying?: boolean | null;
|
|
1728
|
+
journeyBothCrewed?: boolean | null;
|
|
1618
1729
|
id: string;
|
|
1619
1730
|
messageId: string;
|
|
1620
1731
|
recipientShipId?: string | null;
|
|
@@ -1633,6 +1744,8 @@ export type DeliveryCreateManyClaimedByLeaseInput = {
|
|
|
1633
1744
|
createdAt: Date | string;
|
|
1634
1745
|
};
|
|
1635
1746
|
export type DeliveryUpdateWithoutClaimedByLeaseInput = {
|
|
1747
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1748
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1636
1749
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1637
1750
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1638
1751
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -1654,6 +1767,8 @@ export type DeliveryUpdateWithoutClaimedByLeaseInput = {
|
|
|
1654
1767
|
overdue?: Prisma.OverdueDeliveryUpdateManyWithoutDeliveryNestedInput;
|
|
1655
1768
|
};
|
|
1656
1769
|
export type DeliveryUncheckedUpdateWithoutClaimedByLeaseInput = {
|
|
1770
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1771
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1657
1772
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1658
1773
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1659
1774
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1674,6 +1789,8 @@ export type DeliveryUncheckedUpdateWithoutClaimedByLeaseInput = {
|
|
|
1674
1789
|
overdue?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1675
1790
|
};
|
|
1676
1791
|
export type DeliveryUncheckedUpdateManyWithoutClaimedByLeaseInput = {
|
|
1792
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1793
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1677
1794
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1678
1795
|
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1679
1796
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1692,6 +1809,8 @@ export type DeliveryUncheckedUpdateManyWithoutClaimedByLeaseInput = {
|
|
|
1692
1809
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1693
1810
|
};
|
|
1694
1811
|
export type DeliveryCreateManyMessageInput = {
|
|
1812
|
+
journeyQualifying?: boolean | null;
|
|
1813
|
+
journeyBothCrewed?: boolean | null;
|
|
1695
1814
|
id: string;
|
|
1696
1815
|
recipientShipId?: string | null;
|
|
1697
1816
|
recipientType?: string | null;
|
|
@@ -1710,6 +1829,8 @@ export type DeliveryCreateManyMessageInput = {
|
|
|
1710
1829
|
createdAt: Date | string;
|
|
1711
1830
|
};
|
|
1712
1831
|
export type DeliveryUpdateWithoutMessageInput = {
|
|
1832
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1833
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1713
1834
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1714
1835
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1715
1836
|
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
@@ -1731,6 +1852,8 @@ export type DeliveryUpdateWithoutMessageInput = {
|
|
|
1731
1852
|
overdue?: Prisma.OverdueDeliveryUpdateManyWithoutDeliveryNestedInput;
|
|
1732
1853
|
};
|
|
1733
1854
|
export type DeliveryUncheckedUpdateWithoutMessageInput = {
|
|
1855
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1856
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1734
1857
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1735
1858
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1736
1859
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1751,6 +1874,8 @@ export type DeliveryUncheckedUpdateWithoutMessageInput = {
|
|
|
1751
1874
|
overdue?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1752
1875
|
};
|
|
1753
1876
|
export type DeliveryUncheckedUpdateManyWithoutMessageInput = {
|
|
1877
|
+
journeyQualifying?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1878
|
+
journeyBothCrewed?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
|
|
1754
1879
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1755
1880
|
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1756
1881
|
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1801,6 +1926,8 @@ export type DeliveryCountOutputTypeCountOverdueArgs<ExtArgs extends runtime.Type
|
|
|
1801
1926
|
where?: Prisma.OverdueDeliveryWhereInput;
|
|
1802
1927
|
};
|
|
1803
1928
|
export type DeliverySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1929
|
+
journeyQualifying?: boolean;
|
|
1930
|
+
journeyBothCrewed?: boolean;
|
|
1804
1931
|
id?: boolean;
|
|
1805
1932
|
fleetId?: boolean;
|
|
1806
1933
|
messageId?: boolean;
|
|
@@ -1829,6 +1956,8 @@ export type DeliverySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1829
1956
|
_count?: boolean | Prisma.DeliveryCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1830
1957
|
}, ExtArgs["result"]["delivery"]>;
|
|
1831
1958
|
export type DeliverySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1959
|
+
journeyQualifying?: boolean;
|
|
1960
|
+
journeyBothCrewed?: boolean;
|
|
1832
1961
|
id?: boolean;
|
|
1833
1962
|
fleetId?: boolean;
|
|
1834
1963
|
messageId?: boolean;
|
|
@@ -1854,6 +1983,8 @@ export type DeliverySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exte
|
|
|
1854
1983
|
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1855
1984
|
}, ExtArgs["result"]["delivery"]>;
|
|
1856
1985
|
export type DeliverySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1986
|
+
journeyQualifying?: boolean;
|
|
1987
|
+
journeyBothCrewed?: boolean;
|
|
1857
1988
|
id?: boolean;
|
|
1858
1989
|
fleetId?: boolean;
|
|
1859
1990
|
messageId?: boolean;
|
|
@@ -1879,6 +2010,8 @@ export type DeliverySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exte
|
|
|
1879
2010
|
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1880
2011
|
}, ExtArgs["result"]["delivery"]>;
|
|
1881
2012
|
export type DeliverySelectScalar = {
|
|
2013
|
+
journeyQualifying?: boolean;
|
|
2014
|
+
journeyBothCrewed?: boolean;
|
|
1882
2015
|
id?: boolean;
|
|
1883
2016
|
fleetId?: boolean;
|
|
1884
2017
|
messageId?: boolean;
|
|
@@ -1898,7 +2031,7 @@ export type DeliverySelectScalar = {
|
|
|
1898
2031
|
readAt?: boolean;
|
|
1899
2032
|
createdAt?: boolean;
|
|
1900
2033
|
};
|
|
1901
|
-
export type DeliveryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "messageId" | "recipientShipId" | "recipientType" | "state" | "claimedByShipId" | "claimedByLeaseId" | "attempts" | "handOverNumber" | "handedOnceMoreAt" | "isForced" | "reachableShipIds" | "senderShipId" | "isInExchange" | "reachedShipId" | "readAt" | "createdAt", ExtArgs["result"]["delivery"]>;
|
|
2034
|
+
export type DeliveryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"journeyQualifying" | "journeyBothCrewed" | "id" | "fleetId" | "messageId" | "recipientShipId" | "recipientType" | "state" | "claimedByShipId" | "claimedByLeaseId" | "attempts" | "handOverNumber" | "handedOnceMoreAt" | "isForced" | "reachableShipIds" | "senderShipId" | "isInExchange" | "reachedShipId" | "readAt" | "createdAt", ExtArgs["result"]["delivery"]>;
|
|
1902
2035
|
export type DeliveryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1903
2036
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1904
2037
|
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
@@ -1935,6 +2068,8 @@ export type $DeliveryPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1935
2068
|
overdue: Prisma.$OverdueDeliveryPayload<ExtArgs>[];
|
|
1936
2069
|
};
|
|
1937
2070
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2071
|
+
journeyQualifying: boolean | null;
|
|
2072
|
+
journeyBothCrewed: boolean | null;
|
|
1938
2073
|
id: string;
|
|
1939
2074
|
fleetId: string;
|
|
1940
2075
|
messageId: string;
|
|
@@ -2045,8 +2180,8 @@ export interface DeliveryDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
2045
2180
|
* // Get first 10 Deliveries
|
|
2046
2181
|
* const deliveries = await prisma.delivery.findMany({ take: 10 })
|
|
2047
2182
|
*
|
|
2048
|
-
* // Only select the `
|
|
2049
|
-
* const
|
|
2183
|
+
* // Only select the `journeyQualifying`
|
|
2184
|
+
* const deliveryWithJourneyQualifyingOnly = await prisma.delivery.findMany({ select: { journeyQualifying: true } })
|
|
2050
2185
|
*
|
|
2051
2186
|
*/
|
|
2052
2187
|
findMany<T extends DeliveryFindManyArgs>(args?: Prisma.SelectSubset<T, DeliveryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
@@ -2087,9 +2222,9 @@ export interface DeliveryDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
2087
2222
|
* ]
|
|
2088
2223
|
* })
|
|
2089
2224
|
*
|
|
2090
|
-
* // Create many Deliveries and only return the `
|
|
2091
|
-
* const
|
|
2092
|
-
* select: {
|
|
2225
|
+
* // Create many Deliveries and only return the `journeyQualifying`
|
|
2226
|
+
* const deliveryWithJourneyQualifyingOnly = await prisma.delivery.createManyAndReturn({
|
|
2227
|
+
* select: { journeyQualifying: true },
|
|
2093
2228
|
* data: [
|
|
2094
2229
|
* // ... provide data here
|
|
2095
2230
|
* ]
|
|
@@ -2173,9 +2308,9 @@ export interface DeliveryDelegate<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
2173
2308
|
* ]
|
|
2174
2309
|
* })
|
|
2175
2310
|
*
|
|
2176
|
-
* // Update zero or more Deliveries and only return the `
|
|
2177
|
-
* const
|
|
2178
|
-
* select: {
|
|
2311
|
+
* // Update zero or more Deliveries and only return the `journeyQualifying`
|
|
2312
|
+
* const deliveryWithJourneyQualifyingOnly = await prisma.delivery.updateManyAndReturn({
|
|
2313
|
+
* select: { journeyQualifying: true },
|
|
2179
2314
|
* where: {
|
|
2180
2315
|
* // ... provide filter here
|
|
2181
2316
|
* },
|
|
@@ -2326,6 +2461,8 @@ export interface Prisma__DeliveryClient<T, Null = never, ExtArgs extends runtime
|
|
|
2326
2461
|
* Fields of the Delivery model
|
|
2327
2462
|
*/
|
|
2328
2463
|
export interface DeliveryFieldRefs {
|
|
2464
|
+
readonly journeyQualifying: Prisma.FieldRef<"Delivery", 'Boolean'>;
|
|
2465
|
+
readonly journeyBothCrewed: Prisma.FieldRef<"Delivery", 'Boolean'>;
|
|
2329
2466
|
readonly id: Prisma.FieldRef<"Delivery", 'String'>;
|
|
2330
2467
|
readonly fleetId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
2331
2468
|
readonly messageId: Prisma.FieldRef<"Delivery", 'String'>;
|